Difference between revisions of "Template:CopyText"
Template page
Views
Actions
Namespaces
Variants
Tools
m (added usage) |
m (changed margin) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{{1|}}}<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; border-radius:5px; margin-top:5px" role="button" data-clipboard-text="{{{1|}}}" aria-disabled="false">COPY TO CLIPBOARD</span></div> | ||
<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 | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
;Usage | ;Usage |
Latest revision as of 10:35, 26 September 2021
- Usage
{{CopyText|<text to copy>}}
test