Difference between revisions of "Widget:Skill Tree"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
</noinclude><includeonly><div style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 1744px);position:relative;"> | </noinclude><includeonly><div style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 1744px);position:relative;"> | ||
− | <div id="skillmagic01<!--{$seed|escape:'html'|default:'1'}-->" style="position: absolute;width:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 128px);height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 128px);left:calc((1794 / 3712) * <!--{$width|escape:'html'|default:'1024'}--> | + | <div id="skillmagic01<!--{$seed|escape:'html'|default:'1'}-->" style="position: absolute;width:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 128px);height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 3712) * 128px);left:calc((1794 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);top:calc((1331 / 1744) * (1744 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);display:none;background-size:cover;background-image: url('http://underwiki.com/images/9/93/Magic_Skill_active.png');<!--{if isset($poilink)}-->cursor: pointer;<!--{/if}-->z-index:2<!--{$seed|escape:'html'|default:'1'}-->"> </div> |
<div id="skillmap<!--{$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;<!--{if isset($imagemap)}-->display:flex;z-index:99;<!--{else}-->display:none;<!--{/if}-->"> | <div id="skillmap<!--{$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;<!--{if isset($imagemap)}-->display:flex;z-index:99;<!--{else}-->display:none;<!--{/if}-->"> |
Revision as of 22:36, 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'.