Difference between revisions of "Template:Navi"

From HeRO Wiki
Jump to: navigation, search
(Create the Navi Template to make coordinates copiable into the in-game system.)
 
 
(8 intermediate revisions by one user 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__
+
<includeonly><span class="navi-copy" style="display: inline-block;">/navi <span>{{{1}}}</span> <span>{{{2}}}</span>/<span>{{{3}}}</span></span></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 22: Line 22:
 
|}
 
|}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>
 
Retired from: https://irowiki.org/w/index.php?title=Template:Navi&action=edit
 

Latest revision as of 15:13, 16 August 2021

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 /navi mora 120/212 and select the first dialogue option.