Difference between revisions of "Template:CopyText"

m
added usage
m (test)
m (added usage)
Line 4: Line 4:
<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>
<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>
;Usage
<pre>
{{CopyText|<text to copy>}}
</pre>
{{CopyText|test}}
{{CopyText|test}}
</noinclude>
</noinclude>