Changes

Jump to navigation Jump to search
m
Text replacement - "tt>" to "samp>"
Line 4: Line 4:     
== Template parameters ==
 
== Template parameters ==
* <tt>command</tt> - The command name; if it has aliases, separate with commas. Clearest name should be listed first.
+
* <samp>command</samp> - The command name; if it has aliases, separate with commas. Clearest name should be listed first.
* <tt>params</tt> - Any parameters, separated by commas. Use the [[Template:T/doc|T template]] for required parameters and [[Template:O/doc|O template]] for optional ones. If there are no parameters, the ''Syntax'' line will not be printed.
+
* <samp>params</samp> - Any parameters, separated by commas. Use the [[Template:T/doc|T template]] for required parameters and [[Template:O/doc|O template]] for optional ones. If there are no parameters, the ''Syntax'' line will not be printed.
* <tt>desc</tt> - The full description.
+
* <samp>desc</samp> - The full description.
* <tt>example</tt> - Any examples, separated by semi-colons. These should include the full command (including "debug") in a code block along with a description of the expected result.
+
* <samp>example</samp> - Any examples, separated by semi-colons. These should include the full command (including "debug") in a code block along with a description of the expected result.
    
== Examples: ==
 
== Examples: ==
Line 119: Line 119:  
<!-- new row with anchor -->
 
<!-- new row with anchor -->
 
|- id="{{anchorencode:{{#arrayindex:com_list|0}}}}"
 
|- id="{{anchorencode:{{#arrayindex:com_list|0}}}}"
<!-- print command and aliases in <tt>, one per line -->
+
<!-- print command and aliases in <samp>, one per line -->
|<tt>{{#arrayprint:com_list|,<br/>}}</tt>
+
|<samp>{{#arrayprint:com_list|,<br/>}}</samp>
 
||
 
||
 
<!-- Next syntax, if necessary -->
 
<!-- Next syntax, if necessary -->
105,700

edits

Navigation menu