Difference between revisions of "Template:Hero Defense"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Defense is a more appropriate term, as Tower only applies to a specific subset of Defenses)
 
(24 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
|{{{Description}}}
 
|{{{Description}}}
 
|-
 
|-
| style="text-align: center;" |'''Tower Statistics'''
+
| style="text-align: center;" |'''Defense Statistics'''
 
|-
 
|-
 
|
 
|
 
{| border="0" cellpadding="0" cellspacing="0" width="100%"
 
{| border="0" cellpadding="0" cellspacing="0" width="100%"
 
|-
 
|-
|''Hero:''
+
| style="vertical-align:top;" |''Hero:''
| style="text-align: right;" |[[{{{Hero}}}]] <br />
+
| style="text-align: right;" |[[{{{Hero}}}]]{{#if: {{{Hero2|}}}|<br />[[{{{Hero2|}}}]]}}{{#if: {{{Hero3|}}}|<br />[[{{{Hero3|}}}]]}}{{#if: {{{Hero4|}}}|<br />[[{{{Hero4|}}}]]}}<br />
 +
|-
 +
|''Defense Type:''
 +
| style="text-align: right;" |{{{Type}}} <br />
 
|-
 
|-
 
|''Level Required:''
 
|''Level Required:''
Line 21: Line 24:
 
| style="text-align: right;" |{{{Mana}}} {{#if:{{{ISpeed|}}}|<br />
 
| style="text-align: right;" |{{{Mana}}} {{#if:{{{ISpeed|}}}|<br />
 
{{!}}-
 
{{!}}-
{{!}}''Base Speed:''
+
{{!}}''Base Attack Rate:''
{{!}} style="text-align: right;" {{!}}{{{ISpeed}}}}} {{#if:{{{Dot|}}}{{{Hot|}}}|<br />
+
{{!}} style="text-align: right;" {{!}}{{{ISpeed}}}}} {{#if:{{{MaxAttSpeed|}}}|<br />
 +
{{!}}-
 +
{{!}}''Max Attack Rate:''
 +
{{!}} style="text-align: right;" {{!}}{{{MaxAttSpeed}}}}} {{#if:{{{Dot|}}}{{{Hot|}}}|<br />
 +
{{!}}-
 +
{{!}}''Tick Rate:''
 +
{{!}} style="text-align: right;" {{!}}1.00s}} {{#if:{{{BaseRange|}}}|<br />
 +
{{!}}-
 +
{{!}}''Base Range/Radius:''
 +
{{!}} style="text-align: right;" {{!}}{{{BaseRange}}}}} {{#if:{{{MaxRange|}}}|<br />
 +
{{!}}-
 +
{{!}}''Max Range/Radius:''
 +
{{!}} style="text-align: right;" {{!}}{{{MaxRange}}}}} {{#if:{{{Trigger|}}}|<br />
 +
{{!}}-
 +
{{!}}''Trigger Radius:''
 +
{{!}} style="text-align: right;" {{!}}{{{Trigger}}}}} {{#if:{{{Element|}}}|<br />
 
{{!}}-
 
{{!}}-
{{!}}''Tick Rate''
+
{{!}}''Damage Type:''
{{!}} style="text-align: right;" {{!}}1.00s}} {{#if:{{{Trigger|}}}|<br />
+
{{!}} style="text-align: right;" {{!}}{{{Element}}}}} {{#if:{{{Status|}}}|<br />
 
{{!}}-
 
{{!}}-
{{!}}''Trigger Radius''
+
{{!}}''Status Effect:''
{{!}} style="text-align: right;" {{!}}{{{Trigger}}}}} <br />
+
{{!}} style="text-align: right;" {{!}}{{{Status}}}}} {{#if:{{{SCombo|}}}|<br />
|-
 
|''Damage Type:''
 
| style="text-align: right;" |{{{Element}}} <br />
 
|-
 
|''Status Effect:''
 
| style="text-align: right;" | {{{Status}}} {{#if: {{{SCombo|}}}|<br />
 
 
{{!}}-
 
{{!}}-
 
{{!}}''Combo Starter:''
 
{{!}}''Combo Starter:''
{{!}} style="text-align: right;" {{!}}{{{SCombo}}}| }} {{#if: {{{FCombo|}}}|<br />
+
{{!}} style="text-align: right;" {{!}}{{{SCombo}}}}} {{#if:{{{FCombo|}}}|<br />
 
{{!}}-
 
{{!}}-
 
{{!}}''Combo Finisher:''
 
{{!}}''Combo Finisher:''
{{!}} style="text-align: right;" {{!}}{{{FCombo}}}| }} <br />
+
{{!}} style="text-align: right;" {{!}}{{{FCombo}}}}} <br />
 
|}
 
|}
 
|} __NOTOC__  
 
|} __NOTOC__  
Line 62: Line 74:
 
{{!}} {{!}} {{{A5}}} }} {{#if: {{{Crit|}}}|<br />
 
{{!}} {{!}} {{{A5}}} }} {{#if: {{{Crit|}}}|<br />
 
{{!}}-
 
{{!}}-
! style="text-align: center;" {{!}} {{{Crit}}} <br /> [[Defense#Crit|Defense Crit]] (x)
+
! style="text-align: center;" {{!}} {{{Crit}}} <br /> [[Defense#Crit|Defense Crit Damage]] (x)
 
{{!}} {{!}} {{{C1}}}
 
{{!}} {{!}} {{{C1}}}
 
{{!}} {{!}} {{{C2}}}
 
{{!}} {{!}} {{{C2}}}
Line 92: Line 104:
 
{{!}} {{!}} {{{S5}}} }} {{#if: {{{Range|}}}|<br />
 
{{!}} {{!}} {{{S5}}} }} {{#if: {{{Range|}}}|<br />
 
{{!}}-
 
{{!}}-
! style="text-align: center;" {{!}} {{{Range}}} <br /> [[Defense#Special|Range]] (x)
+
! style="text-align: center;" {{!}} {{{Range}}} <br /> [[Defense#Special|Special]]
 
{{!}} {{!}} {{{R1}}}
 
{{!}} {{!}} {{{R1}}}
 
{{!}} {{!}} {{{R2}}}
 
{{!}} {{!}} {{{R2}}}

Latest revision as of 15:15, 29 September 2022

{{{{#ifeq:{{PAGENAME}}|''Page Name''|Test_Defence|{{#ifeq:{{PAGENAME}}|Test Calc|:Test_Calc_Math|:Test_Table/Data}}}}
|Hero=
|Page={{{1}}}
|Type=
|Projectiles=
|DPS=
|Name=
|Icon=
|Description=
|Level=
|Mana=
|ISpeed=
|Element=
|Status=
|SCombo=
|FCombo=
|Overview=
|Attack=
|A1=
|A2=
|A3=
|A4=
|A5=
|CritC=
|Crit=
|C1=
|C2=
|C3=
|C4=
|C5=
|Dot=
|Hot=
|D1=
|D2=
|D3=
|D4=
|D5=
|Health=
|H1=
|H2=
|H3=
|H4=
|H5=
|Speed=
|S1=
|S2=
|S3=
|S4=
|S5=
|Range=
|R1=
|R2=
|R3=
|R4=
|R5=
|Boost=
|B1=
|B2=
|B3=
|B4=
|B5=
|Protect=
|P1=
|P2=
|P3=
|P4=
|P5=
}}

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Hero_Defense/doc to edit this documentation. (How does this work?)
Description
This template will apply constant formatting for each Hero Defense. 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. Additional parameters include the table data to be generated.