Template:Navi: Difference between revisions

From Wiki Age of Discovery
Jump to navigation Jump to search
Midas (talk | contribs)
No edit summary
Midas (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
<span style="display: inline-block; position: relative;">
<br style="clear: both;">
  <button class="copy-button" onclick="navigator.clipboard.writeText('{{CONTENIDO}}'); this.innerText = 'Copied!';">Copiar</button>
<h2 class="copy-to-clipboard-header-text" style="font-size: 16px; border-bottom: none;">'''Copy & Pasting'''</h2><!--
  <span class="copy-notification">Texto copiado</span>
--><span class="copy-to-clipboard-button wds-button wds-is-secondary wds-is-squished" style="float: right; cursor: pointer; color: currentColor; border-color: currentColor; margin-top: -37px;" data-text="{{{1|}}}">Copy to clipboard</span><!--
  {{CONTENIDO}}
--><div style="height: 1px; margin: 2px 0 0; background: rgb(166, 166, 166); background: rgba(166, 166, 166, 0.5);"></div>Click on the "COPY TO CLIPBOARD" button, to copy the following text:<!--
</span>
-- Insert your text in the span below: --
<style>
-->&#32;<span class="copy-to-clipboard-text" data-text="{{{1|}}}">{{{1|}}}</span>
/* ... tus estilos CSS aquí ... */
</includeonly><noinclude>
</style>
</noinclude>
==usage ==
{{{Navi|Text to copi}}}

Revision as of 19:36, 4 January 2025

 <button class="copy-button" onclick="navigator.clipboard.writeText('Template:CONTENIDO'); this.innerText = 'Copied!';">Copiar</button>
 Texto copiado
 Template:CONTENIDO

<style> /* ... tus estilos CSS aquí ... */ </style>