Jump to content

Template:Navi

From LegacyRO Wiki
Revision as of 13:23, 26 January 2026 by Neru (talk | contribs) (Created page with "<includeonly>{{ #if:{{{prefix|}}} | {{{prefix}}} }}<span class="naviBlock" title="Click here to copy to the clipboard, then paste in game" data-map="{{#replace:{{{1|}}}|^\s+|\s+$|}}" data-x="{{#expr: {{{2|0}}} + 0}}" data-y="{{#expr: {{{3|0}}} + 0}}"><span class="naviClickable" id="naviTextarea" data-navi="/navi {{#replace:{{{1|}}}|^\s+|\s+$|}} {{#expr: {{{2|0}}} + 0}}/{{#expr: {{{3|0}}} + 0}}">({{#replace:{{{1|}}}|^\s+|\s+$|}} {{#expr: {{{2|0}}} + 0}}/{{#expr: {{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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
{{{prefix}}} }}({{#replace:mora|^\s+|\s+$|}} {{#expr: 120 + 0}}/{{#expr: 212 + 0}})https://db.irowiki.org/image/map/normal/{{#replace:mora%7C^\s+%7C\s+$%7C}}.png{{ #if: | {{{postfix}}} }} and select the first dialogue option.