VOOZH about

URL: https://minecraft.wiki/w/Template:Infobox_command

⇱ Template:Infobox command – Minecraft Wiki


Template:Infobox command

From Minecraft Wiki
Jump to navigation Jump to search
/Infobox command
Permission level
required
Unknown
Restrictions None
{
 "title": "<code>/Infobox command</code>",
 "rows": [
 {
 "field": "Unknown",
 "label": "(link to Permission level article, displayed as Permission level<br>required)"
 },
 {
 "field": "None",
 "label": "(link to Commands#Restrictions article, displayed as Restrictions)"
 }
 ],
 "invimages": [],
 "images": []
}
Documentation[view] [edit] [history] [purge]

This template provides a uniform infobox for all command pages.

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

[edit source]
/Infobox command
Permission level
required
Unknown
Restrictions None
{
 "title": "<code>/Infobox command</code>",
 "rows": [
 {
 "field": "Unknown",
 "label": "(link to Permission level article, displayed as Permission level<br>required)"
 },
 {
 "field": "None",
 "label": "(link to Commands#Restrictions article, displayed as Restrictions)"
 }
 ],
 "invimages": [],
 "images": []
}
{{Infobox command}}
/msg
Aliases /tell
Permission level
required
0
Restrictions None
{
 "title": "<code>/msg</code>",
 "rows": [
 {
 "field": "<!-- Command --><code ><span>/tell</span></code><!-- /Command -->",
 "label": "Aliases"
 },
 {
 "field": "0",
 "label": "(link to Permission level article, displayed as Permission level<br>required)"
 },
 {
 "field": "None",
 "label": "(link to Commands#Restrictions article, displayed as Restrictions)"
 }
 ],
 "invimages": [],
 "images": []
}
{{Infobox command
| name = msg
| alias = {{cmd|tell|link=none}}
| oplevel = 0
}}

Everything

[edit source]
/Example name
Aliases Example alias
Visibility Hidden
Permission level
required
1
Restrictions Cheat only
Dedicated server
No dedicated server
Example
{
 "title": "<code>/Example name</code>",
 "rows": [
 {
 "field": "Example alias",
 "label": "Aliases"
 },
 {
 "field": "Hidden",
 "label": "Visibility"
 },
 {
 "field": "1",
 "label": "(link to Permission level article, displayed as Permission level<br>required)"
 },
 {
 "field": "(link to Cheat article, displayed as Cheat) only<br>Dedicated server<br>No dedicated server<br>Example",
 "label": "(link to Commands#Restrictions article, displayed as Restrictions)"
 }
 ],
 "invimages": [],
 "images": []
}
{{Infobox command
| name = Example name
| alias = Example alias
| oplevel = 1
| cheat = 1
| serveronly = 1
| noserver = 1
| hidden = 1
| others = Example
}}

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the command, if it differs from the title.

Stringsuggested
Aliasesalias

Aliases for this command.

Stringoptional
Permission leveloplevel

Permission level required to execute this command.

Numbersuggested
Restricted to cheatscheats

If set, mentions that this command is only available to players with cheats.

Unknownoptional
Restricted to serversserveronly

If set, mentions that this command is only available on dedicated servers.

Unknownoptional
Not available in serversnoserver

If set, mentions that this command is not available in dedicated server.

Unknownoptional
Hiddenhidden

If set, mentions the command is hidden.

Unknownoptional
Other restrictionsothers

Any other restrictions to this command.

Stringoptional

See also

[edit source]
Minecraft
Downloadable content
Minecraft Dungeons
Minecraft Earth
Minecraft Legends
Minecraft Story Mode
Franchise
Lore
Other
Meta
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Infobox command/doc.
Retrieved from "https://minecraft.wiki/w/Template:Infobox_command?oldid=3573303"

Navigation menu