Difference between revisions of "Template:CopyText"
Template page
Views
Actions
Namespaces
Variants
Tools
m (added usage) |
m (edited style) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<br style="clear: both;"> | <br style="clear: both;"> | ||
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}} copy-to-clipboard-button" style="float: right; cursor: pointer | <span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}} copy-to-clipboard-button" style="float: right; cursor: pointer;" role="button" data-clipboard-text="{{{1|}}}" aria-disabled="false">COPY TO CLIPBOARD</span></div><span id="copy-to-clipboard-text">{{{1|}}}</span> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
;Usage | ;Usage |
Revision as of 10:24, 26 September 2021
- Usage
{{CopyText|<text to copy>}}
test