Template:ConsoleCommand
Template page
More actions
Template:ConsoleCommand
Renders a console command as a dark terminal-style card.
Parameters
| Parameter | Required | Description |
|---|---|---|
name |
Yes | Command name, e.g. unstuck
|
args |
No | Argument syntax, e.g. <x1> <y1> <z1>
|
desc |
No | Description text. Supports wikitext (links, bold, <code>, etc.)
|
aliases |
No | Alternate names shown in the header |
note |
No | Short note shown in the header (e.g. "Added with the Terrain Update") |
tag_launch |
No | Set to 1 to show the launch badge
|
tag_game |
No | Set to 1 to show the requires game badge
|
tag_creative |
No | Set to 1 to show the creative only badge
|
tag_host |
No | Set to 1 to show the host / sp only badge
|
tag_mp |
No | Set to 1 to show the multiplayer badge
|
tag_sp |
No | Set to 1 to show the singleplayer badge
|
Example
{{ConsoleCommand
|name=copy (example command)
|aliases=cp
|note=I am a note
|args=<x1> <y1> <z1> <x2> <y2> <z2>
|desc=Copies the area defined by [[pos1]] and [[pos2]] into the clipboard. Paste with <code>paste</code>.
|tag_game=1
|tag_creative=1
|tag_host=1
}}