• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Map/ImageNode"

From Kancolle Wiki
Jump to navigation Jump to search
m
m
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span class="map-node" style="
+
<includeonly><span {{#if:{{{drops|}}}|class="tooltip"}} style="left:{{#expr:{{{x|0}}} - 40 / 2 round 0}}px;top:{{#expr:{{{y|0}}} - 40 / 2 round 0}}px">[[#{{{3|{{#explode:{{PAGENAME}}|/|1}}}}} {{{1|}}} {{{2|}}}| ]]{{#if:{{{drops|}}}|<span class="tooltiptext">{{{drops}}}</span>}}</span></includeonly><noinclude>See [[Template:Map/Image]].</noinclude>
    position: absolute;
 
    left:     {{#expr:{{{x|0}}} - {{{size|40}}} / 2 round 0}}px;
 
    top:     {{#expr:{{{y|0}}} - {{{size|40}}} / 2 round 0}}px;
 
    width:    {{{size|40}}}px;
 
    height:  {{{size|40}}}px;">[[File:Blank_square.svg|{{{size|40}}}px|link=#{{#explode:{{PAGENAME}}|/|1}} {{{1|}}} ({{{2|}}})]]</span></includeonly>
 
<noinclude>
 
Usage:
 
<pre>
 
{{Event/MapNode|<node>|<diff>|x=<x|0>|y=<y|0>|size=<size|40>}}
 
</pre>
 
</noinclude>
 

Latest revision as of 19:13, 20 June 2022