Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Infobox command

Template page
Revision as of 18:40, 20 November 2025 by imported>MinecraftBedrockPlayer7
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Script error: No such module "infobox".

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header This template provides a uniform infobox for all command pages.

Usage

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 permission level.
cheat If set, adds the "Cheat only" restriction.
noserver If set, adds the "No dedicated server" restriction.
serveronly If set, adds the "Dedicated server only" restriction.
others Others restriction.

Examples

Empty

Template:Infobox command

{{Infobox command}}

Some

Template:Infobox command

{{Infobox command
| name = msg
| alias = {{cmd|tell|link=none}}
| oplevel = 0
}}

Everything

Template:Infobox command

{{Infobox command
| name = Example name
| alias = Example alias
| oplevel = 1
| cheat = 1
| serveronly = 1
| noserver = 1
| hidden = 1
| others = Example
}}

<templatedata> { "description": "Shows an infobox for a command.", "format": "block", "params": { "name": { "label": "Name", "type": "string", "description": "Name of the command, if it differs from the title.", "suggested": true }, "alias": { "label": "Aliases", "type": "string", "description": "Aliases for this command." }, "oplevel": { "label": "Permission level", "type": "number", "description": "Permission level required to execute this command.", "suggested": true }, "cheats": { "label": "Restricted to cheats", "description": "If set, mentions that this command is only available to players with cheats." }, "serveronly": { "label": "Restricted to servers", "description": "If set, mentions that this command is only available on dedicated servers." }, "noserver": { "label": "Not available in servers", "description": "If set, mentions that this command is not available in dedicated server." }, "hidden": { "label": "Hidden", "description": "If set, mentions the command is hidden." }, "others": { "label": "Other restrictions", "type": "string", "description": "Any other restrictions to this command." } } } </templatedata>

See also

Template:Infobox see also

de:Vorlage:Nutzbarkeit es:Plantilla:Infobox comando fr:Modèle:Infobox commande ja:テンプレート:Infobox command ko:틀:Infobox command lzh:模板:Infobox command nl:Sjabloon:Infobox opdracht pt:Predefinição:Infobox de comando ru:Шаблон:Карточка/Команда th:แม่แบบ:Infobox command uk:Шаблон:Картка/Команда

zh:Template:Infobox command
The above text is transcluded from Template:MC/Infobox command/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Infobox command/doc. (View all subpages of this page.)