Template:Copy: Difference between revisions

Content deleted Content added
Created page with "<noinclude> ==Usage== <pre id="copy-target"><nowiki>{{copy|copy-target}}</nowiki></pre> {{copy|copy-target}} </noinclude> <includeonly> <span data-copy-to-clipboard-target="{{{1|copy-target}}}" data-copy-to-clipboard-content-type="innerHTML" data-copy-to-clipboard-html-entities="true" data-popover-target="popover-click" data-popover-trigger="click" type="button" class="cursor-pointer text-white bg-gray-500 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue..."
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
==Usage==
==Usage==
The button will copy the text inside an element with ID.
<pre id="copy-target"><nowiki>{{copy|copy-target}}</nowiki></pre>
<pre id="copy-target"><nowiki>{{copy|copy-target}}</nowiki></pre>
{{copy|copy-target}}
{{copy|copy-target}}

Revision as of 23:28, 10 September 2024

Usage

The button will copy the text inside an element with ID.

{{copy|copy-target}}


copy



No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Element ID to copy1

no description

Stringsuggested
button textcopy

no description

Stringsuggested
button iconicon

no description

Unknownsuggested
copy textcopy text

The text to be shown in the copy bubble

Stringsuggested