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>{{ #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__
<includeonly>
== Description ==
<br style="clear: both;">
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.
<h2 class="copy-to-clipboard-header-text" style="font-size: 16px; border-bottom: none;">'''Copy & Pasting'''</h2><!--
 
--><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><!--
 
--><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:<!--
==Usage==
-- Insert your text in the span below: --
<pre>{{Navi|MapName|X|Y}}</pre>
-->&#32;<span class="copy-to-clipboard-text" data-text="{{{1|}}}">{{{1|}}}</span>
* '''MapName''' is the map to be used.
</includeonly><noinclude>
* '''X''' is the X coordinate.
</noinclude>
* '''Y''' is the Y coordinate.
==usage ==
 
{{{Navi|Text to copi}}}
 
=== Example ===
{|class=wikitable
! Code Used
|-
|<code>Visit the mora npc <nowiki>{{Navi|mora|120|212}} and select the first dialogue option.</nowiki></code>
|-
! Result
|-
| Visit the mora npc {{Navi|mora|120|212}} and select the first dialogue option.
|}
[[Category:Templates]]</noinclude>

Revision as of 19:27, 4 January 2025


usage

Text to copi