Difference between revisions of "Widget:Skill Tree"

From UnderWiki
Jump to navigation Jump to search
Line 17: Line 17:
 
   <area shape="circle" coords="1858,1395,64" onMouseOver="document.getElementById('skillmagic01<!--{$seed|escape:'html'|default:'1'}-->').style.display="flex")';" onMouseOut="document.getElementById('skillmagic01<!--{$seed|escape:'html'|default:'1'}-->').style.display="none")';" href="http://underwiki.com/wiki/Mage_Sight">
 
   <area shape="circle" coords="1858,1395,64" onMouseOver="document.getElementById('skillmagic01<!--{$seed|escape:'html'|default:'1'}-->').style.display="flex")';" onMouseOut="document.getElementById('skillmagic01<!--{$seed|escape:'html'|default:'1'}-->').style.display="none")';" href="http://underwiki.com/wiki/Mage_Sight">
 
</map></div>
 
</map></div>
<div id="skillbase<!--{$seed|escape:'html'|default:'1'}-->" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 1744px);position:absolute;top:0;left:0;z-index:1;background-image: url('http://underwiki.com/images/5/5a/Skill_Tree.png');<!--{if isset($base)}-->display:none;<!--{else}-->display:flex;background-size:cover;<!--{/if}-->">&nbsp;</div>
+
<div id="skillbase<!--{$seed|escape:'html'|default:'1'}-->" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 1744px);position:absolute;top:0;left:0;z-index:1;background-image: url('http://underwiki.com/images/5/5a/Skill_Tree.png');<!--{if isset($base)}-->display:flex;<!--{else}-->display:flex;background-size:cover;<!--{/if}-->">&nbsp;</div>
 
</div></includeonly>
 
</div></includeonly>

Revision as of 22:30, 3 April 2019

This widget inserts an imagemap of the skills.

Parameters

width
Width of the skills pane, in pixels. Default is 1024 pixels.

Special Parameters

seed
If included more than once on a page, you can override this value so the imagemap and layers are controlled separately in each. The default seed value is '0'.