Changes
Jump to:
navigation
,
search
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}}}|
physical
fire|[[Elements#fire|Magical Fire]]}}}}
{{!}}{{#if:{{{Element}}}|{{#ifeq:{{{Element}}}|storm
|[[
Physical
Elements#storm|Magical Storm
]]
}}
}} {{!}}{{#if:{{{Element}}}
|{{#ifeq:{{{Element}}}|frost
|[[Elements#
frost|Magical Frost]]}}}}
{{!}}{{#if:
{{{Element}}}|
{{#ifeq:
{{{Element}}}
|physical|[[Physical
]]
}
}}}}}}} <br />
{{#if:{{{Status|}}}|<br />
{{!}}-
← Older edit
Newer edit →
Sab
WikiDefender
716
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Special page
Variants
Views
More
Search
Navigation
Main page
Recent changes
Random page
Help
Community
Sections
Weapons
Maps
Heroes
Defenses
Pets
Flairs
Costumes
Shards
Mods
Enemies
NPCs
Community Guides
Defense Builds
DPS Hero Builds
Market Prices
Defense Calculator
Community Maps
Tools
Special pages
Printable version
Links
Website
Forums
Discord
Store