User:Irismus/Sandbox

Sandbox2





 * Show Battle Hunger value6 aghs - )
 * Show Curse of Avernus value2 shard -
 * Show Mist Coil value5 -

With  being the index of

[Show/Hide]

Sandbox3
{{#switch: {{lc:{{{2|}}}}}
 * aghs = {{#if:|{{#sub:{{#loop:n|0|4|/ }}|1}}| }}
 * aghstal = {{#if:{{#explode:|/|2}}|{{#sub:{{#loop:n|0|4|/{{#explode:{{#var:value}}|/|}} }}|1}}|{{#var:value}} }}


 * shard = {{#if:{{#explode:{{#var:value}}|/|2}}|{{#sub:{{#loop:n|0|4|/{{#explode:{{#var:value}}|/|}} }}|1}}|{{#var:value}} }}
 * shardtal = {{#if:{{#explode:{{#var:value}}|/|2}}|{{#sub:{{#loop:n|0|4|/{{#explode:{{#var:value}}|/|{{#var:n}}}} }}|1}}|{{#var:value}} }}


 * tal = {{Symbol|Talent}} {{#if:{{#explode:{{#var:value}}|/|2}}|{{#sub:{{#loop:n|0|4|/{{#explode:{{#var:value}}|/|{{#var:n}}}} }}|1}}|{{#var:value}} }}

}}

zh:Template:ValueColor

{{#if:|{{#if:|{{#sub:{{#loop:n|0|4|/{{#explode:|/|{{#var:n}}}} }}|1}}|{{#var:value}} }}|{{#if:|{{#sub:{{#loop:n|0|3|/{{#explode:|/|{{#var:n}}}} }}|1}}| }}}}

{{#if:{{#explode:{{#var:value}}|/|2}}|{{#sub:{{#loop:n|0|4|/<span style="font-weight:bold; color:{{color|cos_inscribed}};">{{#explode:{{#var:value}}|/|{{#var:n}}}} }}|1}}|<span style="font-weight:bold; color:{{color|cos_inscribed}};">{{#var:value}} }}

Sandbox4
Table 0

Level 0 Level 1 Level 15 Level 25 Level 30

var selectElem = document.getElementById('select') var pElem = document.getElementById('p')

// When a new is selected selectElem.addEventListener('change', function { var index = selectElem.selectedIndex;  // Add that data to the   pElem.innerHTML = 'Table ' + index; })