Difference between revisions of "Template:Navi"

From LeikaRO wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div class="naviText" onclick="copyNaviLink(this, {{map}},{{x}},{{y}})">{{{map}}} {{{x}}}, {{{y}}}</div></includeonly><noinclude>
+
<includeonly><div class="navi-copy>"<div class="navi-copy-text" onclick="copyNaviLink(this, {{map}},{{x}},{{y}})">{{{map}}} {{{x}}}, {{{y}}}</div></div></includeonly><noinclude>
  
 
== WIP ==
 
== WIP ==
Line 6: Line 6:
  
 
Test:
 
Test:
 +
 +
<div class="navi-copy"><div class="navi-copy-text" onclick="CopyNaviLink(this, 'mora','120','212');">(mora 120, 212)</div><div class="navi-copied" style="display:none;">Fettuccine..!</div></div>
  
  

Revision as of 21:02, 14 December 2021


WIP

Just figuring out how this work

Test:


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


I hate css, but I do love pasta.