Changes

Template:Cmd/doc

378 bytes removed, 13:42, 23 August 2012
Rework
{{Template}}
Use this template to show a shell box with a user command.
 
== Parameters ==
; Unnamed parameters (up to 10): Add commands.
; prompt (optional): Change the command prompt (default: '''user $''').
; color (optional): Change the prompt color (default: some green).
; output (optional): Add the command's output.
== Usage ==
For one command add this code to See the page texttemplate's [[Template:<pre>{{Cmd|a command}}</pre>{{Cmdtestcases|a command}}  One command with outputtestcases]]:<pre>{{Cmd|a command|output=Some output}}</pre>{{Cmd|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>{{Cmd|a command|prompt=example ?|color=blue}}</pre>{{Cmd|a command|prompt=example ?|color=blue}}  Up to 10 commands:<pre>{{Cmd|1. command|2. command...|10. command}}</pre>{{Cmd|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|RootCmd}}
* {{Tl|Emerge}}
<includeonly>
Anonymous user
Astaecker