Difference between revisions of "Template:Hero Ability"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{| border="0" cellpadding="1" cellspacing="1" class="article-table"
+
{| border="1" cellpadding="1" cellspacing="0" class="floatright" width="250"
|{{Datafield|{{PAGENAME}}/icon|icon}}
+
|-
|'''{{Datafield|{{PAGENAME}}/name}}''': {{Datafield|{{PAGENAME}}/description}}
+
| style="text-align: center;" |'''{{{Name}}}'''
|}</includeonly>
+
|-
 +
| style="text-align: center;" |[[File:{{{Icon}}}]]
 +
|-
 +
|{{{Description}}}
 +
|-
 +
| style="text-align: center;" |'''Ability Statistics'''
 +
|-
 +
|
 +
{| border="0" cellpadding="0" cellspacing="0" width="100%"
 +
|-
 +
|''Mana Cost:''
 +
| style="text-align: right;" |{{{Mana}}} <br />
 +
|-
 +
|''Base Recharge:''
 +
| style="text-align: right;" |{{{ISpeed}}} <br />
 +
|-
 +
|''Damage Type:''
 +
| style="text-align: right;" |{{{Element}}} <br />
 +
|-
 +
|''Status Effect:''
 +
| style="text-align: right;" | {{{Status}}} {{#if: {{{SCombo|}}}|<br />
 +
{{!}}-
 +
{{!}}''Combo Starter:''
 +
{{!}} style="text-align: right;" {{!}}{{{SCombo}}}| }} {{#if: {{{FCombo|}}}|<br />
 +
{{!}}-
 +
{{!}}''Combo Finisher:''
 +
{{!}} style="text-align: right;" {{!}}{{{FCombo}}}| }} <br />
 +
|}
 +
|} __NOTOC__
  
==Overview==
+
{{{Overview}}}
<noinclude>Shows ability data.</noinclude>
+
===Effects=== __NOTOC__
<includeonly>{{Datafield|{{PAGENAME}}|swap}}</includeonly>
+
*''Ability Damage:'' {{{Damage}}}
 
 
<noinclude>Format ability data section here.</noinclude>
 
 
 
<includeonly>
 
===Effects===
 
*''Ability Damage:'' {{Datafield|{{PAGENAME}}/damage}} of Ability Power.
 
*''Damage Type:'' {{Datafield|{{PAGENAME}}/element}}
 
*''Status Effect:'' {{Datafield|{{PAGENAME}}/status}} {{#ifeq: {{{combo|}}} | status |
 
*''Elemental Combo Starter:'' {{Datafield|{{PAGENAME}}/combo}} using {{Datafield|{{PAGENAME}}/status}} |}} {{#ifeq: {{{combo|}}} | element |
 
*''Elemental Combo Finisher:'' {{Datafield|{{PAGENAME}}/combo}} using {{Datafield|{{PAGENAME}}/element}} |}} {{#ifeq: {{{combo|}}} | mix |
 
*''Elemental Combinations:'' {{Datafield|{{PAGENAME}}/combo}} using both {{Datafield|{{PAGENAME}}/element}} and {{Datafield|{{PAGENAME}}/status}} |}}
 
 
 
===Requirements===
 
*''Level Required:'' {{Datafield|{{PAGENAME}}/level}}
 
*''Mana Required:'' {{Datafield|{{PAGENAME}}/mana}}
 
*''Cooldown Required:'' {{Datafield|{{PAGENAME}}/cooldown}}
 
</includeonly>
 
  
 
<noinclude>[[Category:Templates/Visual]]{{Documentation}}</noinclude>
 
<noinclude>[[Category:Templates/Visual]]{{Documentation}}</noinclude>

Revision as of 20:05, 18 May 2015

{{{Name}}}
[[File:{{{Icon}}}]]
{{{Description}}}
Ability Statistics
Mana Cost: {{{Mana}}}
Base Recharge: {{{ISpeed}}}
Damage Type: {{{Element}}}
Status Effect: {{{Status}}}

{{{Overview}}}

Effects

  • Ability Damage: {{{Damage}}}
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.