Template:Infobox command: Difference between revisions
m accidentally lost the link |
Permission level has nothing to do with cheats, operator, or administrator. And command hiding is not related to automatic completion. |
||
| Line 4: | Line 4: | ||
|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|[[Commands#Permission level|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: {{{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: | #if: {{{nocmdblock|}}}{{{serveronly|}}}{{{singleplayer|}}}{{{cheat|}}}{{{others|}}} || None }} | ||
}} | }} | ||
}}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||