Template:Terminal
Jump to navigation
Jump to search
Note: This template has been transferred from tswiki:Template:Terminal.
Parameters
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Terminal
Displays a terminal window with a set of commands.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text | The text to display in the terminal window. | String | required |
skin | skin | Sets the appearance of the terminal window. One of 'noborder', 'win' or 'mac'. | String | optional |
style | style | Extra CSS style options for the title. | String | optional |
icon | icon | Icon to display in the title.
| String | optional |
title | title | Title to display.
| String | optional |
height | height | Height of main text
| String | optional |
textstyle | textstyle | Extra CSS Style options for main text. | String | optional |
Skins
The |skin=
parameter sets the look of the terminal window:
Markup | Renders as |
---|---|
Default{{terminal|text=hello}} |
|
win{{terminal|text=hello|skin=win}} |
|
mac{{terminal|text=hello|skin=mac}} |
|
noborder{{terminal|text=hello|skin=noborder}} |
|
Examples
- login
- Sample sql queries
The above documentation is transcluded from Template:Terminal/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |