Changes

Template:RootCmd/doc

405 bytes removed, 15:26, 23 August 2012
Rework
{{Template}}
Use this template to show a shell box with a root command.
 
== Parameters ==
; Unnamed parameters (up to 10): Add commands.
; prompt (optional): Change the command prompt (default: '''root #''').
; color (optional): Change the prompt color (default: some red).
; output (optional): Add the command's output.
== Usage ==
For one command add this code to See the page texttemplate's [[Template:<pre>{{RootCmd|a command}}</pre>{{RootCmdtestcases|a command}}  One command with outputtestcases]]:<pre>{{RootCmd|a command|output=Some output}}</pre>{{RootCmd|a command|output=Some output}}{{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 colorTemplate:<pre>{{RootCmd|a command|prompt=example ?|color=blue}}</pre>{{RootCmd|a command|prompt=example ?|color=blue}}  Up to five commands:<pre>{{RootCmd|1. command|2. command...|5. command}}</pre>{{RootCmd|1. command|2. command|3. command|4. command|5. command|6. command|7. command|8. command|9. command|10. commandtestcases}}
== See also ==
* {{Tl|GenericCmd}}
* {{Tl|Cmd}}
* {{Tl|Emerge}}
<includeonly>
Anonymous user
Astaecker