Difference between revisions of "Template:Navi"

From LeikaRO wiki
Jump to: navigation, search
 
(21 intermediate revisions by 2 users not shown)
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__
 
== 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==
 
==Usage==
<pre>{{navi|MapName|X|Y}}</pre>
+
<nowiki><copylink> MapName X,Y </copylink></nowiki>
 
* '''MapName''' is the map to be used.
 
* '''MapName''' is the map to be used.
 
* '''X''' is the X coordinate.
 
* '''X''' is the X coordinate.
 
* '''Y''' is the Y coordinate.
 
* '''Y''' is the Y coordinate.
  
 +
<nowiki><copylink [text="string"]> MapName X,Y </copylink></nowiki>
 +
 +
* '''MapName''' is the map to be used.
 +
* '''X''' is the X coordinate.
 +
* '''Y''' is the Y coordinate.
 +
 +
 +
Test:
 +
 +
<copylink> Alchemist </copylink>
  
=== Example ===
+
<copylink [text="string"]> MapName X,Y </copylink>
{|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>
+

Latest revision as of 17:58, 13 April 2022

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