Difference between revisions of "Template:Combat Info"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|-
 
|-
 
{{#if: {{{render|}}} |
 
{{#if: {{{render|}}} |
! rowspan="5" {{!}} [[File:{{{render}}}|150px|{{{hero|{{PAGENAME}}}}}]]|
+
! rowspan="5" {{!}} [[File:{{{render}}}|150px|{{{hero}}}]]|
! rowspan="5" {{!}} {{{hero|{{PAGENAME}}}}} }}
+
! rowspan="5" {{!}} {{{hero}}} }}
! colspan="2" align="center" | [[{{{hero|{{PAGENAME}}}}}]]
+
! colspan="2" align="center" | [[{{{hero}}}]]
 
|-
 
|-
! rowspan="2" | [[{{{Weapon|:Category:Weapons}}}|{{{Weapon|Weapon}}}]]
+
! rowspan="2" | [[{{{Weapon}}}]]
  
Hero Damage: <br /> {{Datafield|{{{hero|{{PAGENAME}}}}}/HeroDmg}}
+
Hero Damage: <br /> {{{Damage}}}
| Primary Attack: {{Datafield|{{{hero|{{PAGENAME}}}}}/PrimaryAtk}}
+
| Primary Attack: {{{Primary}}}
 
|-
 
|-
| Secondary Attack: {{Datafield|{{{hero|{{PAGENAME}}}}}/SecondaryAtk}}
+
| Secondary Attack: {{{Secondary}}}
 
|-
 
|-
! rowspan="2" | {{#if: {{{icon|}}}|[[File:{{{icon}}}|{{{hero|{{PAGENAME}}}}}]]|{{{hero|{{PAGENAME}}}}} }}
+
! rowspan="2" | {{#if: {{{icon|}}}|[[File:{{{icon}}}|{{{hero}}}]]|{{{hero}}} }}
| {{{lore|((Lore Needed))}}}
+
| {{{lore}}}
 
|-
 
|-
 
|  
 
|  
 
{| width="100%"
 
{| width="100%"
 
|-
 
|-
| Defense Power: {{Datafield|{{{hero|{{PAGENAME}}}}}/dp_base}}
+
| Defense Power: {{{dp}}}
| Defense Health: {{Datafield|{{{hero|{{PAGENAME}}}}}/dh_base}}
+
| Defense Health: {{{dh}}}
| Defense Speed: {{Datafield|{{{hero|{{PAGENAME}}}}}/ds_base}}
+
| Defense Speed: {{{ds}}}
 
|-
 
|-
| Hero Power: {{Datafield|{{{hero|{{PAGENAME}}}}}/hp_base}}
+
| Hero Power: {{{hp}}}
| Hero Health: {{Datafield|{{{hero|{{PAGENAME}}}}}/hh_base}}
+
| Hero Health: {{{hh}}}
 
|  
 
|  
 
|-
 
|-
| Ability Power: {{Datafield|{{{hero|{{PAGENAME}}}}}/ap_base}}
+
| Ability Power: {{{ap}}}
 
|  
 
|  
 
|  
 
|  

Revision as of 20:37, 18 May 2015

{{{hero}}} [[{{{hero}}}]]
[[{{{Weapon}}}]]

Hero Damage:
{{{Damage}}}

Primary Attack: {{{Primary}}}
Secondary Attack: {{{Secondary}}}
{{{hero}}} {{{lore}}}
Defense Power: {{{dp}}} Defense Health: {{{dh}}} Defense Speed: {{{ds}}}
Hero Power: {{{hp}}} Hero Health: {{{hh}}}
Ability Power: {{{ap}}}
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Combat_Info/doc to edit this documentation. (How does this work?)
Description
This template will apply a table of Hero Information for each Hero..
Syntax
Type Template:T on the article at the location of the table. Additional parameters include ...