Difference between revisions of "Template:Hero Ability"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
 
(47 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
| style="text-align: center;" |'''{{{Name}}}'''
 
| style="text-align: center;" |'''{{{Name}}}'''
 
|-
 
|-
| style="text-align: center;" |[[File:{{{Icon}}}|50px]]
+
| style="text-align: center;" |[[File:{{{Icon}}}|256px]]
 
|-
 
|-
 
|{{{Description}}}
 
|{{{Description}}}
Line 11: Line 11:
 
|
 
|
 
{| border="0" cellpadding="0" cellspacing="0" width="100%"
 
{| border="0" cellpadding="0" cellspacing="0" width="100%"
 +
|-
 +
| style="vertical-align:top;" |''Hero:''
 +
| style="text-align: right;" |[[{{{Hero}}}]]{{#if: {{{Hero2|}}}|<br />[[{{{Hero2|}}}]]}}{{#if: {{{Hero3|}}}|<br />[[{{{Hero3|}}}]]}}{{#if: {{{Hero4|}}}|<br />[[{{{Hero4|}}}]]}}{{#if: {{{Hero5|}}}|<br />[[{{{Hero5|}}}]]}}{{#if: {{{Hero6|}}}|<br />[[{{{Hero6|}}}]]}} <br />
 
|-
 
|-
 
|''Mana Cost:''
 
|''Mana Cost:''
Line 18: 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;" |
 +
{{#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  -->
 +
}}
 +
|-
 +
|''Damage Scalar:''
 +
| style="text-align: right;" |{{{Damage}}} <br />
 
|-
 
|-
 
|''Status Effect:''
 
|''Status Effect:''
Line 30: Line 47:
 
{{!}} style="text-align: right;" {{!}}{{{FCombo}}}| }} <br />
 
{{!}} style="text-align: right;" {{!}}{{{FCombo}}}| }} <br />
 
|}
 
|}
|} __NOTOC__
+
|}
 
 
 
{{{Overview}}}
 
{{{Overview}}}
===Effects=== __NOTOC__  
+
__NOTOC__
*''Ability Damage:'' {{{Damage}}}
 
  
 
<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
Hero: [[{{{Hero}}}]]
Mana Cost: {{{Mana}}}
Base Recharge: {{{ISpeed}}}
Damage Type:

{{{Element}}}

Damage Scalar: {{{Damage}}}
Status Effect: {{{Status}}}

{{{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.