Difference between revisions of "Template:Navi"
From LeikaRO wiki
(→WIP) |
|||
Line 1: | Line 1: | ||
<includeonly><div class="navi-copy"><span class="navi-copy-text" onclick="copyNaviLink(this, {{{map}}} {{{x}}},{{{y}}});">{{{map}}} {{{x}}}, {{{y}}}</span></div></includeonly><noinclude> | <includeonly><div class="navi-copy"><span class="navi-copy-text" onclick="copyNaviLink(this, {{{map}}} {{{x}}},{{{y}}});">{{{map}}} {{{x}}}, {{{y}}}</span></div></includeonly><noinclude> | ||
+ | |||
+ | <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__ | ||
== WIP == | == WIP == | ||
Line 8: | Line 10: | ||
<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> | <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:01, 12 April 2022
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:
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:
I hate css, but I do love pasta.