Template:Infobox command: Difference between revisions
Jump to navigation
Jump to search
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> |
Revision as of 22:09, 15 January 2015
{{{1}}}
Restrictions |
None |
---|
{ "title": "{{{1}}}", "rows": [ { "field": "None", "label": "Restrictions" } ], "invimages": [], "images": [] }
This template provides a uniform design for the infobox on the commands page.
Parameter | Function | Default value |
---|---|---|
1
|
The commands name | N/A |
2
|
Restrictions on who can use the command. Can be OP (operator) or MP (multiplayer and operator)
|
None |
3
|
First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). | |
4
|
First development snapshot it was seen in, requires 3 .
|
|
cmdblock
|
Set to 0 for no command block, or 1 for command blocks when using MP
|
Based on 2
|
upcoming
|
Sets the command to upcoming, adding the upcoming footer. |