|
|
| (71 intermediate revisions by 18 users not shown) |
| Line 1: |
Line 1: |
| {{#invoke:infobox|infobox | | {{#invoke:infobox|infobox |
| |title={{{1}}} | | |title=<code>/{{{name|{{SUBPAGENAME}}}}}</code> |
| |imagearea=none | | |imagearea=none |
| |rows= | | |rows= |
| {{#if: {{{alias|}}} | {{infobox row|class=list-style-none|Aliases|{{{alias}}} | | {{#if: {{{alias|}}} | {{infobox row|class=list-style-none|Aliases|{{{alias}}} }} }} |
| }} | |
| }} | |
| {{#if: {{{hidden|}}} | {{infobox row|class=list-style-none|Visibility|{{ | | {{#if: {{{hidden|}}} | {{infobox row|class=list-style-none|Visibility|{{ |
| #ifeq: {{{hidden|}}} | 1 | Hidden | Visible }}
| | #ifeq: {{{hidden|}}} | 1 | Hidden | Visible }}}} |
| }}
| |
| }}
| |
| {{infobox row|Restrictions|{{
| |
| #switch: {{lc:{{{2|}}}}}
| |
| |op|operator = [[Operator]]{{
| |
| #ifeq: {{{cmdblock|}}} | 0 | <br>No [[command block]]s }}
| |
| |admin|administrator = [[Administrator]]{{
| |
| #ifeq: {{{cmdblock|}}} | 0 | <br>No [[command block]]s }}
| |
| |mp|multiplayer = [[Multiplayer]]<br>[[Operator]]{{
| |
| #ifeq: {{{cmdblock|}}} | 1 || <br>No [[command block]]s }}
| |
| |None
| |
| }}
| |
| }}
| |
| {{#if: {{{3|}}} | {{infobox row|First introduced|{{version link|{{{3}}}}} {{
| |
| #if: {{{4|}}} | ({{version link|{{{4}}}}})
| |
| }} {{
| |
| #if: {{{5|}}} | <br>{{version link|{{{5}}}}} {{
| |
| #if: {{{6|}}} | ({{version link|{{{6}}}}})
| |
| }} }}
| |
| }} | {{infobox row|First introduced|?}}
| |
| }}
| |
| {{#if: {{{removed|}}} | {{infobox row|Removed|{{
| |
| #switch: {{{removed}}}
| |
| | ? | unknown = ?
| |
| | {{version link|{{{removed}}} }}
| |
| }}}}
| |
| }}
| |
| |footer={{
| |
| #if: {{{upcoming|}}}
| |
| | This command has appeared in [[development versions]], but a full update containing these features has not been released yet. [[Category:Upcoming]]
| |
| }}
| |
| }}<noinclude>
| |
| {{documentation|content=
| |
| This template provides a uniform design for the infobox on the [[commands]] page.
| |
| {{pipe escape|
| |
| {| class{{=}}"wikitable"
| |
| ! Parameter
| |
| ! Function
| |
| ! Default value
| |
| |-
| |
| | <code>1</code>
| |
| | The commands name
| |
| | N/A
| |
| |-
| |
| | <code>alias</code>
| |
| | Aliases for the commands.
| |
| |
| |
| |-
| |
| | <code>hidden</code>
| |
| | Set to 0 for visible, or 1 for hidden
| |
| |
| |
| |-
| |
| | <code>hidden</code>
| |
| | Set if
| |
| |
| |
| |-
| |
| | <code>2</code>
| |
| | Restrictions on who can use the command. Can be <code>OP</code> (operator) or <code>MP</code> (multiplayer and operator)
| |
| |
| |
| |-
| |
| | <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.
| |
| |
| |
| |-
| |
| | <code>removed</code>
| |
| | Sets the version the command was removed. If set to ? or unknown, it will display an unlinked ?
| |
| |
| |
| |}
| |
| }} | | }} |
| | | {{infobox row|[[Permission level|Permission level<br>required]]|{{#if:{{{oplevel|}}}|{{{oplevel}}}|Unknown}}}} |
| | {{infobox row|[[Commands#Restrictions|Restrictions]]|{{ |
| | #if: {{{cheat|}}} | [[Option|Cheat]] only<br> }}{{ |
| | #if: {{{serveronly|}}} | Dedicated server only<br>}}{{ |
| | #if: {{{singleplayer|}}} | [[Singleplayer]] only<br> }}{{ |
| | #if: {{{others|}}} | {{{others}}} }}{{ |
| | #if: {{{serveronly|}}}{{{singleplayer|}}}{{{cheat|}}}{{{others|}}} || None }} |
| }} | | }} |
| | | }}<includeonly></includeonly><noinclude> |
| [[Category:Infobox templates]]
| | {{documentation}} |
| </noinclude> | | </noinclude> |