Difference between revisions of "Template:Navi"

From LeikaRO wiki
Jump to: navigation, 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>{{...")
 
Line 5: Line 5:
  
 
==Usage==
 
==Usage==
<pre>{{Navi|MapName|X|Y}}</pre>
+
<pre>{{navi|MapName|X|Y}}</pre>
 
* '''MapName''' is the map to be used.
 
* '''MapName''' is the map to be used.
 
* '''X''' is the X coordinate.
 
* '''X''' is the X coordinate.
Line 15: Line 15:
 
! 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 mora npc <nowiki>{{navi|mora|120|212}} 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 mora npc {{navi|mora|120|212}} and select the first dialogue option.
 
|}
 
|}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 03:18, 27 December 2020

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

Usage

<copylink> MapName X,Y </copylink>

  • MapName is the map to be used.
  • X is the X coordinate.
  • Y is the Y coordinate.

<copylink [text="string"]> MapName X,Y </copylink>

  • MapName is the map to be used.
  • X is the X coordinate.
  • Y is the Y coordinate.


Test:

Alchemist

MapName X,Y and select the first dialogue option.