Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navi: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{prefix|}}}|{{{prefix}}}}}
{{#if:{{{prefix|}}}|{{{prefix}}}}}
<span class="navi-copy"  
<span class="navi-copy" style="display:inline-block; background-color:#f0f0f0; padding:2px 5px; border-radius:3px; border:1px solid #ccc; transition: background-color 0.2s, color 0.2s;">
      style="display:inline-block;
            cursor:pointer;
            background-color:#f0f0f0;  
            padding:2px 5px;  
            border-radius:3px;
            border:1px solid #ccc;
            transition: background-color 0.2s, color 0.2s;"
      title="Click to copy coordinates"
      onclick="navigator.clipboard.writeText('{{{1}}} {{{2}}} {{{3}}}');
              this.style.backgroundColor='#d1ffd1';
              this.style.color='#000';
              setTimeout(()=>{this.style.backgroundColor='#f0f0f0'; this.style.color='#000';}, 500);">
  ({{{1}}} {{{2}}}, {{{3}}})
  ({{{1}}} {{{2}}}, {{{3}}})
</span>
</span>
Line 21: Line 9:
__NOTOC__
__NOTOC__
== Description ==
== Description ==
The purpose of this template is to turn a set of coordinates into a clickable and copyable link for use with the in-game syntax.
This template turns a set of coordinates into a clickable and copyable link for use with the in-game syntax.
== Usage ==
== Usage ==
<pre>{{Navi|MapName|X|Y}}</pre>
<pre>{{Navi|MapName|X|Y}}</pre>

Revision as of 22:26, 10 September 2025


Description

This template turns a set of coordinates into a clickable and 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 mora120212 and select the first dialogue option.