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 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr> | <tr> | ||
<th class="cw-command-table-command">{{{ | <th class="cw-command-table-command">{{{command|}}}</th> | ||
<td class="cw-command-table-description">{{{ | <td class="cw-command-table-description">{{{description|}}}</td> | ||
</tr> | </tr> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Command table row|/ | {{Command table row | ||
| command = /spawn | |||
| description = Teleports you to spawn. | |||
}} | |||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"description": "Creates one row for Template:Command table.", | |||
"params": { | |||
"command": { | |||
"label": "Command", | |||
"description": "The command, permission, or short label shown in the left column.", | |||
"example": "/spawn", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"description": "The explanation shown in the larger right column.", | |||
"example": "Teleports you to spawn.", | |||
"type": "content", | |||
"required": true, | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 19:20, 4 June 2026
Usage
{{Command table row
| command = /spawn
| description = Teleports you to spawn.
}}
Creates one row for Template:Command table.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Command | command | The command, permission, or short label shown in the left column.
| String | required |
| Description | description | The explanation shown in the larger right column.
| Content | required |