Template:Infobox command: Difference between revisions
several repeated infoboxes on the commands page, so I will merge them into one. Subpage since it will only be used here (that I know of). There was also a typo here or there |
m using more unnamed parameters |
||
| Line 4: | Line 4: | ||
|rows= | |rows= | ||
{{infobox row|class=list-style-none|Restrictions|{{ | {{infobox row|class=list-style-none|Restrictions|{{ | ||
#switch: {{lc:{{{ | #switch: {{lc:{{{2|}}}}} | ||
|op = [[Operator]] | |op = [[Operator]] | ||
|mp = [[Multiplayer]]<br>[[Operator]] | |mp = [[Multiplayer]]<br>[[Operator]] | ||
| Line 12: | Line 12: | ||
#if: {{{cmdblock|}}} | <br>No [[command block]]s }} | #if: {{{cmdblock|}}} | <br>No [[command block]]s }} | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{3|}}} | {{infobox row|First introduced|{{version link|{{{3}}}}} {{ | ||
#if: {{{ | #if: {{{4|}}} | ({{version link|{{{4}}}}}) | ||
}}}} | }}}} | ||
}} | }} | ||
| Line 32: | Line 32: | ||
| N/A | | N/A | ||
|- | |- | ||
| <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> | | <code>3</code> | ||
| | | First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). | ||
| ''None'' | | ''None'' | ||
|- | |- | ||
| <code> | | <code>4</code> | ||
| First | | First development snapshot it was seen in, requires firstver. | ||
| ''None'' | | ''None'' | ||
|- | |- | ||
| <code> | | <code>cmdblock</code> | ||
| | | If set, adds the restriction "No [[command block]]s" | ||
| ''None'' | | ''None'' | ||
|- | |- | ||