Template:Infobox command/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
| <code>oplevel</code> | | <code>oplevel</code> | ||
| The op level as defined by server.properties. Can be 1-4 for bypass spawn protection, cheats enabled, operator and administrator respectively. | | 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. | |||
|- | |- | ||
| <code>singleplayer</code> | | <code>singleplayer</code> |
Revision as of 11:51, 27 January 2021
[refresh]
This is the documentation page. It should be transcluded into Template:Infobox command. See Template:Documentation for more information./doc
Permission level required |
Unknown |
---|---|
Restrictions |
None |
{ "title": "<code>/doc</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": [] }
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. |
singleplayer
|
If set, adds the "Singleplayer only" restriction. |
multiplayer
|
If set, adds the "Multiplayer only" restriction. |