Template:Terminal/doc

From ISTP Computing
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.

Template parameters

ParameterDescriptionTypeStatus
texttext

The text to display in the terminal window.

Stringrequired
skinskin

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

Stringoptional
stylestyle

Extra CSS style options for the title.

Stringoptional
iconicon

Icon to display in the title.

Default
(Depends on the skin parameter)
Stringoptional
titletitle

Title to display.

Default
(either Terminal or Command Prompt depending on skin)
Stringoptional
heightheight

Height of main text

Default
30em
Stringoptional
textstyletextstyle

Extra CSS Style options for main text.

Stringoptional

Skins

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

Markup Renders as
Default
{{terminal|text=hello}}
Terminal
win
{{terminal|text=hello|skin=win}}
mac
{{terminal|text=hello|skin=mac}}
noborder
{{terminal|text=hello|skin=noborder}}

Examples

login
Terminal


Sample sql queries
Terminal