Template:GenericCmd/doc: Difference between revisions
From HPC Wiki
Jump to:navigation
Jump to:search
m (Protected "Template:GenericCmd/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
|||
Line 15: | Line 15: | ||
* {{Tl|Cmd}} | * {{Tl|Cmd}} | ||
* {{Tl|RootCmd}} | * {{Tl|RootCmd}} | ||
<includeonly> | <includeonly> |
Latest revision as of 13:13, 19 April 2017
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Use this template to show a shell box with a command output.
Parameters
- Unnamed parameters (up to 10)
- Add commands.
- prompt (optional)
- Change the command prompt.
- color (optional)
- Change the prompt color.
- output (optional)
- Add the command's output.
Usage
See the template's testcases:
Parameter: unnamed | |
---|---|
Wiki code | {{GenericCmd|<pre>
command output
this
that
</pre>}}
|
Main version |
|
Sandbox version | command output
|