Jump to content

Template:Navi: Difference between revisions

From LegacyRO Wiki
No edit summary
Tags: Manual revert Reverted
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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: {{{3|0}}} + 0}})</span><span class="naviCopied" style="display:none">Paste Ingame</span><span class="naviMap">https://db.irowiki.org/image/map/normal/{{#replace:{{{1|}}}|^\s+|\s+$|}}.png<span class="naviDot"></span></span></span>{{ #if:{{{postfix|}}} | {{{postfix}}} }}</includeonly><noinclude>__NOTOC__
<span class="navi-link" data-map="{{{1}}}" data-x="{{{2}}}" data-y="{{{3}}}" style="color: #002bb8; cursor: pointer; font-weight: bold;">({{{1}}} {{{2}}}, {{{3}}})<span class="navi-msg" style="display: none; color: green; font-size: 0.8em; margin-left: 5px;">Copied</span></span><noinclude>
== Description ==
== Uso ==
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.
{{Navi|mapa|x|y}}
 
</noinclude>
 
==Usage==
<pre>{{Navi|MapName|X|Y}}</pre>
* '''MapName''' is the map to be used.
* '''X''' is the X coordinate.
* '''Y''' is the Y coordinate.
 
 
=== Example ===
{|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 23:15, 26 January 2026

({{{1}}} {{{2}}}, {{{3}}})

Uso

(mapa x, y)