Difference between revisions of "Template:Unitinfo"
From D-day: wiki
| (46 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{stack begin}} | |
| − | < | + | {| |
| − | < | + | <table width="320px" class="infobox"> |
| − | < | + | <tr><td colspan="2" class="box1"><div> |
| + | {{{name|{{PAGENAME}}}}}</div> | ||
| + | </td></tr> | ||
{{#if:{{{image|}}} | | {{#if:{{{image|}}} | | ||
| − | {{{image|}}}<br/>{{{caption|}}} | + | {{!}} colspan="2" class="box0" {{!}} {{{image|}}}<br/>{{{caption|}}} |
}} | }} | ||
|- | |- | ||
| − | |||
| − | |||
| − | {{#if:{{{type}}} | + | <tr><td colspan="2" class="box2"> |
| − | ! | + | <div>General</div> |
| + | </td></tr> | ||
| + | |||
| + | {{#if:{{{type|}}} | | ||
| + | ! class="boxtext" {{!}} Type: | ||
{{!}} {{{type|}}} | {{!}} {{{type|}}} | ||
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{ | + | |
| − | ! | + | {{#if:{{{nick|}}} | |
| − | {{!}} {{{ | + | ! class="boxtext" {{!}} Other Name: |
| + | {{!}} {{{nick|}}} | ||
}} | }} | ||
|- | |- | ||
| + | |||
| + | {{#if:{{{owner|}}} | | ||
| + | ! class="boxtext" {{!}} Owner: | ||
| + | {{!}} {{{owner|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{manu|}}} | | ||
| + | ! class="boxtext" {{!}} Manufacturer: | ||
| + | {{!}} {{{manu|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{year|}}} | | ||
| + | ! class="boxtext" {{!}} Year: | ||
| + | {{!}} {{{year|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | <tr><td colspan="2" class="box2"> | ||
| + | <div>Specifications</div> | ||
| + | </td></tr> | ||
| + | |||
{{#if:{{{length|}}} | | {{#if:{{{length|}}} | | ||
| − | ! | + | ! class="boxtext" {{!}} Length: |
{{!}} {{{length|}}} | {{!}} {{{length|}}} | ||
}} | }} | ||
|- | |- | ||
| + | |||
{{#if:{{{width|}}} | | {{#if:{{{width|}}} | | ||
| − | ! | + | ! class="boxtext" {{!}} Width: |
{{!}} {{{width|}}} | {{!}} {{{width|}}} | ||
}} | }} | ||
|- | |- | ||
| + | |||
{{#if:{{{height|}}} | | {{#if:{{{height|}}} | | ||
| − | ! | + | ! class="boxtext" {{!}} Height: |
{{!}} {{{height|}}} | {{!}} {{{height|}}} | ||
}} | }} | ||
|- | |- | ||
| − | <div | + | |
| − | </ | + | {{#if:{{{weight|}}} | |
| − | </ | + | ! class="boxtext" {{!}} Weight: |
| + | {{!}} {{{weight|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{armour|}}} | | ||
| + | ! class="boxtext" {{!}} Armour: | ||
| + | {{!}} {{{armour|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{speed|}}} | | ||
| + | ! class="boxtext" {{!}} Speed: | ||
| + | {{!}} {{{speed|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | <tr><td colspan="2" class="box2"> | ||
| + | <div>Armament</div> | ||
| + | </td></tr> | ||
| + | |||
| + | |||
| + | {{#if:{{{wep1|}}} | | ||
| + | ! class="boxtext" {{!}} Primary Weapon: | ||
| + | {{!}} {{{wep1|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{dam1|}}} | | ||
| + | ! class="boxtext" {{!}} - Damage: | ||
| + | {{!}} {{{dam1|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{rof1|}}} | | ||
| + | ! class="boxtext" {{!}} - Rate of Fire: | ||
| + | {{!}} {{{rof1|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{wep2|}}} | | ||
| + | ! class="boxtext" {{!}} Secondary Weapon: | ||
| + | {{!}} {{{wep2|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{dam2|}}} | | ||
| + | ! class="boxtext" {{!}} - Damage: | ||
| + | {{!}} {{{dam2|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{rof2|}}} | | ||
| + | ! class="boxtext" {{!}} - Rate of Fire: | ||
| + | {{!}} {{{rof2|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | {{#if:{{{ammo|}}} | | ||
| + | ! class="boxtext" {{!}} Ammo: | ||
| + | {{!}} {{{ammo|}}} | ||
| + | }} | ||
| + | |- | ||
| + | |||
| + | <tr><td colspan="2" class="box3"> | ||
| + | <div>. . . .</div> | ||
| + | </td></tr> | ||
| + | </table> | ||
| + | |} | ||
| + | {{stack end}} | ||
Latest revision as of 15:35, 9 December 2013
| ||||||||||