• 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
Line 6: Line 6:
 
     height:  {{{size|40}}}px;">[[File:Blank_square.svg|{{{size|40}}}px|link=#{{#explode:{{PAGENAME}}|/|1}} {{{1|}}} {{{2|}}}]]</span></includeonly>
 
     height:  {{{size|40}}}px;">[[File:Blank_square.svg|{{{size|40}}}px|link=#{{#explode:{{PAGENAME}}|/|1}} {{{1|}}} {{{2|}}}]]</span></includeonly>
 
<noinclude>
 
<noinclude>
Usage:
+
Used to add clickable nodes to [[Template:Event/Map]] (a call per each node).
 +
==Parameters==
 +
===[1]===
 +
Node label (A, B, etc.), should correspond to an existing [[Template:NodeInfo]] node for it to be clickable.
 +
===[2]===
 +
Difficulty (Easy, Medium, or Hard), should correspond to an existing [[Template:NodeInfo]] node for it to be clickable.
 +
===x, y===
 +
Coordinates of the node center (roughly).
 +
===size===
 +
Size (diameter) of the clickable area, defaults to 40.
 +
==Examples==
 
<pre>
 
<pre>
{{Event/MapNode|<node>|<diff>|x=<x|0>|y=<y|0>|size=<size|40>}}
+
{{Event/Map|
 +
{{Event/MapNode|A|Easy|x=...|y=...}}
 +
{{Event/MapNode|B|Easy|x=...|y=...}}
 +
...
 +
}}
 +
See [[Winter 2017 Event/E-3/Enemy patterns]] for example.
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 21:07, 29 April 2017


Used to add clickable nodes to Template:Event/Map (a call per each node).

Parameters

[1]

Node label (A, B, etc.), should correspond to an existing Template:NodeInfo node for it to be clickable.

[2]

Difficulty (Easy, Medium, or Hard), should correspond to an existing Template:NodeInfo node for it to be clickable.

x, y

Coordinates of the node center (roughly).

size

Size (diameter) of the clickable area, defaults to 40.

Examples

{{Event/Map|
{{Event/MapNode|A|Easy|x=...|y=...}}
{{Event/MapNode|B|Easy|x=...|y=...}}
...
}}
See [[Winter 2017 Event/E-3/Enemy patterns]] for example.