Difference between revisions of "Template:Unitinfo"

From D-day: wiki
Jump to: navigation, search
 
(29 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">
+
{{{name|{{PAGENAME}}}}}</div>
{{{name|{{PAGENAME}}}}}
+
 
</td></tr>
 
</td></tr>
  
<tr><td>
 
 
{{#if:{{{image|}}} |
 
{{#if:{{{image|}}} |
 
{{!}} colspan="2" class="box0" {{!}} {{{image|}}}<br/>{{{caption|}}}
 
{{!}} colspan="2" class="box0" {{!}} {{{image|}}}<br/>{{{caption|}}}
 
}}
 
}}
 
|-
 
|-
</td></tr>
 
  
 
<tr><td colspan="2" class="box2">
 
<tr><td colspan="2" class="box2">
Specifications
+
<div>General</div>
 
</td></tr>
 
</td></tr>
  
<tr><td>
 
 
{{#if:{{{type|}}} |
 
{{#if:{{{type|}}} |
! style="padding-right: 1em;" {{!}} Type
+
! class="boxtext" {{!}} Type:
{{!}} colspan="2" class="box0" {{!}} {{{type|}}}
+
{{!}} {{{type|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{weight|}}} |
+
 
! style="padding-right: 1em;" {{!}} Weight
+
{{#if:{{{nick|}}} |
{{!}} {{{weight|}}}
+
! 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|}}} |
! style="padding-right: 1em;" {{!}} Length
+
! class="boxtext" {{!}} Length:
 
{{!}} {{{length|}}}
 
{{!}} {{{length|}}}
 
}}
 
}}
 
|-
 
|-
 +
 
{{#if:{{{width|}}} |
 
{{#if:{{{width|}}} |
! style="padding-right: 1em;" {{!}} Width
+
! class="boxtext" {{!}} Width:
 
{{!}} {{{width|}}}
 
{{!}} {{{width|}}}
 
}}
 
}}
 
|-
 
|-
 +
 
{{#if:{{{height|}}} |
 
{{#if:{{{height|}}} |
! style="padding-right: 1em;" {{!}} Height
+
! class="boxtext" {{!}} Height:
 
{{!}} {{{height|}}}
 
{{!}} {{{height|}}}
 
}}
 
}}
 
|-
 
|-
 +
 +
{{#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>
 
</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">
 
<tr><td colspan="2" class="box3">
. . . .
+
<div>. . . .</div>
 
</td></tr>
 
</td></tr>
<table>
+
</table>
 
|}
 
|}
 +
{{stack end}}

Latest revision as of 15:35, 9 December 2013

Unitinfo
General
Specifications
Armament
. . . .
Personal tools
Namespaces

Variants
Actions
Navigation
Database
Guides
Tools