Template:Terminal/doc

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Note: This template has been transferred from tswiki:Template:Terminal.

Parameters[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Terminal

Displays a terminal window with a set of commands.

Template parameters

Parameter Description Type Status
text text

The text to display in the terminal window.

Default
empty
Example
empty
Auto value
empty
String required
skin skin

Sets the appearance of the terminal window. One of 'noborder', 'win' or 'mac'.

Default
empty
Example
empty
Auto value
empty
String optional
style style

Extra CSS style options for the title.

Default
empty
Example
empty
Auto value
empty
String optional
icon icon

Icon to display in the title.

Default
(Depends on the skin parameter)
Example
empty
Auto value
empty
String optional
title title

Title to display.

Default
(either Terminal or Command Prompt depending on skin)
Example
empty
Auto value
empty
String optional
height height

Height of main text

Default
30em
Example
empty
Auto value
empty
String optional
textstyle textstyle

Extra CSS Style options for main text.

Default
empty
Example
empty
Auto value
empty
String optional

Skins[edit]

The |skin= parameter sets the look of the terminal window:

Markup Renders as|-
Default
{{terminal|text=hello}}
Crystal Clear app terminal.pngTerminal
Desc-i.svg
|-
win
{{terminal|text=hello|skin=win}}
Desc-i.svg
|-
mac
{{terminal|text=hello|skin=mac}}
Desc-i.svg
|-
noborder
{{terminal|text=hello|skin=noborder}}
Desc-i.svg

Examples[edit]

login
Crystal Clear app terminal.pngTerminal
Desc-i.svg


Sample sql queries
Crystal Clear app terminal.pngTerminal
Desc-i.svg