Open main menu
Changes
Template:Hero Defense
574 bytes removed
,
14 December
Looks like else doesn't work, using something else now
{{!}} style="text-align: right;" {{!}}
{{#if: {{{Element}}} |
{{#ifeq: {{lc:{{{Element}}}}} | magical | [[Magical]] }}
{{#else:
{{#ifeq: {{lc:{{{Element}}}}} | poison | [[Elements#Poison|Magical Poison]] }}
{{#else:
{{#ifeq: {{lc:{{{Element}}}}} | water | [[Elements#Water|Magical Water]] }}
{{#else:
{{#ifeq: {{lc:{{{Element}}}}} | fire | [[Elements#Fire|Magical Fire]] }}
{{#else:
{{#ifeq: {{lc:{{{Element}}}}} | storm | [[Elements#Storm|Magical Storm]] }}
{{#else:
{{#ifeq: {{lc:{{{Element}}}}} | frost | [[Elements#Frost|Magical Frost]] }}
{{#else:
{{#ifeq: {{lc:{{{Element}}}}} | earth | [[Elements#Earth|Magical Earth]] }}
{{#else:
{{#ifeq: {{lc:{{{Element}}}}} | physical | [[Physical]] }}
{{#
else}}
if:
{{{Element}}}
|
{{
/else}}
{
{/else
Element
}}
{{/else
}
}
{{/else
}}
{{/else}}
{{/else}}
{{/else}}
{{/else
}}
}}
{{#if:{{{Status|}}}|<br />
← Older edit
Newer edit →
Sab
WikiDefender
716
edits