Difference between revisions of "Template:Hero Infobox"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:{{{boxwidth|21em}}}; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em;"
+
{| class="infobox" style="float: right; font-size:89%; width:{{{width|23em}}}; border: 1px solid #000000; border-radius: 5px; -moz-border-radius: 5px; padding: 1.5px;"
 
|-
 
|-
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; font-size:120%; padding:0.5em;" | {{{name|{{BASEPAGENAME}}}}}
+
! colspan="3" style="background-color: #f2f2f2; color: #000000; font-size:120%; padding:0.5em; border-collapse:collapse; border:#000000 1px solid;" | <div style="line-height:17px;">{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}{{#if:{{{namesub|}}}|<br><span style="color: #f2f2f2; font-size:80%;">(''{{{namesub|}}}'')</span>}}</div>
|- style="text-align:center"
 
| colspan="2" style="padding:0.5em; position:relative" | <div style="position:absolute; right:10px; bottom:0;">  
 
{| style="text-align:center; background:none; "
 
| {{#if:{{{auto|}}}|<span title="{{#var:autotext}}">[[File:Auto icon.png|18px|link=Autoswing|{{#var:autotext}}]]</span>}}  
 
|-
 
| {{#iferror:{{#expr:{{{stack|}}}>0}}|<!--nothing-->|<span title="Max Stack: {{{stack|}}}">{{stack|{{{stack|}}}}}</span>}}
 
|}</div>
 
 
|-
 
|-
 
{{#if:{{{image<includeonly>|</includeonly>}}} |
 
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:alpha;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
+
{{!}} colspan="4" style="text-align:center;background-color:alpha;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | {{#if: {{{type|}}}| Info }}
 
 
|-
 
|-
{{#if: {{{Type|}}}|
+
! colspan="3" style="background-color: #f2f2f2; color: #000000; padding:0em; font-size:120%; border-collapse:collapse; border:#000000 1px solid;" | Information
{{!}} '''Type'''
+
|-
{{!}} {{{type|}}} }}
+
| style="width:35%" |
 +
| style="width:40%" |
 +
| style="width:25%" |
 +
|-
 +
{{#if: {{{race|}}}|
 +
{{!}} '''Race'''
 +
{{!}} colspan="2" style="font-size:120%" {{!}} {{{race|}}} }}
 +
|-
 +
{{#if: {{{gender|}}}|
 +
{{!}} '''Gender'''
 +
{{!}} colspan="2" style="font-size:120%" {{!}} {{{gender|}}} }}
 +
|-
 +
{{#if: {{{weapon|}}}|
 +
{{!}} '''Weapon'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{weapon|}}} }}
 +
|-
 +
{{#if: {{{damage|}}}|
 +
{{!}} '''Damage Type'''
 +
{{!}} colspan="2" style="font-size:120%" {{!}} {{{damage|}}} }}
 +
|-
 +
! colspan="3" style="background-color: #f2f2f2; color: #000000; padding:0em; font-size:120%; border-collapse:collapse; border:#000000 1px solid;" | Base Stats (lvl 1)
 +
|-
 +
{{#if: {{{dp|}}}|
 +
{{!}} '''Defense Power'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{dp|}}} }}
 +
|-
 +
{{#if: {{{dh|}}}|
 +
{{!}} '''Defense Health'''
 +
{{!}} colspan="2" style="font-size:120%" {{!}} {{{dh|}}} }}
 +
|-
 +
{{#if: {{{ds|}}}|
 +
{{!}} '''Defense Speed'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{ds|}}} }}
 +
|-
 +
{{#if: {{{hd|}}}|
 +
{{!}} '''Hero Damage'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{hd|}}} }}
 +
|-
 +
{{#if: {{{hh|}}}|
 +
{{!}} '''Hero Health'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{hh|}}} }}
 +
|-
 +
{{#if: {{{ap|}}}|
 +
{{!}} '''Ability Power'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{ap|}}} }}
 +
|-
 +
{{#if: {{{hcd|}}}|
 +
{{!}} '''Hero Crit Damage'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{hcd|}}} }}
 +
|-
 +
{{#if: {{{dcd|}}}|
 +
{{!}} '''Defense Crit Damage'''
 +
{{!}} colspan="2" style="font-size:120%" {{!}} {{{dcd|}}} }}
 +
|-
 +
! colspan="3" style="background-color: #f2f2f2; color: #000000; padding:0em; font-size:120%; border-collapse:collapse; border:#000000 1px solid;" | Base Stats (lvl 50)
 +
|-
 +
{{#if: {{{sp-dp|}}}|
 +
{{!}} '''Defense Power'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{sp-dp|}}} }}
 +
|-
 +
{{#if: {{{sp-dh|}}}|
 +
{{!}} '''Defense Health'''
 +
{{!}} colspan="2" style="font-size:120%" {{!}} {{{sp-dh|}}} }}
 +
|-
 +
{{#if: {{{sp-ds|}}}|
 +
{{!}} '''Defense Speed'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{sp-ds|}}} }}
 +
|-
 +
{{#if: {{{sp-hd|}}}|
 +
{{!}} '''Hero Damage'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{sp-hd|}}} }}
 +
|-
 +
{{#if: {{{sp-hh|}}}|
 +
{{!}} '''Hero Health'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{sp-hh|}}} }}
 +
|-
 +
{{#if: {{{sp-ap|}}}|
 +
{{!}} '''Ability Power'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{sp-ap|}}} }}
 +
|-
 +
{{#if: {{{sp-hcd|}}}|
 +
{{!}} '''Hero Crit Damage'''
 +
{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{sp-hcd|}}} }}
 +
|-
 +
{{#if: {{{sp-dcd|}}}|
 +
{{!}} '''Defense Crit Damage'''
 +
{{!}} colspan="2" style="font-size:120%" {{!}} {{{sp-dcd|}}} }}
 +
|-
 
|}
 
|}

Latest revision as of 17:19, 23 October 2015

Hero Infobox
{{{image}}}
Information
Base Stats (lvl 1)
Base Stats (lvl 50)