Difference between revisions of "Template:CopyText"
Template page
Views
Actions
Namespaces
Variants
Tools
(added copy text template) |
m (test) |
||
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; color: currentColor; border-color: currentColor; margin-top: -37px;" role="button" aria-disabled="false">COPY TO CLIPBOARD</span> | <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; color: currentColor; border-color: currentColor; margin-top: -37px;" role="button" aria-disabled="false" onclick="copyTextToCb()">COPY TO CLIPBOARD</span> | ||
<div style="height: 1px; margin: 2px 0 0; background: rgb(166, 166, 166); background: rgba(166, 166, 166, 0.5);"></div><span | <div style="height: 1px; margin: 2px 0 0; background: rgb(166, 166, 166); background: rgba(166, 166, 166, 0.5);"></div><span id="copy-to-clipboard-text">{{{1|}}}</span> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{CopyText|<text to copy>}} | {{CopyText|<text to copy>}} | ||
</noinclude> | </noinclude> |
Revision as of 09:44, 26 September 2021
<text to copy>