Template:Infobox command: Difference between revisions
Jump to navigation
Jump to search
m doc style |
m using {{pipe escape}}. For some reason, the module is adding a blank line before invoking, I need to look into that... |
||
| Line 23: | Line 23: | ||
{{documentation|content= | {{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. | ||
{{pipe escape| | |||
{{{ | {| 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. | |||
| | |||
|} | |||
}} | |||
}} | }} | ||
Revision as of 17:15, 20 February 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. Template:Pipe escape