Template:Copy: Difference between revisions

Template page
(Created page with "<span class="command-template copy">{{#inline-tooltip:{{{1}}}|Click to copy text}}</span><!-- --><noinclude> <templatedata> { "params": { "1": { "label": "Command", "description": "The text that should display to the reader.", "example": "play.prismparty.net", "type": "string", "required": true } }, "description": "This template displays the provided text in code styling, and allows readers to click the command to copy it. (Chrome only.)", "format"...")
 
No edit summary
 
Line 7: Line 7:
"label": "Command",
"label": "Command",
"description": "The text that should display to the reader.",
"description": "The text that should display to the reader.",
"example": "play.prismparty.net",
"example": "play.woopmc.com",
"type": "string",
"type": "string",
"required": true
"required": true

Latest revision as of 18:38, 23 May 2024

{{{1}}}

This template displays the provided text in code styling, and allows readers to click the command to copy it. (Chrome only.)

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Command1

The text that should display to the reader.

Example
play.woopmc.com
Stringrequired

See also[edit]