Template:Infobox command: Difference between revisions
Redo with fix |
|||
| Line 5: | Line 5: | ||
{{#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 | |||
}}}} | |||
}} | }} | ||
{{infobox row|[[Permission level|Permission level<br>required]]|{{#if:{{{oplevel|}}}|{{{oplevel}}}|Unknown}}}} | {{infobox row|[[Permission level|Permission level<br>required]]|{{ | ||
#if:{{{oplevel|}}}|{{{oplevel}}}|Unknown}} {{ | |||
#ifeq: {{{oplevel|}}} | 1 | (moderator) |{{ | |||
#ifeq: {{{oplevel|}}} | 2 | (gamemaster) |{{ | |||
#ifeq: {{{oplevel|}}} | 3 | (admin) |{{ | |||
#ifeq: {{{oplevel|}}} | 4 | (owner) ||}}}}}} | |||
}}}} | |||
{{infobox row|[[Commands#Restrictions|Restrictions]]|{{ | {{infobox row|[[Commands#Restrictions|Restrictions]]|{{ | ||
#if: {{{cheat|}}} | [[Option|Cheat]] only<br> }}{{ | #if: {{{cheat|}}} | [[Option|Cheat]] only<br> }}{{ | ||