Difference between revisions of "Template:Hero Infobox"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{| class="infobox" style="background-color:#333; border-radius: 10px; border: solid 1px #000; padding:3px; padding-right:1px;margin: 0 0 5px; 5px;"
+
{| 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;"
 
|-
 
|-
! class="infobox-header" colspan="2" style="background-color:#306089; padding:7px; border-top-left-radius:5px;border-top-right-radius:5px;" | <center>{{{title|''Unknown''}}}</center>
+
! 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>
 
|-
 
|-
{{#if: {{{image|}}} |
+
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
+
{{!}} colspan="4" style="text-align:center;background-color:alpha;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
| }}
+
{{!}}-
 +
}}
 
|-
 
|-
{{#if: {{{imagecaption|}}} |
+
! colspan="3" style="background-color: #f2f2f2; color: #000000; padding:0em; font-size:120%; border-collapse:collapse; border:#000000 1px solid;" | Information
{{!}} class="infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
 
| }}
 
 
|-
 
|-
! colspan="2" style="background-color:#306089; padding:5px;" | <center>'''<div class="infobox-section">Info</div>'''</center>
+
| style="width:35%" |
{{#if: {{{type|}}} |
+
| style="width:40%" |
{{{type}}}
+
| style="width:25%" |
| }}
 
 
|-
 
|-
{{#if: {{{defense|}}} |
+
{{#if: {{{race|}}}|
{{{defense}}}
+
{{!}} '''Race'''
| }}
+
{{!}} colspan="2" style="font-size:120%" {{!}} {{{race|}}} }}
 
|-
 
|-
|- style="font-size:0; line-height:0;"
+
{{#if: {{{gender|}}}|
! style="width:50%; padding:0" |
+
{{!}} '''Gender'''
! style="width:50%; padding:0" |
+
{{!}} colspan="2" style="font-size:120%" {{!}} {{{gender|}}} }}
|}</onlyinclude>
+
|-
 +
{{#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 16:19, 23 October 2015

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