Template:Navi: Difference between revisions

From OmegaMMO
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{ #if:{{{prefix|}}} | {{{prefix}}} }}<span class="navi-copy" style="display: inline-block; color:#0099CC; cursor:pointer;" onclick="navigator.clipboard.writeText('/navi {{{1}}} {{{2}}}/{{{3}}}')"><span>({{{1}}}</span>,<span>{{{2}}}</span>,<span>{{{3}}}</span>)</span>{{ #if:{{{postfix|}}} | {{{postfix}}} }}</includeonly><noinclude>__NOTOC__
<includeonly>{{ #if:{{{prefix|}}} | {{{prefix}}} }}<span class="copy-link" style="display: inline-block; color:#0099CC; cursor:pointer;" data-text-to-copy="/navi {{{1}}} {{{2}}}/{{{3}}}"><span>({{{1}}}</span>,<span>{{{2}}}</span>,<span>{{{3}}}</span>)</span>{{ #if:{{{postfix|}}} | {{{postfix}}} }}
</includeonly><noinclude>__NOTOC__
== 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.

Revision as of 00:55, 21 May 2025

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

{{Navi|MapName|X|Y}}
  • MapName is the map to be used.
  • X is the X coordinate.
  • Y is the Y coordinate.


Example

Code Used
Visit the mora npc {{Navi|mora|120|212}} and select the first dialogue option.
Result
Visit the mora npc (mora,120,212)
and select the first dialogue option.