Changes

Template:Cmd/doc

760 bytes added, 11:32, 29 September 2011
Updated
== Usage ==
Add For one command add this code to the page text:
<pre>
{{User:Astaecker/Shell|a command}}
</pre>
{{User:Astaecker/Shell|a command}}  One command with output:<pre>{{User:Astaecker/Shell|a command|output=Some output}}</pre>{{User:Astaecker/Shell|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 color:<pre>{{User:Astaecker/Shell|a command|prompt=example ?|color=blue}}</pre>{{User:Astaecker/Shell|a command|prompt=example ?|color=blue}}  Up to five commands:<pre>{{User:Astaecker/Shell|1. command|2. command|3. command|4. command|5. command}}</pre>{{User:Astaecker/Shell|1. command|2. command|3. command|4. command|5. command}}
<includeonly>[[Category:Templates]]</includeonly>
Anonymous user
Astaecker