Template:Infobox command: Difference between revisions

From Modded Wiki
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"
{{{!}} 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.
|
{{!}}
|}
{{!}}}
 
}}


[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 22:09, 15 January 2015

{{{1}}}
Restrictions

None

[edit] [history] [refresh]Documentation

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.