Changes

Template:Hero Ability

184 bytes removed, 14 December
Trying a basic switch option because templates are a pain.
| style="text-align: right;" | {{{Element}}} <br/>
{{#if: {{{Element|}}} |
{{#ifeqswitch: {{lc:{{{Element}}}}} | magical | = [[Magical]] }} {{#ifeq: {{lc:{{{Element}}}}} | physical | = [[Physical]] }} {{#ifeq: {{lc:{{{Element}}}}} | poison | = [[Elements#Poison|Magical Poison]]}} {{#ifeq: {{lc:{{{Element}}}}} | fire | = [[Elements#Fire|Magical Fire]]}} {{#ifeq: {{lc:{{{Element}}}}} | water | = [[Elements#Water|Magical Water]]}} {{#ifeq: {{lc:{{{Element}}}}} | storm | = [[Elements#Storm|Magical Storm]]}} {{#ifeq: {{lc:{{{Element}}}}} | frost | = [[Elements#Frost|Magical Frost]]}} {{#if: {{{Element}}} | {{{Element}}} }}
}}
|-
WikiDefender
716
edits