Changes

Jump to: navigation, search

Template:Hero Ability

173 bytes added, 14 December
Since it's based on html, I hope the javascript keyword var works :pray: so it stores the value and doesn't display it multiple times
| style="text-align: right;" |{{{ISpeed}}} <br />
|-
|''Damage Type:''
| style="text-align: right;" | {{{Element}}} <br/>
{{#if: {{{Element|}}} |
   {{#switch: {{lc:{{{Element}}}}}       | magical = {{#var:ElementLink|[[Magical]]}}       | physical = {{#var:ElementLink|[[Physical]]}}       | poison = {{#var:ElementLink|[[Elements#Poison|Magical Poison]]}}       | fire = {{#var:ElementLink|[[Elements#Fire|Magical Fire]]}}       | water = {{#var:ElementLink|[[Elements#Water|Magical Water]]}}       | storm = {{#var:ElementLink|[[Elements#Storm|Magical Storm]]}}       | frost = {{#var:ElementLink|[[Elements#Frost|Magical Frost]]}}       | {{{Element}}}    }}
}}
|-
WikiDefender
716
edits

Navigation menu