Template:Infobox command: Difference between revisions

having the text show rather than numbers for "permissions" is more clear (and it is better as a restriction IYAM), moved hidden to a restriction (as it really only affects autocomplete); perhaps it's better to split oplevel into 2 arguments, 1 for bedrock and 1 for java
m accidentally lost the link
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}}} }} }}
{{infobox row|Restrictions|{{#if: {{{oplevel|}}} | {{
{{infobox row|[[Commands#Restrictions|Restrictions]]|{{#if: {{{oplevel|}}} | {{
   #switch: {{lc:{{{oplevel|}}}}}
   #switch: {{lc:{{{oplevel|}}}}}
   |1 = Bypass spawn protection
   |1 = Bypass spawn protection