Difference between revisions of "Template:Unitinfo"
From D-day: wiki
Line 1: | Line 1: | ||
{{stack begin}} | {{stack begin}} | ||
+ | {| | ||
<table width="320px" class="infobox"> | <table width="320px" class="infobox"> | ||
<tr><td colspan="2" class="box1"><div> | <tr><td colspan="2" class="box1"><div> | ||
Line 8: | Line 9: | ||
{{!}} colspan="2" class="box0" {{!}} {{{image|}}}<br/>{{{caption|}}} | {{!}} colspan="2" class="box0" {{!}} {{{image|}}}<br/>{{{caption|}}} | ||
}} | }} | ||
+ | |- | ||
<tr><td colspan="2" class="box2"> | <tr><td colspan="2" class="box2"> | ||
Line 17: | Line 19: | ||
{{!}} {{{type|}}} | {{!}} {{{type|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{owner|}}} | | {{#if:{{{owner|}}} | | ||
! class="boxtext" {{!}} Owner: | ! class="boxtext" {{!}} Owner: | ||
{{!}} {{{owner|}}} | {{!}} {{{owner|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{year|}}} | | {{#if:{{{year|}}} | | ||
! class="boxtext" {{!}} Year: | ! class="boxtext" {{!}} Year: | ||
{{!}} {{{year|}}} | {{!}} {{{year|}}} | ||
}} | }} | ||
+ | |- | ||
<tr><td colspan="2" class="box2"> | <tr><td colspan="2" class="box2"> | ||
Line 34: | Line 39: | ||
{{!}} {{{length|}}} | {{!}} {{{length|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{width|}}} | | {{#if:{{{width|}}} | | ||
! class="boxtext" {{!}} Width: | ! class="boxtext" {{!}} Width: | ||
{{!}} {{{width|}}} | {{!}} {{{width|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{height|}}} | | {{#if:{{{height|}}} | | ||
! class="boxtext" {{!}} Height: | ! class="boxtext" {{!}} Height: | ||
{{!}} {{{height|}}} | {{!}} {{{height|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{weight|}}} | | {{#if:{{{weight|}}} | | ||
! class="boxtext" {{!}} Weight: | ! class="boxtext" {{!}} Weight: | ||
{{!}} {{{weight|}}} | {{!}} {{{weight|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{speed|}}} | | {{#if:{{{speed|}}} | | ||
! class="boxtext" {{!}} Speed: | ! class="boxtext" {{!}} Speed: | ||
{{!}} {{{speed|}}} | {{!}} {{{speed|}}} | ||
}} | }} | ||
− | + | |- | |
<tr><td colspan="2" class="box2"> | <tr><td colspan="2" class="box2"> | ||
<div>Armament</div> | <div>Armament</div> | ||
Line 59: | Line 68: | ||
{{!}} {{{armour|}}} | {{!}} {{{armour|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{wep1|}}} | | {{#if:{{{wep1|}}} | | ||
! class="boxtext" {{!}} Primary Weapon: | ! class="boxtext" {{!}} Primary Weapon: | ||
{{!}} {{{wep1|}}} | {{!}} {{{wep1|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{dam1|}}} | | {{#if:{{{dam1|}}} | | ||
! class="boxtext" {{!}} - Damage: | ! class="boxtext" {{!}} - Damage: | ||
{{!}} {{{dam1|}}} | {{!}} {{{dam1|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{rof1|}}} | | {{#if:{{{rof1|}}} | | ||
! class="boxtext" {{!}} - Rate of Fire: | ! class="boxtext" {{!}} - Rate of Fire: | ||
{{!}} {{{rof1|}}} | {{!}} {{{rof1|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{wep2|}}} | | {{#if:{{{wep2|}}} | | ||
! class="boxtext" {{!}} Secondary Weapon: | ! class="boxtext" {{!}} Secondary Weapon: | ||
{{!}} {{{wep2|}}} | {{!}} {{{wep2|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{dam2|}}} | | {{#if:{{{dam2|}}} | | ||
! class="boxtext" {{!}} - Damage: | ! class="boxtext" {{!}} - Damage: | ||
{{!}} {{{dam2|}}} | {{!}} {{{dam2|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{rof2|}}} | | {{#if:{{{rof2|}}} | | ||
! class="boxtext" {{!}} - Rate of Fire: | ! class="boxtext" {{!}} - Rate of Fire: | ||
{{!}} {{{rof2|}}} | {{!}} {{{rof2|}}} | ||
}} | }} | ||
+ | |- | ||
{{#if:{{{ammo|}}} | | {{#if:{{{ammo|}}} | | ||
! class="boxtext" {{!}} Ammo: | ! class="boxtext" {{!}} Ammo: | ||
{{!}} {{{ammo|}}} | {{!}} {{{ammo|}}} | ||
}} | }} | ||
+ | |- | ||
<tr><td colspan="2" class="box3"> | <tr><td colspan="2" class="box3"> | ||
Line 92: | Line 109: | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
+ | |} | ||
{{stack end}} | {{stack end}} |
Revision as of 16:37, 7 September 2012
|