Template:Navi: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{ #if:{{{prefix|}}} | {{{prefix}}} }}<span class="navi-copy" style="display: inline-block;"><span>{{{1}}}</span><span>{{{2}}}</span><span>{{{3}}}</span></span>{{ #if:{{{postfix|}}} | {{{postfix}}} }}</includeonly><noinclude>__NOTOC__ == Description == The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax. ==Usage== <pre>{{Navi|MapName|X|Y}}</pre> * '''MapName''' is the map to be used. * '''X''' i..." |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="display: inline-block; position: relative;"> | |||
<button style="position: absolute; left: -25px; top: 0; padding: 2px 5px; background-color: #eee; border: 1px solid #ccc; border-radius: 3px; cursor: pointer;" | |||
onclick="navigator.clipboard.writeText('{{CONTENIDO}}'); this.innerText = 'Copied!';">Click to copy</button> | |||
{{CONTENIDO}} | |||
</span> | |||
== Description == | == Description == | ||
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax. | The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax. | ||
Line 5: | Line 9: | ||
==Usage== | ==Usage== | ||
{{Navi|Este es el texto que quiero copiar}} | |||
Revision as of 19:09, 4 January 2025
<button style="position: absolute; left: -25px; top: 0; padding: 2px 5px; background-color: #eee; border: 1px solid #ccc; border-radius: 3px; cursor: pointer;" onclick="navigator.clipboard.writeText('Template:CONTENIDO'); this.innerText = 'Copied!';">Click to copy</button> Template:CONTENIDO
Description
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.
Usage
<button style="position: absolute; left: -25px; top: 0; padding: 2px 5px; background-color: #eee; border: 1px solid #ccc; border-radius: 3px; cursor: pointer;" onclick="navigator.clipboard.writeText('Template:CONTENIDO'); this.innerText = 'Copied!';">Click to copy</button> Template:CONTENIDO
Description
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.
Usage
Template loop detected: Template:Navi