Difference between revisions of "Template:Unitinfo"
From D-day: wiki
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{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 16: | Line 16: | ||
{{#if:{{{type|}}} | | {{#if:{{{type|}}} | | ||
− | ! | + | ! class="boxtext" {{!}} Type: |
{{!}} {{{type|}}} | {{!}} {{{type|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | {{#if:{{{nick|}}} | | ||
+ | ! class="boxtext" {{!}} Other Name: | ||
+ | {{!}} {{{nick|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{owner|}}} | | {{#if:{{{owner|}}} | | ||
− | ! | + | ! class="boxtext" {{!}} Owner: |
{{!}} {{{owner|}}} | {{!}} {{{owner|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | {{#if:{{{manu|}}} | | ||
+ | ! class="boxtext" {{!}} Manufacturer: | ||
+ | {{!}} {{{manu|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{year|}}} | | {{#if:{{{year|}}} | | ||
− | ! | + | ! class="boxtext" {{!}} Year: |
{{!}} {{{year|}}} | {{!}} {{{year|}}} | ||
}} | }} | ||
Line 42: | Line 54: | ||
}} | }} | ||
|- | |- | ||
+ | |||
{{#if:{{{width|}}} | | {{#if:{{{width|}}} | | ||
! class="boxtext" {{!}} Width: | ! class="boxtext" {{!}} Width: | ||
Line 47: | Line 60: | ||
}} | }} | ||
|- | |- | ||
+ | |||
{{#if:{{{height|}}} | | {{#if:{{{height|}}} | | ||
! class="boxtext" {{!}} Height: | ! class="boxtext" {{!}} Height: | ||
Line 52: | Line 66: | ||
}} | }} | ||
|- | |- | ||
+ | |||
{{#if:{{{weight|}}} | | {{#if:{{{weight|}}} | | ||
! class="boxtext" {{!}} Weight: | ! class="boxtext" {{!}} Weight: | ||
Line 57: | Line 72: | ||
}} | }} | ||
|- | |- | ||
+ | |||
+ | {{#if:{{{armour|}}} | | ||
+ | ! class="boxtext" {{!}} Armour: | ||
+ | {{!}} {{{armour|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
{{#if:{{{speed|}}} | | {{#if:{{{speed|}}} | | ||
! class="boxtext" {{!}} Speed: | ! class="boxtext" {{!}} Speed: | ||
Line 62: | Line 84: | ||
}} | }} | ||
|- | |- | ||
+ | |||
<tr><td colspan="2" class="box2"> | <tr><td colspan="2" class="box2"> | ||
<div>Armament</div> | <div>Armament</div> | ||
Line 68: | Line 91: | ||
{{#if:{{{wep1|}}} | | {{#if:{{{wep1|}}} | | ||
− | ! | + | ! class="boxtext" {{!}} Primary Weapon: |
{{!}} {{{wep1|}}} | {{!}} {{{wep1|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | {{#if:{{{dam1|}}} | | ||
+ | ! class="boxtext" {{!}} - Damage: | ||
+ | {{!}} {{{dam1|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | {{#if:{{{rof1|}}} | | ||
+ | ! class="boxtext" {{!}} - Rate of Fire: | ||
+ | {{!}} {{{rof1|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{wep2|}}} | | {{#if:{{{wep2|}}} | | ||
− | ! | + | ! class="boxtext" {{!}} Secondary Weapon: |
{{!}} {{{wep2|}}} | {{!}} {{{wep2|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | {{#if:{{{dam2|}}} | | ||
+ | ! class="boxtext" {{!}} - Damage: | ||
+ | {{!}} {{{dam2|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | {{#if:{{{rof2|}}} | | ||
+ | ! class="boxtext" {{!}} - Rate of Fire: | ||
+ | {{!}} {{{rof2|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ammo|}}} | | {{#if:{{{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}} |
Latest revision as of 15:35, 9 December 2013
|