Difference between revisions of "Template:RootCmd"

From
Jump to: navigation, search
(Created page with "<includeonly>{{#if: {{{1|}}} |{{#if: {{{11|}}} |{{Error|RootCmd|11}} |{{GenericCmd|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|...")
 
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}
+
<noinclude>
 +
{{Template}}
 +
 
 +
'''Command executed by root.'''
 +
 
 +
==Usage==
 +
 
 +
{{ic|1=<nowiki>{{RootCmd|command}}</nowiki>}}
 +
 
 +
==Example==
 +
 
 +
{{RootCmd|reboot}}</noinclude><includeonly>{{#if: {{{1|}}}
 
|{{#if: {{{11|}}}
 
|{{#if: {{{11|}}}
 
  |{{Error|RootCmd|11}}
 
  |{{Error|RootCmd|11}}
Line 5: Line 16:
 
  }}
 
  }}
 
|{{Error|RootCmd|unnamed}}
 
|{{Error|RootCmd|unnamed}}
}}</includeonly><noinclude>
+
}}</includeonly>
{{Documentation}}
 
</noinclude>
 

Revision as of 14:54, 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 root.

Usage

{{RootCmd|command}}

Example

{{#if: reboot |{{#if:

|Template:Error
|

{{#if: reboot|

{{#if:|Too many parameters. Maximum is 10.| {{#if:root #|root # reboot {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}}

{{#if:|
|}}|reboot}}
}}

|Template:Error}}

}}

|Template:Error }}