Template:Infobox command: Difference between revisions
m call the module directly, category |
m doc style |
||
| Line 21: | Line 21: | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation|content= | |||
This template provides a uniform design for the infobox on the [[commands]] page. | This template provides a uniform design for the infobox on the [[commands]] page. | ||
{ | {{{!}} class="wikitable" | ||
! Parameter | ! Parameter | ||
! Function | ! Function | ||
! Default value | ! Default value | ||
{{!}}- | |||
{{!}} <code>1</code> | |||
{{!}} The commands name | |||
{{!}} N/A | |||
{{!}}- | |||
{{!}} <code>2</code> | |||
{{!}} Restrictions on who can use the command. Can be <code>OP</code> (operator) or <code>MP</code> (multiplayer and operator) | |||
{{!}} None | |||
{{!}}- | |||
{{!}} <code>3</code> | |||
{{!}} First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). | |||
{{!}} | |||
{{!}}- | |||
{{!}} <code>4</code> | |||
{{!}} First development snapshot it was seen in, requires <code>3</code>. | |||
{{!}} | |||
{{!}}- | |||
{{!}} <code>cmdblock</code> | |||
{{!}} Set to 0 for no command block, or 1 for command blocks when using <code>MP</code> | |||
{{!}} Based on <code>2</code> | |||
{{!}}- | |||
{{!}} <code>upcoming</code> | |||
{{!}} Sets the command to upcoming, adding the upcoming footer. | |||
{{!}} | |||
{{!}}} | |||
}} | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||