More actions
(make a span) |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<span class="command-template copy">{{#inline-tooltip:/{{{1}}}|Click to copy command}}</span> | <span class="command-template copy">{{#inline-tooltip:/{{{1}}}|Click to copy command}}</span><!-- | ||
<noinclude> | --><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 16: | Line 16: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== See also == | |||
* [[Template:Copy]] | |||
</noinclude> | </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 |