Difference between revisions of "Template:Hero Ability"
From Dungeon Defenders 2 Wiki
(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) |
|||
| Line 21: | Line 21: | ||
| style="text-align: right;" |{{{ISpeed}}} <br /> | | style="text-align: right;" |{{{ISpeed}}} <br /> | ||
|- | |- | ||
| − | |''Damage Type:'' | + | |''Damage Type:'' |
| style="text-align: right;" | {{{Element}}} <br/> | | style="text-align: right;" | {{{Element}}} <br/> | ||
{{#if: {{{Element|}}} | | {{#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}}} | |
| − | + | }} | |
}} | }} | ||
|- | |- | ||
Revision as of 14:28, 14 December 2024
| {{{Name}}} | ||||||||||||
| [[File:{{{Icon}}}|256px]] | ||||||||||||
| {{{Description}}} | ||||||||||||
| Ability Statistics | ||||||||||||
|
{{{Overview}}}
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:Hero_Ability/doc to edit this documentation. (How does this work?) |
- Description
- This template will apply constant formatting for each Hero Ability. This Template is a Master Template, and will require sub data templates for each data element.
- Syntax
- Type
Template:Ton the article at the location of the table.