Template:Infobox command: Difference between revisions

From Modded Wiki
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"
{| class{{=}}"wikitable"
! Parameter
! Parameter
! Function
! Function
! Default value
! Default value
{{!}}-
|-
{{!}} <code>1</code>
| <code>1</code>
{{!}} The commands name
| The commands name
{{!}} N/A
| N/A
{{!}}-
|-
{{!}} <code>2</code>
| <code>2</code>
{{!}} Restrictions on who can use the command. Can be <code>OP</code> (operator) or <code>MP</code> (multiplayer and operator)
| Restrictions on who can use the command. Can be <code>OP</code> (operator) or <code>MP</code> (multiplayer and operator)
{{!}} None
| None
{{!}}-
|-
{{!}} <code>3</code>
| <code>3</code>
{{!}} First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a).
| First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a).
{{!}}
|
{{!}}-
|-
{{!}} <code>4</code>
| <code>4</code>
{{!}} First development snapshot it was seen in, requires <code>3</code>.
| First development snapshot it was seen in, requires <code>3</code>.
{{!}}
|
{{!}}-
|-
{{!}} <code>cmdblock</code>
| <code>cmdblock</code>
{{!}} Set to 0 for no command block, or 1 for command blocks when using <code>MP</code>
| Set to 0 for no command block, or 1 for command blocks when using <code>MP</code>
{{!}} Based on <code>2</code>
| Based on <code>2</code>
{{!}}-
|-
{{!}} <code>upcoming</code>
| <code>upcoming</code>
{{!}} Sets the command to upcoming, adding the upcoming footer.
| Sets the command to upcoming, adding the upcoming footer.
{{!}}
|
{{!}}}
|}
}}


}}
}}

Revision as of 17:15, 20 February 2015

{{{1}}}
Restrictions

None

[edit] [history] [refresh]Documentation

This template provides a uniform design for the infobox on the commands page. Template:Pipe escape