Difference between revisions of "Template:Combat Info"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| border="0" cellpadding="1" cellspacing="1" class="article-table"
 
{| border="0" cellpadding="1" cellspacing="1" class="article-table"
|-
+
| valign="top" |
 +
 
 
{|
 
{|
{{#if: {{{card|}}} |
+
|[[File:{{{card}}}|link={{{hero}}}|{{{hero}}}]]
! rowspan="3" {{!}} [[File:{{{card}}}|link={{{hero}}}|{{{hero}}}]]|{{!}} {{{hero}}} }}
 
 
|}
 
|}
  
| width="50%" valign="top" |
+
| width="80%" |
  
 
{|
 
{|
 +
|-
 +
|[[File:{{{icon}}}|link={{{hero}}}|{{{hero}}}]]
 
|-
 
|-
 
| '''Primary Attack''': {{{Primary}}}
 
| '''Primary Attack''': {{{Primary}}}
Line 14: Line 16:
 
| '''Secondary Attack''': {{{Secondary}}}
 
| '''Secondary Attack''': {{{Secondary}}}
 
|-
 
|-
| '''Usable Weapons''': {{{Weapon1}}} {{#if: ,{{{Weapon2|}}}}} {{#if: ,{{{Weapon3|}}}}} {{#if: ,{{{Weapon4|}}}}}
+
| '''Usable Weapons''': [[{{{Weapon1|}}}]]{{#if: {{{Weapon2|}}}|, [[{{{Weapon2|}}}]]}}{{#if: {{{Weapon3|}}}|, [[{{{Weapon3|}}}]]}}{{#if: {{{Weapon4|}}}|, [[{{{Weapon4|}}}]]}}
 +
|-
 +
| '''Lore''': {{{lore}}}
 
|}
 
|}
 +
 
|}
 
|}
===About===
+
 
----
 
{{#if: {{{icon|}}}|[[File:{{{icon}}}|{{{hero}}}]]|{{{hero}}} }} {{{lore}}}
 
 
<includeonly>[[Category:Heroes]]</includeonly><noinclude>[[Category:Templates/Visual]]{{Documentation}}</noinclude>
 
<includeonly>[[Category:Heroes]]</includeonly><noinclude>[[Category:Templates/Visual]]{{Documentation}}</noinclude>

Revision as of 17:04, 7 December 2017

[[File:{{{card}}}|link={{{hero}}}|{{{hero}}}]]
[[File:{{{icon}}}|link={{{hero}}}|{{{hero}}}]]
Primary Attack: {{{Primary}}}
Secondary Attack: {{{Secondary}}}
Usable Weapons: [[]]
Lore: {{{lore}}}
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 ...