Template:Infobox command: Difference between revisions

deprecate mp and multiplayer values of oplevel, these should be replaced with singleplayer and multiplayer arguments; host should be oplevel 3 or 4; added numeric values for oplevel all current oplevel named values need to be replaced; cmdblock was weird as it changed default, added a nocmdblock argument instead which is separated from oplevel entirely
mNo edit summary
Line 24: Line 24:
   #if: {{{oplevel|}}}{{{nocmdblock|}}}{{{multiplayer|}}}{{{singleplayer|}}} || None }}
   #if: {{{oplevel|}}}{{{nocmdblock|}}}{{{multiplayer|}}}{{{singleplayer|}}} || None }}
}}
}}
}}{{#switch: {{lc:{{{oplevel|}}}}} | op|operator|admin|administratormp|multiplayer|host = [[Category:Pages with deprecated template input|Command]] }}
}}{{#switch: {{lc:{{{oplevel|}}}}} |op|operator|admin|administrator|mp|multiplayer|host = [[Category:Pages with deprecated template input|Command]] }}
{{#if: {{{cmdblock|}}} | [[Category:Pages with deprecated template input|Command]] }}</includeonly><noinclude>
{{#if: {{{cmdblock|}}} | [[Category:Pages with deprecated template input|Command]] }}</includeonly><noinclude>
{{documentation}}[[Category:Templates with deprecated input]]
{{documentation}}[[Category:Templates with deprecated input]]
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>