Template:Infobox command: Difference between revisions
m Removed protection from "Template:Infobox command" |
m 87 revisions imported |
||
| (11 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{#invoke:infobox|infobox | |||
|title=<code>/{{{name|{{SUBPAGENAME}}}}}</code> | |||
|imagearea=none | |||
|rows= | |||
{{#if: {{{alias|}}} | {{infobox row|class=list-style-none|Aliases|{{{alias}}} }} }} | |||
{{#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|[[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> | |||
{{documentation}} | |||
</noinclude> | |||
< | |||