User:Irismus/Template:Ability

    Ability

{{#if:{{{charges|}}}{{{charges tal|}}}{{{charges aghs|}}}{{{charges shard|}}} {{{replenishtime|}}}{{{replenishtime tal|}}}{{{replenishtime aghs|}}}{{{replenishtime shard|}}} {{{cooldown|}}}{{{cooldown tal|}}}{{{cooldown aghs|}}}{{{cooldown shard|}}} {{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}{{{mana per second|}}}{{{currentmana|}}{{{currentmana aghs|}}{{{currentmana shard|}}{{{maxmana|}}}{{{maxmana aghs|}}}{{{maxmana shard|}}} {{#if:{{{charges|}}}{{{charges tal|}}}{{{charges aghs|}}}{{{charges shard|}}}|

{{Symbol|Charge Replenish Time|size=20px}} {{#if:{{{replenishtime|}}}|{{#dplreplace:{{{replenishtime|}}}|#(?<!<)/#|/ }}}}{{#if:{{{replenishtime tal|}}}|&#32; {{#if:{{{replenishtime|}}}|(}}{{#var:taltext}}{{{replenishtime tal|}}} {{#if:{{{replenishtime|}}}|)}} }}{{#if:{{{replenishtime aghs|}}}{{{replenishtime shard|}}}|&#32; {{#if:{{{replenishtime|}}}{{{replenishtime tal|}}}|(}}{{#if:{{{replenishtime aghs|}}}|{{#var:aghstext}}{{{replenishtime aghs}}} {{#if:{{{replenishtime aghs tal|}}}|{{#if:{{{replenishtime|}}}{{{replenishtime tal|}}}|, &#32;|&#32; (}} {{#var:aghstaltext}}{{{replenishtime aghs tal}}} {{#if:{{{replenishtime|}}}{{{replenishtime tal|}}}||)}}}}|{{#var:shardtext}}{{{replenishtime shard}}} {{#if:{{{replenishtime shard tal|}}}|{{#if:{{{replenishtime|}}}{{{replenishtime tal|}}}|, &#32;|&#32; (}} {{#var:shardtaltext}}{{{replenishtime shard tal}}} {{#if:{{{replenishtime|}}}{{{replenishtime tal|}}}||)}}}}}}{{#if:{{{replenishtime|}}}{{{replenishtime tal|}}}|)}} }}  N {{#if:{{{charges|}}}|{{#dplreplace:{{{charges|}}}|#(?<!<)/#|/ }}}}{{#if:{{{charges tal|}}}|&#32; {{#if:{{{charges|}}}|(}}{{#var:taltext}}{{{charges tal|}}} {{#if:{{{charges|}}}|)}} }}{{#if:{{{charges aghs|}}}{{{charges shard|}}}|&#32; {{#if:{{{charges|}}}{{{charges tal|}}}|(}}{{#if:{{{charges aghs|}}}|{{#var:aghstext}}{{{charges aghs}}} {{#if:{{{charges aghs tal|}}}|{{#if:{{{charges|}}}{{{charges tal|}}}|, &#32;|&#32; (}} {{#var:aghstaltext}}{{{charges aghs tal}}} {{#if:{{{charges|}}}{{{charges tal|}}}||)}}}}|{{#var:shardtext}}{{{charges shard}}} {{#if:{{{charges shard tal|}}}|{{#if:{{{charges|}}}{{{charges tal|}}}|, &#32;|&#32; (}} {{#var:shardtaltext}}{{{charges shard tal}}} {{#if:{{{charges|}}}{{{charges tal|}}}||)}}}}}}{{#if:{{{charges|}}}{{{charges tal|}}}|)}} }}    }} {{#if:{{{cooldown|}}}{{{cooldown tal|}}}{{{cooldown aghs|}}}{{{cooldown shard|}}}| {{Symbol|Cooldown|size=20px}} {{#if:{{{cooldown|}}}|{{#dplreplace:{{{cooldown|}}}|#(?<!<)/#|/ }}}}{{#if:{{{cooldown tal|}}}|&#32; {{#if:{{{cooldown|}}}|(}}{{#var:taltext}}{{{cooldown tal|}}} {{#if:{{{cooldown|}}}|)}} }}{{#if:{{{cooldown aghs|}}}{{{cooldown shard|}}}|&#32; {{#if:{{{cooldown|}}}{{{cooldown tal|}}}|(}}{{#if:{{{cooldown aghs|}}}|{{#var:aghstext}}{{{cooldown aghs}}} {{#if:{{{cooldown aghs tal|}}}|{{#if:{{{cooldown|}}}{{{cooldown tal|}}}|, &#32;|&#32; (}} {{#var:aghstaltext}}{{{cooldown aghs tal}}} {{#if:{{{cooldown|}}}{{{cooldown tal|}}}||)}}}}|{{#var:shardtext}}{{{cooldown shard}}} {{#if:{{{cooldown shard tal|}}}|{{#if:{{{cooldown|}}}{{{cooldown tal|}}}|, &#32;|&#32; (}} {{#var:shardtaltext}}{{{cooldown shard tal}}} {{#if:{{{cooldown|}}}{{{cooldown tal|}}}||)}}}}}}{{#if:{{{cooldown|}}}{{{cooldown tal|}}}|)}} }} }} {{#if:{{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}{{{mana per second|}}}{{{currentmana|}}{{{currentmana aghs|}}{{{currentmana shard|}}{{{maxmana|}}}{{{maxmana aghs|}}}{{{maxmana shard|}}}| {{#ifeq:{{lc:{{{healthcost}}}}}|true|{{Symbol|Health|size=20px}}|{{Symbol|Mana|size=20px}}}} {{#switch:1 | {{#if:{{{mana|}}}|1}} = {{#dplreplace:{{{mana|}}}|#(?<!<)/#|/ }} {{#if:{{{mana tal|}}}|({{#var:taltext}}{{{mana tal|}}} )}} {{#if:{{{mana aghs|}}}{{{mana shard|}}}|&#32; {{#if:{{{mana|}}}{{{mana tal|}}}|(}}{{#if:{{{mana aghs|}}}|{{#var:aghstext}}{{{mana aghs}}} {{#if:{{{mana aghs tal|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}|, &#32;|&#32; (}} {{#var:aghstaltext}}{{{mana aghs tal}}} {{#if:{{{mana|}}}{{{mana tal|}}}||)}}}}|{{#var:shardtext}}{{{mana shard}}} {{#if:{{{mana shard tal|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}|, &#32;|&#32; (}} {{#var:shardtaltext}}{{{mana shard tal}}} {{#if:{{{mana|}}}{{{mana tal|}}}||)}}}}}}{{#if:{{{mana|}}}{{{mana tal|}}}|)}} }} {{#if:{{{mana per second|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}| }}{{#if:{{{mana|}}}| + }}{{#dplreplace:{{{mana per second|}}}|#(?<!<)/#|/ }}{{sub|/ second}}}}{{#if:{{{mana per second aghs|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}| }}{{#if:{{{mana|}}}|{{#if:{{{mana per second|}}}|| + }}}}{{#var:aghstext}}{{#dplreplace:{{{mana per second aghs|}}}|#(?<!<)/#|/ }} {{sub|/ second}}}}{{#if:{{{mana per second shard|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}| }}{{#if:{{{mana|}}}|{{#if:{{{mana per second|}}}|| + }}}}{{#var:shardtext}}{{#dplreplace:{{{mana per second shard|}}}|#(?<!<)/#|/ }} {{sub|/ second}}}}{{#if:{{{mana per second tal|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}| }}{{#if:{{{mana|}}}|{{#if:{{{mana per second|}}}|| + }}}}{{#var:taltext}}{{#dplreplace:{{{mana per second tal|}}}|#(?<!<)/#|/ }} {{sub|/ second}}}}{{#if:{{{currentmana|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}{{{mana per second|}}}{{{mana per second aghs|}}}| }}{{#if:{{{mana|}}}| + }}{{{currentmana}}} of {{tooltip|Current|(Current) / Max}} Mana }}{{#if:{{{maxmana|}}}|{{#if:{{{mana|}}}{{{mana tal|}}}{{{mana aghs|}}}{{{mana shard|}}}{{{mana per second|}}}{{{mana per second aghs|}}}| }}{{#if:{{{mana|}}}| + }}{{{maxmana}}} of {{tooltip|Max|Current / (Max)}} Mana }} | {{#if:{{{mana tal|}}}|1}} = {{#if:{{{mana tal|}}}|{{#var:taltext}}{{{mana tal|}}} }} | {{#if:{{{mana aghs|}}}|1}} = {{#if:{{{mana aghs|}}}|{{#var:aghstext}}{{{mana aghs|}}} }} {{#if:{{{mana aghs tal|}}}|({{#var:aghstaltext}}{{{mana aghs tal|}}} )}} | {{#if:{{{mana shard|}}}|1}} = {{#if:{{{mana shard|}}}|{{#var:shardtext}}{{{mana shard|}}} }} {{#if:{{{mana shard tal|}}}|({{#var:shardtaltext}}{{{mana shard tal|}}} )}} | {{#if:{{{mana per second|}}}|1}} = {{{mana per second|}}}{{sub|/ second}} | {{#if:{{{currentmana|}}}|1}} = {{{currentmana|}}} {{tooltip|Current|(Current) / Max}} Mana | {{#if:{{{currentmana aghs|}}}|1}} = {{#var:aghstext}}{{{currentmana aghs|}}} {{tooltip|Current|(Current) / Max}} Mana | {{#if:{{{currentmana shard|}}}|1}} = {{#var:shardtext}}{{{currentmana shard|}}} {{tooltip|Current|(Current) / Max}} Mana | {{#if:{{{currentmana tal|}}}|1}} = {{#var:taltext}}{{{currentmana tal|}}} {{tooltip|Current|(Current) / Max}} Mana | {{#if:{{{maxmana|}}}|1}} = {{{maxmana|}}} {{tooltip|Current|Current / (Max)}} Mana | {{#if:{{{maxmana aghs|}}}|1}} = {{#var:aghstext}}{{{maxmana aghs|}}} {{tooltip|Current|Current / (Max)}} Mana | {{#if:{{{maxmana shard|}}}|1}} = {{#var:shardtext}}{{{maxmana shard|}}} {{tooltip|Current|Current / (Max)}} Mana | {{#if:{{{maxmana tal|}}}|1}} = {{#var:taltext}}{{{maxmana tal|}}} {{tooltip|Current|Current / (Max)}} Mana }} }} {{#if:{{{health|}}}{{{health tal|}}}{{{health aghs|}}}{{{health shard|}}}{{{health per second|}}}| {{Symbol|Health|size=20px}} {{#switch:1 | {{#if:{{{health|}}}|1}} = {{#dplreplace:{{{health|}}}|#(?<!<)/#|/ }} {{#if:{{{health tal|}}}|({{#var:taltext}}{{{health tal|}}} )}} {{#if:{{{health aghs|}}}{{{health shard|}}}|&#32; {{#if:{{{health|}}}{{{health tal|}}}|(}}{{#if:{{{health aghs|}}}|{{#var:aghstext}}{{{health aghs}}} {{#if:{{{health aghs tal|}}}|{{#if:{{{health|}}}{{{health tal|}}}|, &#32;|&#32; (}} {{#var:aghstaltext}}{{{health aghs tal}}} {{#if:{{{health|}}}{{{health tal|}}}||)}}}}|{{#var:shardtext}}{{{health shard}}} {{#if:{{{health shard tal|}}}|{{#if:{{{health|}}}{{{health tal|}}}|, &#32;|&#32; (}} {{#var:shardtaltext}}{{{health shard tal}}} {{#if:{{{health|}}}{{{health tal|}}}||)}}}}}}{{#if:{{{health|}}}{{{health tal|}}}|)}} }} {{#if:{{{health per second|}}}|{{#if:{{{health|}}}{{{health tal|}}}{{{health aghs|}}}{{{health shard|}}}| }}{{#if:{{{health|}}}| + }}{{#dplreplace:{{{health per second|}}}|#(?<!<)/#|/ }}{{sub|/ second}}}}{{#if:{{{health per second aghs|}}}|{{#if:{{{health|}}}{{{health tal|}}}{{{health aghs|}}}{{{health shard|}}}| }}{{#if:{{{health|}}}|{{#if:{{{health per second|}}}|| + }}}}{{#var:aghstext}}{{#dplreplace:{{{health per second aghs|}}}|#(?<!<)/#|/ }} {{sub|/ second}}}}{{#if:{{{health per second shard|}}}|{{#if:{{{health|}}}{{{health tal|}}}{{{health aghs|}}}{{{health shard|}}}| }}{{#if:{{{health|}}}|{{#if:{{{health per second|}}}|| + }}}}{{#var:shardtext}}{{#dplreplace:{{{health per second shard|}}}|#(?<!<)/#|/ }} {{sub|/ second}}}}{{#if:{{{health per second tal|}}}|{{#if:{{{health|}}}{{{health tal|}}}{{{health aghs|}}}{{{health shard|}}}| }}{{#if:{{{health|}}}|{{#if:{{{health per second|}}}|| + }}}}{{#var:taltext}}{{#dplreplace:{{{health per second tal|}}}|#(?<!<)/#|/ }} {{sub|/ second}}}}{{#if:{{{currenthealth|}}}|{{#if:{{{health|}}}{{{health tal|}}}{{{health aghs|}}}{{{health shard|}}}{{{health per second|}}}{{{health per second aghs|}}}| }}{{#if:{{{health|}}}| + }}{{{currenthealth}}} of {{tooltip|Current|(Current) / Max}} Health }}{{#if:{{{maxhealth|}}}|{{#if:{{{health|}}}{{{health tal|}}}{{{health aghs|}}}{{{health shard|}}}{{{health per second|}}}{{{health per second aghs|}}}| }}{{#if:{{{health|}}}| + }}{{{maxhealth}}} of {{tooltip|Max|Current / (Max)}} Health }} | {{#if:{{{health tal|}}}|1}} = {{#if:{{{health tal|}}}|{{#var:taltext}}{{{health tal|}}} }} | {{#if:{{{health aghs|}}}|1}} = {{#if:{{{health aghs|}}}|{{#var:aghstext}}{{{health aghs|}}} }} {{#if:{{{health aghs tal|}}}|({{#var:aghstaltext}}{{{health aghs tal|}}} )}} | {{#if:{{{health shard|}}}|1}} = {{#if:{{{health shard|}}}|{{#var:shardtext}}{{{health shard|}}} }} {{#if:{{{health shard tal|}}}|({{#var:shardtaltext}}{{{health shard tal|}}} )}} | {{#if:{{{health per second|}}}|1}} = {{{health per second|}}}{{sub|/ second}} | {{#if:{{{currenthealth|}}}|1}} = {{{currenthealth|}}} {{tooltip|Current|(Current) / Max}} Health | {{#if:{{{maxhealth|}}}|1}} = {{{maxhealth|}}} {{tooltip|Current|Current / (Max)}} Health }}  }} }}{{#if:{{{aghanimsupgrade|}}}{{{aghshard|}}}|{{#if:{{{aghanimsupgrade|}}}| {{Symbol|Aghanimalt|size=22px}} Aghanim's Scepter Upgrade: {{#ifeq:{{#explode:{{{aghanimsupgrade}}}|;|0}}|{{lc:new}}| New Ability }}   {{#ifeq:{{#explode:{{{aghanimsupgrade|}}}|;|0}}|{{lc:new}}|Grants the &#39;|'}}#{{#explode:{{{aghanimsupgrade|}}}|;|1}}| {{#explode:{{{aghanimsupgrade|}}}|;|1}} ability.|{{{aghanimsupgrade|}}}}}{{#if:{{#explode:{{{aghanimsupgrade|}}}|;|2}}| {{#explode:{{{aghanimsupgrade|}}}|;|2}}}} }}{{#if:{{{aghshard|}}}| {{Symbol|Aghshardalt|size=22px}} Aghanim's Shard Upgrade: {{#ifeq:{{#explode:{{{aghshard}}}|;|0}}|{{lc:new}}| New Ability }}   {{#ifeq:{{#explode:{{{aghshard|}}}|;|0}}|{{lc:new}}|Grants the &#39;|'}}#{{#explode:{{{aghshard|}}}|;|1}}| {{#explode:{{{aghshard|}}}|;|1}} ability.|{{{aghshard|}}}}}{{#if:{{#explode:{{{aghshard|}}}|;|2}}| {{#explode:{{{aghshard|}}}|;|2}}}} }} }}{{#if:{{{bkbtext1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(255, 246, 103, 0.07); padding:5px 10px 2px; text-align:left; margin-top:5px; border:1px solid rgba(186, 181, 100, 0.2);"> {{Symbol|bkb|{{{bkbblock|yes}}}|size=20px}} <div style="display:table-cell; {{#var:notesshadow}}"> Spell Immunity Notes: {{#while:|{{{bkbtext{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}|  {{#switch:{{#explode:{{{bkbtext{{#var:n}}|}}}|;|1}} | tal = {{Symbol|Talent}} | aghs = {{Symbol|Aghanimalt|size=20px}} | shard = {{Symbol|Aghshardalt|size=20px}} | #default = }} <div style="display:table-cell; {{#if:{{#explode:{{{bkbtext{{#var:n}}|}}}|;|1}}|font-weight:bold; color:{{Color|{{#switch:{{#explode:{{{bkbtext{{#var:n}}|}}}|;|1}}|tal=Talent|aghs=Aghanims|shard=Aghshard}}}};}} margin:auto;">{{#explode:{{{bkbtext{{#var:n}}|}}}|;|0}} }} }}{{#if:{{{linkentext1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(25, 131, 204, 0.2); padding:5px 10px 2px; text-align:left; margin-top:{{#if:{{{bkbtext1|}}}|-3px|5px}}; border:1px solid rgba(66, 135, 245, 0.3);"> {{Symbol|linken|{{{linkenblock|yes}}}|size=20px}} <div style="display:table-cell; {{#var:notesshadow}}">Spell Block / Reflection Notes: {{#vardefine:n}}{{#while:|{{{linkentext{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}|  {{#switch:{{#explode:{{{linkentext{{#var:n}}|}}}|;|1}} | tal = {{Symbol|Talent}} | aghs = {{Symbol|Aghanimalt|size=20px}} | shard = {{Symbol|Aghshardalt|size=20px}} | #default = }} <div style="display:table-cell; {{#if:{{#explode:{{{linkentext{{#var:n}}|}}}|;|1}}|font-weight:bold; color:{{Color|{{#switch:{{#explode:{{{linkentext{{#var:n}}|}}}|;|1}}|tal=Talent|aghs=Aghanims|shard=Aghshard}}}};}} margin:auto;">{{#explode:{{{linkentext{{#var:n}}|}}}|;|0}} }} }}{{#if:{{{breaktext1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(53, 29, 91, 0.3); padding:5px 10px 2px; text-align:left; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}|-3px|5px}}; border:1px solid rgba(205, 204, 235, 0.3);"> {{Symbol|break|{{{breakable|yes}}}|size=20px}} <div style="display:table-cell; {{#var:notesshadow}}">Break Notes: {{#vardefine:n}}{{#while:|{{{breaktext{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}|  {{#switch:{{#explode:{{{breaktext{{#var:n}}|}}}|;|1}} | tal = {{Symbol|Talent}} | aghs = {{Symbol|Aghanimalt|size=20px}} | shard = {{Symbol|Aghshardalt|size=20px}} | #default = }} <div style="display:table-cell; {{#if:{{#explode:{{{breaktext{{#var:n}}|}}}|;|1}}|font-weight:bold; color:{{Color|{{#switch:{{#explode:{{{breaktext{{#var:n}}|}}}|;|1}}|tal=Talent|aghs=Aghanims|shard=Aghshard}}}};}} margin:auto;">{{#explode:{{{breaktext{{#var:n}}|}}}|;|0}} }}

}}{{#if:{{{disjointtext1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(13, 9, 76, 0.3); padding:5px 10px 2px; text-align:left; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}|-3px|5px}}; border:1px solid rgba(128, 117, 223, 0.3);"> {{Symbol|disjoint|{{{disjointable|yes}}}|size=20px}} <div style="display:table-cell; {{#var:notesshadow}}">Ability Disjoint Notes: {{#vardefine:n}}{{#while:|{{{disjointtext{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}| {{#switch:{{#explode:{{{disjointtext{{#var:n}}|}}}|;|1}} | tal = {{Symbol|Talent}} | aghs = {{Symbol|Aghanimalt|size=20px}} | shard = {{Symbol|Aghshardalt|size=20px}} | #default = }} <div style="display:table-cell; {{#if:{{#explode:{{{disjointtext{{#var:n}}|}}}|;|1}}|font-weight:bold; color:{{Color|{{#switch:{{#explode:{{{disjointtext{{#var:n}}|}}}|;|1}}|tal=Talent|aghs=Aghanims|shard=Aghshard}}}};}} margin:auto;">{{#explode:{{{disjointtext{{#var:n}}|}}}|;|0}} }} }}{{#if:{{{illusiontext1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(35, 73, 102, 0.2); padding:5px 10px 2px; text-align:left; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}{{{disjointtext1|}}}|-3px|5px}}; border:1px solid rgba(212, 233, 254, 0.3);"> {{Symbol|illusion|{{{illusionuse|yes}}}|size=20px}} <div style="display:table-cell; {{#var:notesshadow}}">Illusion Notes: {{#vardefine:n}}{{#while:|{{{illusiontext{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}|  {{#switch:{{#explode:{{{illusiontext{{#var:n}}|}}}|;|1}} | tal = {{Symbol|Talent}} | aghs = {{Symbol|Aghanimalt|size=20px}} | shard = {{Symbol|Aghshardalt|size=20px}} | #default = }} <div style="display:table-cell; {{#if:{{#explode:{{{illusiontext{{#var:n}}|}}}|;|1}}|font-weight:bold; color:{{Color|{{#switch:{{#explode:{{{illusiontext{{#var:n}}|}}}|;|1}}|tal=Talent|aghs=Aghanims|shard=Aghshard}}}};}} margin:auto;">{{#explode:{{{illusiontext{{#var:n}}|}}}|;|0}} }} }}{{#if:{{{roottext1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(128, 75, 44, 0.2); padding:5px 10px 2px; text-align:left; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}{{{disjointtext1|}}}{{{illusiontext1|}}}|-3px|5px}}; border:1px solid rgba(201, 150, 124, 0.3);"> {{Symbol|root|{{{rootdisable|yes}}}|size=20px}} <div style="display:table-cell; {{#var:notesshadow}}"> Root  Notes: {{#vardefine:n}}{{#while:|{{{roottext{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}|  {{#switch:{{#explode:{{{roottext{{#var:n}}|}}}|;|1}} | tal = {{Symbol|Talent}} | aghs = {{Symbol|Aghanimalt|size=20px}} | shard = {{Symbol|Aghshardalt|size=20px}} | #default = }} <div style="display:table-cell; {{#if:{{#explode:{{{roottext{{#var:n}}|}}}|;|1}}|font-weight:bold; color:{{Color|{{#switch:{{#explode:{{{roottext{{#var:n}}|}}}|;|1}}|tal=Talent|aghs=Aghanims|shard=Aghshard}}}};}} margin:auto;">{{#explode:{{{roottext{{#var:n}}|}}}|;|0}} }} }}{{#if:{{{oncasttext1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(7, 22, 16, 0.2); padding:5px 10px 2px; text-align:left; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}{{{disjointtext1|}}}{{{illusiontext1|}}}{{{roottext1|}}}|-3px|5px}}; border:1px solid rgba(135, 196, 167, 0.3);"> {{Symbol|on cast proc|size=20px}} <div style="display:table-cell; {{#var:notesshadow}}"> Cast Event  Notes:  {{#vardefine:n}}{{#while:|{{{oncasttext{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}|  {{#switch:{{#explode:{{{oncasttext{{#var:n}}|}}}|;|1}} | tal = {{Symbol|Talent}} | aghs = {{Symbol|Aghanimalt|size=20px}} | shard = {{Symbol|Aghshardalt|size=20px}} | #default = }} <div style="display:table-cell; {{#if:{{#explode:{{{oncasttext{{#var:n}}|}}}|;|1}}|font-weight:bold; color:{{Color|{{#switch:{{#explode:{{{oncasttext{{#var:n}}|}}}|;|1}}|tal=Talent|aghs=Aghanims|shard=Aghshard}}}};}} margin:auto;">{{#explode:{{{oncasttext{{#var:n}}|}}}|;|0}} }} }}{{#if:{{{buff1|}}}{{{debuff1|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; max-width:100%; background:rgba(76, 175, 80, 0.07); padding:5px 10px 2px; text-align:left; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}{{{disjointtext1|}}}{{{illusiontext1|}}}{{{roottext1|}}}{{{oncasttext1|}}}|-3px|5px}}; border:1px solid rgba(128, 200, 131, 0.2);">  {{#if:{{{game|}}}|Modifiers| Modifiers [{{tooltip|?|The displayed names are the intern names of the modifiers. Do not change them even if they don't match the ability or hero name.}}]}} {{#vardefine:n}}{{#while:|{{{buff{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}| <div style="display:table-cell; padding:0px 5px; width:400px; max-width:100%; font-weight:bold; color:#{{#ifeq:{{{buff{{#var:n}}}}}|{{{debuff{{#var:n}}}}}|CCA400|319D31}};">{{#if:{{{buff{{#var:n}}text|}}}|{{tooltip|{{{buff{{#var:n}}}}}|{{{buff{{#var:n}}text}}}}}|{{{buff{{#var:n}}}}}}} {{#switch:{{lc:{{{buff{{#var:n}}dispel}}}}} }}{{#vardefine:n}}{{#while:|{{{debuff{{#vardefineecho:n|{{#expr:{{#var:n}}+1}}}}|}}}| {{#ifeq:{{{buff{{#var:n}}}}}|{{{debuff{{#var:n}}}}}|| <div style="display:table-cell; padding:0px 5px; width:400px; max-width:100%; font-weight:bold; color:#9D3131;"> {{#if:{{{debuff{{#var:n}}text|}}}|{{tooltip|{{{debuff{{#var:n}}}}}|{{{debuff{{#var:n}}text}}}}}|{{{debuff{{#var:n}}}}}}} {{#switch:{{lc:{{{debuff{{#var:n}}dispel}}}}} {{{adtext|}}} }}{{#if:{{{adtext aghs|}}}| {{Symbol|Aghanimalt|size=20px}} {{{adtext aghs|}}} }}{{#if:{{{adtext shard|}}}| {{Symbol|Aghshardalt|size=20px}} {{{adtext shard|}}} }}{{#if:{{{adtext tal|}}}| {{Symbol|Talent alt|size=18px}} {{{adtext tal|}}} }} }}{{#if:{{{subability|}}}{{{linkedability|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; font-size:85%; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}{{{disjointtext1|}}}{{{illusiontext1|}}}{{{roottext1|}}}{{{buff1|}}}{{{debuff1|}}}{{{adtext|}}}{{{adtext aghs|}}}{{{adtext shard|}}}{{{adtext tal|}}}|-3px|5px}}; max-width:100%; background:{{Color|{{Show|A|{{#replace:{{#if:{{#explode:{{{linkedability|}}}|&|1}}|{{#explode:{{{linkedability|}}}|&|1}}|{{BASEPAGENAME}}}}|&#39;|'}}|{{#if:{{{subability|}}}|{{{subability|}}}|{{#explode:{{{linkedability|}}}|&|0}}}}|type}}}}; color:white; text-align:left; padding:5px 10px 2px; border:1px solid rgba(80, 80, 80, 0.2);">{{#if:{{{subability|}}}| {{Symbol|a_sub|size=20px}} Sub-ability  of {{{subability|}}}. }}{{#if:{{{linkedability|}}}| {{Symbol|a_linked|size=20px}} Both {{{name|}}} and {{#if:{{#explode:{{{linkedability|}}}|&|1}}|{{#explode:{{{linkedability|}}}|&|0}}|{{{linkedability|}}}}} are linked abilities. }} }}{{#if:{{{lore|}}}|<div class="ability-lore" style="margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}{{{disjointtext1|}}}{{{illusiontext1|}}}{{{roottext1|}}}{{{oncasttext1|}}}{{{buff1|}}}{{{debuff1|}}}{{{adtext|}}}{{{adtext aghs|}}}{{{adtext shard|}}}{{{adtext tal|}}}{{{subability|}}}{{{linkedability|}}}|-3px|5px}};"><div style="display:inline-block; width:{{#var:noteboxwidth}}; margin-top:5px; padding:2px 10px 5px; text-align:center;">{{#tag:nowiki|{{{lore|}}}}} }} {{#if:{{{notes|}}}| {{#if:{{{attachments|}}}{{{unit wrapper|}}}| {{{attachments|}}}{{#if:{{{unit wrapper|}}}| {{Unit infobox wrapper|unit={{{unit wrapper|}}}}}}} }} {{cf|Notes}} {{{notes}}}{{#if:{{{stealnotes|}}}|* {{cf|Stealnotes}}{{#ifeq:{{{stealnotes|}}}|{{{morphnotes|}}}| / {{cf|Morphnotes}}}} {{{stealnotes}}}}}{{#if:{{{morphnotes|}}}|{{#ifeq:{{{stealnotes|}}}|{{{morphnotes|}}}||* {{cf|Morphnotes}} {{{morphnotes}}}}}}}{{#if:{{{bindnotes|}}}|* {{cf|Bindnotes}} {{{bindnotes}}}}} }}   {{Doc}}
 * any = Any
 * basic = Basic
 * strong = Strong
 * death = {{tooltip|Death|Dispellable with Death only.}}
 * none = {{tooltip|Undispellable|Persists death.}}
 * #default = Unknown}}
 * any = Any
 * basic = Basic
 * strong = Strong
 * death = {{tooltip|Death|Dispellable with Death only.}}
 * none = {{tooltip|Undispellable|Persists death.}}
 * #default = Unknown}} }}}}  }}{{#if:{{{adtext|}}}{{{adtext aghs|}}}{{{adtext shard|}}}|<div style="display:inline-block; width:{{#var:noteboxwidth}}; margin-top:{{#if:{{{bkbtext1|}}}{{{linkentext1|}}}{{{breaktext1|}}}{{{disjointtext1|}}}{{{illusiontext1|}}}{{{roottext1|}}}{{{oncasttext1|}}}{{{buff1|}}}{{{debuff1|}}}|-3px|5px}}; font-size:85%; max-width:100%; background:#1C1444; text-align:left; padding:5px 10px 2px; border:1px solid #505050; color:#D9E0E8;">  {{Symbol|AD|size=20px}}  Ability Draft Notes:   {{#if:{{{adtext|}}}|