Changes

Template:Hero Defense

407 bytes added, 14 December
Trying the easy/lazy option of making an if for every option instead of dynamically update it depending on the element name etc..
{{!}}''Damage Type:''
{{!}} style="text-align: right;" {{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|magical|[[Magical]]}}}}
{{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|poison|[[Elements#poison|Magical Poison]]}}}} {{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|water|[[Elements#water|Magical Water]]}}}} {{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|physicalfire|[[Elements#fire|Magical Fire]]}}}} {{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|storm|[[PhysicalElements#storm|Magical Storm]]}}}} {{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|frost|[[Elements#frost|Magical Frost]]}}}} {{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|physical|[[Physical]]}}}}}}}} <br />
{{#if:{{{Status|}}}|<br />
{{!}}-
WikiDefender
716
edits