Template:Infobox command: Difference between revisions
mNo edit summary |
m 87 revisions imported |
||
| (43 intermediate revisions by 14 users not shown) | |||
| Line 1: | Line 1: | ||
{{#invoke:infobox|infobox | |||
|title={{{name|{{SUBPAGENAME}}}}} | |title=<code>/{{{name|{{SUBPAGENAME}}}}}</code> | ||
|imagearea=none | |imagearea=none | ||
|rows= | |rows= | ||
{{#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|{{ | ||
#ifeq: {{{hidden|}}} | 1 | Hidden | Visible }}}} | |||
}} | }} | ||
{{infobox row| | {{infobox row|[[Permission level|Permission level<br>required]]|{{#if:{{{oplevel|}}}|{{{oplevel}}}|Unknown}}}} | ||
{{infobox row|Restrictions|{{ | {{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 }} | |||
#if: {{{ | |||
#if: {{{ | |||
#if: {{{ | |||
}} | }} | ||
}} | }}<includeonly></includeonly><noinclude> | ||
{{documentation}} | |||
{{documentation}} | |||
</noinclude> | </noinclude> | ||