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> | ||
{{{name|{{PAGENAME}}}}}</div> | {{{name|{{PAGENAME}}}}}</div> | ||
Line 10: | Line 8: | ||
{{!}} 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 20: | Line 17: | ||
{{!}} {{{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 42: | Line 34: | ||
{{!}} {{{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 71: | Line 59: | ||
{{!}} {{{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"> | ||
<div>. . . .</div> | <div>. . . .</div> | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
− | |||
− | |||
{{stack end}} | {{stack end}} |
Revision as of 16:34, 7 September 2012
|