Permanently protected template

Template:Terminal

From xx network wiki
Jump to navigation Jump to search
This is a team contributed page
Crystal Clear app terminal.png Terminal
Template documentation[view] [edit] [history] [purge]

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.

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}}
Crystal Clear app terminal.png Terminal

win
{{terminal|text=hello|skin=win}}
Application xp terminal.png
Command Prompt

mac
{{terminal|text=hello|skin=mac}}
Application osx terminal.png Terminal

noborder
{{terminal|text=hello|skin=noborder}}

Examples

login
Crystal Clear app terminal.png Terminal


Sample sql queries
Crystal Clear app terminal.png Terminal