Difference between revisions of "Widget:Skill Tree"

From UnderWiki
Jump to navigation Jump to search
Line 40: Line 40:
  
 
<div id="skillcombat" class="libre" style="color: white;position: absolute;top: calc((1331 / 1744) * (1931 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);left: calc((1343 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);font-weight:bold;font-size:12px;z-index: 100;">COMBAT</div>
 
<div id="skillcombat" class="libre" style="color: white;position: absolute;top: calc((1331 / 1744) * (1931 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);left: calc((1343 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);font-weight:bold;font-size:12px;z-index: 100;">COMBAT</div>
<div id="skillmagic" class="libre" style="color: white;position: absolute;top: calc((1331 / 1744) * (1600 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);left: calc((1766 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);left: 487px;font-weight:bold;font-size:12px;z-index: 100;">MAGIC</div>
+
<div id="skillmagic" class="libre" style="color: white;position: absolute;top: calc((1331 / 1744) * (1600 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);left: calc((1766 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);font-weight:bold;font-size:12px;z-index: 100;">MAGIC</div>
 
<div id="skillstealth" class="libre" style="color: white;position: absolute;top: calc((1331 / 1744) * (1931 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);left: calc((2139 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);font-weight:bold;font-size:12px;z-index: 100;">STEALTH</div>
 
<div id="skillstealth" class="libre" style="color: white;position: absolute;top: calc((1331 / 1744) * (1931 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);left: calc((2139 / 3712) * <!--{$width|escape:'html'|default:'1024'}-->px);font-weight:bold;font-size:12px;z-index: 100;">STEALTH</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;display:flex;z-index:99;">
 
<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;display:flex;z-index:99;">

Revision as of 14:09, 9 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'.