Template:Infobox command/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
! Default value | ! Default value | ||
|- | |- | ||
| <code> | | <code>name</code> | ||
| The commands name | | The commands name | ||
| ''Subpage name'' | | ''Subpage name'' | ||
| Line 20: | Line 20: | ||
| | | | ||
|- | |- | ||
| <code> | | <code>oplevel</code> | ||
| Restrictions on who can use the command. Can be <code>op</code> (operator), <code>admin</code> (administrator), <code>mp</code> (multiplayer and operator), or <code>host</code> | | Restrictions on who can use the command. Can be <code>op</code> (operator), <code>admin</code> (administrator), <code>mp</code> (multiplayer and operator), or <code>host</code> | ||
| | | | ||
|- | |- | ||
| <code>cmdblock</code> | | <code>cmdblock</code> | ||
| Set to 0 for no command block, or 1 for command blocks when using <code>MP</code> | | Set to 0 for no command block, or 1 for command blocks when using <code>MP</code> | ||
| Based on <code> | | Based on <code>oplevel</code> | ||
|} | |} | ||
}} | }} | ||
Revision as of 21:10, 7 September 2020
[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. Template:Pipe escape