Difference between revisions of "Template:Unitinfo"

From D-day: wiki
Jump to: navigation, search
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="infobox">
+
{{stack begin}}
<div id= id="box1">{{{name|{{PAGENAME}}}}}</div>
+
{|
<br/>
+
<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|}}}
 
}}
 
}}
 +
|-
  
<div id="box2">Specifications</div>
+
<tr><td colspan="2" class="box2">
<br/>
+
<div>General</div>
 +
</td></tr>
  
{{#if:{{{type}}}  
+
{{#if:{{{type|}}} |
! style="padding-right: 1em;" Type
+
! class="boxtext" {{!}} Type:
{{{type|}}}
+
{{!}} {{{type|}}}
 
}}
 
}}
{{#if:{{{weight|}}} |
+
|-
! style="padding-right: 1em;" {{!}} Weight
+
 
{{!}} {{{weight|}}}
+
{{#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|}}} |
! 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>
 +
 +
 +
{{#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|}}}
 +
}}
 +
|-
  
<div id="box3">. . . . .</div>
+
<tr><td colspan="2" class="box3">
</div>
+
<div>. . . .</div>
 +
</td></tr>
 +
</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