More actions
(Created page with "<div class="command-template copy">{{{1}}}</div>") |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <span class="command-template copy">{{#inline-tooltip:/{{{1}}}|Click to copy command}}</span><!-- | ||
--><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Command", | |||
"description": "The command that should display to the reader. use <angle brackets> for required parameters, and [square brackets] for optional parameters.", | |||
"example": "lwc create <type> [allowed players]", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "This template displays the provided command in code styling, and allows readers to click the command to copy it. (Chrome only.)", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
== See also == | |||
* [[Template:Copy]] | |||
</noinclude> | |||
Latest revision as of 03:41, 6 July 2023
/{{{1}}}
This template displays the provided command in code styling, and allows readers to click the command to copy it. (Chrome only.)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Command | 1 | The command that should display to the reader. use <angle brackets> for required parameters, and [square brackets] for optional parameters.
| String | required |