Difference between revisions of "Template:Cmd"
| Line 1: | Line 1: | ||
| − | <includeonly>{{#if: {{{1|}}} | + | <noinclude> |
| + | {{Template}} | ||
| + | |||
| + | '''Command executed by regular user.''' | ||
| + | |||
| + | ==Usage== | ||
| + | |||
| + | {{ic|1=<nowiki>{{Cmd|command}}</nowiki>}} | ||
| + | |||
| + | ==Example== | ||
| + | |||
| + | {{Cmd|pwd}}</noinclude><includeonly>{{#if: {{{1|}}} | ||
|{{#if: {{{11|}}} | |{{#if: {{{11|}}} | ||
|{{Error|Cmd|11}} | |{{Error|Cmd|11}} | ||
| − | |{{GenericCmd|{{{1 | + | |{{GenericCmd|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|prompt={{{prompt|user $}}}|color={{{color|#4E9A06}}}|output={{{output|}}}}} |
}} | }} | ||
|{{Error|Cmd|unnamed}} | |{{Error|Cmd|unnamed}} | ||
| − | }}</includeonly | + | }}</includeonly> |
| − | |||
| − | |||
Revision as of 14:57, 3 March 2023
This page is a template. It contains no information, but should be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.Command executed by regular user.
Usage
{{Cmd|command}}
Example
{{#if: pwd |{{#if:
|Template:Error |
{{#if: pwd|
}}
|Template:Error }}