Template:Command table: Difference between revisions
Appearance
Created page with "<includeonly> <table class="cw-command-table"> {{{rows|}}} </table> </includeonly><noinclude> == Usage == <pre> {{Command table | rows = {{Command table row|/spawn|Teleports you to spawn.}} {{Command table row|/home|Teleports you to your home.}} }} </pre> <templatedata> { "description": "Creates a command table with a small command column and a larger description column.", "params": { "rows": { "label": "Rows", "description": "Command table rows. Use Template:..." |
Computerwhz (talk | contribs) No edit summary |
||
| Line 8: | Line 8: | ||
{{Command table | {{Command table | ||
| rows = | | rows = | ||
{{Command table row|/spawn|Teleports you to spawn.}} | {{Command table row | ||
{{Command table row|/home|Teleports you to your home.}} | | command = /spawn | ||
| description = Teleports you to spawn. | |||
}} | |||
{{Command table row | |||
| command = /home | |||
| description = Teleports you to your home. | |||
}} | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 15: | Line 21: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Creates a command table with a | "description": "Creates a command table with a command column and a larger description column.", | ||
"params": { | "params": { | ||
"rows": { | "rows": { | ||
"label": "Rows", | "label": "Rows", | ||
"description": "Command table rows. | "description": "Command table rows. Add Template:Command table row entries here.", | ||
"type": "content", | "type": "content", | ||
"required": true | "required": true, | ||
"suggested": true | |||
} | } | ||
} | } | ||
Latest revision as of 19:20, 4 June 2026
Usage
{{Command table
| rows =
{{Command table row
| command = /spawn
| description = Teleports you to spawn.
}}
{{Command table row
| command = /home
| description = Teleports you to your home.
}}
}}
Creates a command table with a command column and a larger description column.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Rows | rows | Command table rows. Add Template:Command table row entries here. | Content | required |