Template:Command table row: Difference between revisions
Appearance
Created page with "<includeonly> <tr> <th class="cw-command-table-command">{{{1|}}}</th> <td class="cw-command-table-description">{{{2|}}}</td> </tr> </includeonly><noinclude> == Usage == <pre> {{Command table row|/command|Description}} </pre> </noinclude>" |
Computerwhz (talk | contribs) No edit summary |
||
| Line 9: | Line 9: | ||
{{Command table row|/command|Description}} | {{Command table row|/command|Description}} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"description": "Creates one row for Template:Command table.", | |||
"params": { | |||
"1": { | |||
"label": "Command", | |||
"description": "The command, permission, or short label shown in the small left column.", | |||
"example": "/spawn", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Description", | |||
"description": "The description shown in the larger right column.", | |||
"example": "Teleports you to spawn.", | |||
"type": "content", | |||
"required": true | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Revision as of 19:13, 4 June 2026
Usage
{{Command table row|/command|Description}}
Creates one row for Template:Command table.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Command | 1 | The command, permission, or short label shown in the small left column.
| String | required |
| Description | 2 | The description shown in the larger right column.
| Content | required |