Template:Infobox command/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m Undo revision 1822434 by Dhranios (talk)
mNo edit summary
Line 33: Line 33:
<includeonly>
<includeonly>
<!-- Template categories/interwiki here -->
<!-- Template categories/interwiki here -->
[[Category:Infobox templates]]
[[ja:テンプレート:Infobox command]]
[[ko:명령어/infobox]]
[[ko:명령어/infobox]]
[[pt:Comandos/infobox]]
[[pt:Comandos/infobox]]
Line 38: Line 41:
<noinclude>
<noinclude>
<!-- Documentation categories/interwiki here -->
<!-- Documentation categories/interwiki here -->
[[ja:テンプレート:Infobox command/doc]]
[[ko:틀:Infobox command/doc]]
[[ko:틀:Infobox command/doc]]
[[pt:Comandos/infobox/doc]]
[[pt:Comandos/infobox/doc]]
</noinclude>
</noinclude>

Revision as of 13:08, 4 February 2021

This is the documentation page. It should be transcluded into Template:Infobox command. See Template:Documentation for more information.

This template provides a uniform design for the infobox on the commands page.

Parameter Function
name The commands name, defaults to the subpage name.
alias Aliases for the commands.
hidden Set to 0 for visible, or 1 for hidden
oplevel The op level as defined by server.properties. Can be 1-4 for bypass spawn protection, cheats enabled, operator and administrator respectively.

If the op level is set to 3 or 4, adds the "No command blocks by default" restriction.

nocmdblock If set, adds the "No command blocks" restriction regardless of op level.
singleplayer If set, adds the "Singleplayer only" restriction.
multiplayer If set, adds the "Multiplayer only" restriction.



ja:テンプレート:Infobox command/doc ko:틀:Infobox command/doc pt:Comandos/infobox/doc