Template:Infobox command: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Setting imagearea to none skips a larger chunk of code |
||
| Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
|title={{{1}}} | |title={{{1}}} | ||
| | |imagearea=none | ||
|rows= | |rows= | ||
{{infobox row | {{infobox row|Restrictions|{{ | ||
#switch: {{lc:{{{2|}}}}} | #switch: {{lc:{{{2|}}}}} | ||
|op = [[Operator]]{{ | |op = [[Operator]]{{ | ||
Revision as of 11:01, 12 August 2014
{{{1}}}
| Restrictions |
None |
|---|
{
"title": "{{{1}}}",
"rows": [
{
"field": "None",
"label": "Restrictions"
}
],
"invimages": [],
"images": []
}
This template provides a uniform design for the infobox on the commands page.
| Parameter | Function | Default value |
|---|---|---|
1
|
The commands name | N/A |
2
|
Restrictions on who can use the command. Can be OP (operator) or MP (multiplayer and operator)
|
None |
3
|
First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). | |
4
|
First development snapshot it was seen in, requires 3.
|
|
cmdblock
|
Set to 0 for no command block, or 1 for command blocks when using MP
|
Based on 2
|
upcoming
|
Sets the command to upcoming, adding the upcoming footer. |