Manjaro Difference between revisions of "Template:CopyText"

Difference between revisions of "Template:CopyText"

Template page
m (text position)
m (added radius and top)
Line 1: Line 1:
<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;" role="button" data-clipboard-text="{{{1|}}}" aria-disabled="false">COPY TO CLIPBOARD</span></div>
<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:-10px" role="button" data-clipboard-text="{{{1|}}}" aria-disabled="false">COPY TO CLIPBOARD</span></div>
</includeonly><noinclude>
</includeonly><noinclude>
;Usage
;Usage

Revision as of 10:31, 26 September 2021

Usage
{{CopyText|<text to copy>}}

testCOPY TO CLIPBOARD


Cookies help us deliver our services. By using our services, you agree to our use of cookies.