Template:Terminal/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Terminal. It contains usage information, categories and other content that is not part of the original template page. |
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