Difference between revisions of "Template:Hero Ability"
From Dungeon Defenders 2 Wiki
(Quick test, using code from earlier which should do the same thing) |
|||
| (24 intermediate revisions by the same user not shown) | |||
| Line 22: | Line 22: | ||
|- | |- | ||
|''Damage Type:'' | |''Damage Type:'' | ||
| − | | style="text-align: right;" | + | | style="text-align: right;" | |
| − | + | {{#switch: {{lc:{{{Element}}}}} | |
| − | + | | magical = [[Magical]] | |
| − | + | | physical = [[Physical]] | |
| − | + | | poison = [[Elements#Poison|Magical Poison]] | |
| − | + | | fire = [[Elements#Fire|Magical Fire]] | |
| − | + | | water = [[Elements#Water|Magical Water]] | |
| − | + | | storm = [[Elements#Storm|Magical Storm]] | |
| − | + | | frost = [[Elements#Frost|Magical Frost]] | |
| − | + | | earth = [[Elements#Earth|Magical Earth]] | |
| + | | #default = {{{Element}}} <!-- {{{Element}}} can be replaced with {{ucfirst:{{{Element}}}}} when there is any situation where the damage type doesn't fit in the list above --> | ||
}} | }} | ||
|- | |- | ||
| Line 47: | Line 48: | ||
|} | |} | ||
|} | |} | ||
| + | {{{Overview}}} | ||
__NOTOC__ | __NOTOC__ | ||
| − | |||
| − | |||
<noinclude>[[Category:Templates/Visual]]{{Documentation}}</noinclude> | <noinclude>[[Category:Templates/Visual]]{{Documentation}}</noinclude> | ||
Latest revision as of 18:31, 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.