Changes

Template:Hero Ability

163 bytes added, 14 December
Damage Type: Adding a trans background, no padding and margin and the code executes only if element exists. Testing br after each if condition
|-
|''Damage Type:''
| style="text-align: right; background-color: transparent; padding: 0; margin: 0;" |{{{Element}}} <br/>{{#if: {{{Element|}}} | {{#ifeq: {{lc:{{{Element}}}}} | magical | [[Magical]] }}<br /> {{#ifeq: {{lc:{{{Element}}}}} | physical | [[Physical]] }}<br /> {{#ifeq: {{lc:{{{Element}}}}} | poison | [[Elements#Poison| Magical Poison]]}}<br /> {{#ifeq: {{lc:{{{Element}}}}} | fire | [[Elements#Fire|Magical Fire]]}}<br /> {{#ifeq: {{lc:{{{Element}}}}} | water | [[Elements#Water|Magical Water]]}}<br /> {{#ifeq: {{lc:{{{Element}}}}} | storm | [[Elements#Storm|Magical Storm]]}}<br /> {{#ifeq: {{lc:{{{Element}}}}} | frost | [[Elements#Frost|Magical Frost]]}}<br />}}
|-
|''Damage Scalar:''
WikiDefender
716
edits