|
|
| Line 1: |
Line 1: |
| <includeonly>{{ #if:{{{prefix|}}} | {{{prefix}}} }}<span class="naviBlock" title="Click here to copy to the clipboard, then paste in game" data-map="{{#replace:{{{1|}}}|^\s+|\s+$|}}" data-x="{{#expr: {{{2|0}}} + 0}}" data-y="{{#expr: {{{3|0}}} + 0}}"><span class="naviClickable" id="naviTextarea" data-navi="/navi {{#replace:{{{1|}}}|^\s+|\s+$|}} {{#expr: {{{2|0}}} + 0}}/{{#expr: {{{3|0}}} + 0}}">({{#replace:{{{1|}}}|^\s+|\s+$|}} {{#expr: {{{2|0}}} + 0}}/{{#expr: {{{3|0}}} + 0}})</span><span class="naviCopied" style="display:none">Paste Ingame</span><span class="naviMap">https://legacymmorpg.com/database/?module=map&action=view&map={{#replace:{{{1|}}}|^\s+|\s+$|}}.png<span class="naviDot"></span></span></span>{{ #if:{{{postfix|}}} | {{{postfix}}} }}</includeonly><noinclude>__NOTOC__
| | <span |
| == Description ==
| | style="cursor:pointer;color:#0073e6;font-weight:bold;" |
| The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.
| | onclick="copiarNavi('{{{mapa}}}', '{{{y}}}', '{{{x}}}')" |
| | | title="Clique para copiar /navi"> |
| | | {{{nome|{{{mapa}}} ({{{y}}}, {{{x}}})}}} |
| ==Usage==
| | </span> |
| <pre>{{Navi|MapName|X|Y}}</pre>
| |
| * '''MapName''' is the map to be used.
| |
| * '''X''' is the X coordinate.
| |
| * '''Y''' is the Y coordinate.
| |
| | |
| | |
| === 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 selc
| |
| |}
| |
| [[Category:Templates]]</noinclude>
| |
Revision as of 14:47, 26 January 2026
{{{mapa}}} ({{{y}}}, {{{x}}})