Template:Cmd/doc

From stoney cloud
< Template:Cmd
Revision as of 12:32, 29 September 2011 by Astaecker (Talk)

Jump to: navigation, search

Use this template to show a shell box with a user command.

Usage

For one command add this code to the page text:

{{User:Astaecker/Shell|a command}}

User:Astaecker/Shell


One command with output:

{{User:Astaecker/Shell|a command
|output=Some output}}

User:Astaecker/Shell

Note
output - as a named parameter - is optional and can additional be used in the following examples. This is also true for all following named parameters.


One command with user defined prompt and color:

{{User:Astaecker/Shell|a command
|prompt=example ?
|color=blue}}

User:Astaecker/Shell


Up to five commands:

{{User:Astaecker/Shell|1. command
|2. command
|3. command
|4. command
|5. command
}}

User:Astaecker/Shell