Tip of the Day
Skill levels exceeding a recipe's main skill requirement in the crafting interface provide additional Crafting outcome.

Template:CopyButton: Difference between revisions

From Walkscape Walkthrough
No edit summary
mNo edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<span>{{{DisplayText}}}
<span>{{{DisplayText}}}{{#tag:clippy|{{{CopiedText}}}}}</span>
{{#tag:clippy|{{{CopiedText}}}}}
</span>
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"DisplayText": {
"description": "The text to display.",
"type": "string",
"required": true
},
"CopiedText": {
"description": "The text to be added to the clipboard.",
"type": "string",
"required": true
}
},
"description": "Creates a button for a 1 click copy of payload data.",
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 02:27, 16 November 2025


Creates a button for a 1 click copy of payload data.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
DisplayTextDisplayText

The text to display.

Stringrequired
CopiedTextCopiedText

The text to be added to the clipboard.

Stringrequired