Template:Infobox command: Difference between revisions
Undo revision 2379350 by MarkusRost (talk) I should go sleep |
rollback to 2222709, except the category |
||
| 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 | {{infobox row|[[Permission level|Permission level<br>required]]|{{#if:{{{oplevel|}}}|{{{oplevel}}}|Unknown}}}} | ||
}}}} | |||
{{infobox row|[[Commands#Restrictions|Restrictions]]|{{ | {{infobox row|[[Commands#Restrictions|Restrictions]]|{{ | ||
#if: {{{cheat|}}} | [[Option|Cheat]] only<br | #if: {{{cheat|}}} | [[Option|Cheat]] only<br> }}{{ | ||
#if: {{{serveronly|}}} | Dedicated server only<br | #if: {{{serveronly|}}} | Dedicated server only<br>}}{{ | ||
#if: {{{singleplayer|}}} | [[Singleplayer]] only<br | #if: {{{singleplayer|}}} | [[Singleplayer]] only<br> }}{{ | ||
#if: {{{others|}}} | {{{others}}} }}{{ | #if: {{{others|}}} | {{{others}}} }}{{ | ||
#if: {{{serveronly|}}}{{{singleplayer|}}}{{{cheat|}}}{{{others|}}} || None }} | #if: {{{serveronly|}}}{{{singleplayer|}}}{{{cheat|}}}{{{others|}}} || None }} | ||