Template:Infobox command: Difference between revisions
Add dating parameters |
|||
| Line 1: | Line 1: | ||
{{#invoke:infobox|infobox | <includeonly>{{#invoke:infobox|infobox | ||
|title={{{name|{{SUBPAGENAME}}}}} | |title={{{name|{{SUBPAGENAME}}}}} | ||
|imagearea=none | |imagearea=none | ||
|rows= | |rows= | ||
{{#if: {{{alias|}}} | {{ | {{#if: {{{alias|}}} | {{infobox row|class=list-style-none|Aliases|{{{alias}}} }} }} | ||
{{#if: {{{hidden|}}} | {{ | {{#if: {{{hidden|}}} | {{infobox row|class=list-style-none|Visibility|{{ | ||
#ifeq: {{{hidden|}}} | 1 | Hidden | Visible }}}} | #ifeq: {{{hidden|}}} | 1 | Hidden | Visible }}}} | ||
}} | }} | ||
{{ | {{infobox row|[[Permission level]] required|{{#if:{{{oplevel|}}}|{{{oplevel}}}|Unknown}}}} | ||
{{infobox row|[[Commands#Restrictions|Restrictions]]|{{ | |||
#if: {{{nocmdblock|}}} | No [[command block]]s<br> }}{{ | |||
#if: {{{cheat|}}} | [[Option|Cheat]] only<br> }}{{ | |||
{{ | #if: {{{serveronly|}}} | Dedicated server only<br>}}{{ | ||
#if: {{{nocmdblock|}}} | No [[command block]]s<br | #if: {{{singleplayer|}}} | [[Singleplayer]] only<br> }}{{ | ||
#if: {{{cheat|}}} | [[Option|Cheat]] only<br | |||
#if: {{{serveronly|}}} | Dedicated server only<br | |||
#if: {{{singleplayer|}}} | [[Singleplayer]] only<br | |||
#if: {{{others|}}} | {{{others}}} }}{{ | #if: {{{others|}}} | {{{others}}} }}{{ | ||
#if: {{{nocmdblock|}}}{{{serveronly|}}}{{{singleplayer|}}}{{{cheat|}}}{{{others|}}} || None }} | #if: {{{nocmdblock|}}}{{{serveronly|}}}{{{singleplayer|}}}{{{cheat|}}}{{{others|}}} || None }} | ||
}} | }} | ||
}}</includeonly><noinclude> | |||
}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||