Tip of the Day
If there's maintenance, don't worry, usually your steps will still count during the downtime. Check the Discord announcements to be sure!

Template:CopyButton: Difference between revisions

From Walkscape Walkthrough
No edit summary
mNo edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#tag:clippy
<span>{{{DisplayText}}}{{#tag:clippy|{{{CopiedText}}}}}</span>
|{{{CopiedText}}}
|show=false
}}
</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