Template:Navi: Difference between revisions

From OmegaMMO
No edit summary
 
(2 intermediate revisions by the same user not shown)
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.
Line 15: Line 16:
! Code Used
! Code Used
|-
|-
|<code>Visit the mora npc <nowiki>{{Navi|mora|120|212}} and select the first dialogue option.</nowiki></code>
|<code>Visit the prontera npc <nowiki>{{Navi|prontera|150|112}} and select the first dialogue option.</nowiki></code>
|-
|-
! Result
! Result
|-
|-
| Visit the mora npc {{Navi|mora|120|212}} and select the first dialogue option.
| Visit the prontera npc {{Navi|prontera|150|112}} and select the first dialogue option.
|}
|}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 00:58, 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 prontera npc {{Navi|prontera|150|112}} and select the first dialogue option.
Result
Visit the prontera npc (prontera,150,112)
and select the first dialogue option.