Changes

Template:Hero Defense

232 bytes removed, 14 December
Option two. Use switch again.
{{!}} style="text-align: right;" {{!}}
{{#if: {{{Element}}} |
  {{#ifeqswitch: {{lc:{{{Element}}}}} | magical | = [[Magical]] }}  {{#ifeq: {{lc:{{{Element}}}}} | poison | = [[Elements#Poison|Magical Poison]] }}  {{#ifeq: {{lc:{{{Element}}}}} | water | = [[Elements#Water|Magical Water]] }}  {{#ifeq: {{lc:{{{Element}}}}} | fire | = [[Elements#Fire|Magical Fire]] }}  {{#ifeq: {{lc:{{{Element}}}}} | storm | = [[Elements#Storm|Magical Storm]] }}  {{#ifeq: {{lc:{{{Element}}}}} | frost | = [[Elements#Frost|Magical Frost]] }}  {{#ifeq: {{lc:{{{Element}}}}} | earth | = [[Elements#Earth|Magical Earth]] }}  {{#ifeq: {{lc:{{{Element}}}}} | physical | = [[Physical]] }} }}  {{ | #if: {{{Element}}} | default = {{ucfirst:{{{Element}}}}} }}
}}
{{#if:{{{Status|}}}|<br />
WikiDefender
716
edits