Difference between revisions of "Template:Hero Ability"
From Dungeon Defenders 2 Wiki
(Trying to set a variable) |
|||
Line 1: | Line 1: | ||
+ | {{#set: lcElement = {{lc:{{{Element}}}}}}} | ||
+ | |||
{| border="1" cellpadding="1" cellspacing="0" class="floatright" width="250" | {| border="1" cellpadding="1" cellspacing="0" class="floatright" width="250" | ||
|- | |- | ||
Line 23: | Line 25: | ||
|''Damage Type:'' | |''Damage Type:'' | ||
| style="text-align: right;" | | | style="text-align: right;" | | ||
− | {{#switch: {{{ | + | {{#switch: {{{lcElement}}} |
| magical = [[Magical]] | | magical = [[Magical]] | ||
| physical = [[Physical]] | | physical = [[Physical]] |
Revision as of 15:11, 14 December 2024
{{#set: lcElement = {{{element}}}}}
{{{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:T
on the article at the location of the table.