Difference between revisions of "Template:InfoBoxWeapon"

(rewrote table to use css, wiki tables)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px;
+
{| class='infobox'
 
+
|-
background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
+
| colspan='2' | {{{image|}}}
<tr><td colspan="2"><div id="infoboxinternal">
+
|-  
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border
+
| colspan='2' class='infoboxname' | {{{name}}}
 
+
|-
-collapse:collapse;">
+
| colspan='2' class='infoboxheading' | '''Production information'''
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#ffffff;"><br><br>{{{image|}}}</td></tr>
+
|- class='infoboxrow'
<tr style="text-align:center; color:#000000; background:#ffffff; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
+
| Type     || {{{Type|}}}
 
+
|- class='infoboxrow'
{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bdb;">
+
| Tech Base          || {{{Tech Base|}}}
 
+
|- class='infoboxrow'
 
+
| Tech Base         || {{{Tech Base|}}}
'''Production information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;
+
|- class='infoboxrow'
 
+
| Year Availability         || {{{Year Availability|}}}
background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
|-
 
+
| colspan='2' class='infoboxheading' | '''Technical specifications'''
Type</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
|- class='infoboxrow'
{{{Type|}}}</td></tr>|1{{{Type|}}}=}}
+
| Heat         || {{{Heat|}}}
 
+
|- class='infoboxrow'
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;
+
| Damage       || {{{Damage|}}}
 
+
|- class='infoboxrow'
background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| Minimum Range       || {{{Minimum Range|}}}
 
+
|- class='infoboxrow'
Tech Base</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| Short Range     || {{{Short Range|}}}
{{{Tech Base|}}}
+
|- class='infoboxrow'
</td></tr>|1{{{Tech Base|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
+
| Medium Range         || {{{Medium Range|}}}
 
+
|- class='infoboxrow'
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| Long Range || {{{Long Range|}}}
 
+
|- class='infoboxrow'
Year Availability</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| Tons         || {{{Tons|}}}
{{{Year Availability|}}}</td></tr>|1{{{Year Availability|}}}=}}  
+
|- class='infoboxrow'
 
+
| Critical Slots       || {{{Critical Slots|}}}
{{t|1=|1{{{hidet|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal;
+
|- class='infoboxrow'
 
+
| Ammo Per Ton|| {{{Ammo Per Ton|}}}
background:#bdb;">
+
|- class='infoboxrow'
 
+
| Cost (unloaded)       || {{{Cost (unloaded)|}}}
'''Technical specifications'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;
+
|- class='infoboxrow'
 
+
| Ammo Cost (per ton)       || {{{Ammo Cost (per ton)|}}}
background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
|- class='infoboxrow'
 
+
| BV (1.0)     || {{{BV (1.0)|}}}
Heat</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
|}
{{{Heat|}}}
 
</td></tr>|1{{{Heat|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Damage</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Damage|}}}
 
</td></tr>|1{{{Damage|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Minimum Range</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Minimum Range|}}}
 
</td></tr>|1{{{Minimum Range|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Short Range</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Short Range|}}}
 
</td></tr>|1{{{Short Range|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Medium Range</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Medium Range|}}}
 
</td></tr>|1{{{Medium Range|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Long Range</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Long Range|}}}
 
</td></tr>|1{{{Long Range|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Tons</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Tons|}}}
 
</td></tr>|1{{{Tons|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Critical Slots</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Critical Slots|}}}
 
</td></tr>|1{{{Critical Slots|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Ammo Per Ton</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Ammo Per Ton|}}}
 
</td></tr>|1{{{Ammo Per Ton|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Cost (unloaded)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Cost (unloaded)|}}}
 
</td></tr>|1{{{Cost (unloaded)|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
Ammo Cost (per ton)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{Ammo Cost (per ton)</|}}}
 
</td></tr>|1{{{Ammo Cost (per ton)</|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:
 
 
 
{{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
 
 
BV (1.0)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{BV (1.0)|}}}
 
</td></tr>|1{{{BV (1.0)|}}}=}}</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right;
 
 
 
width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;</td></tr></table><noinclude>
 
  
 
==Usage instructions==
 
==Usage instructions==

Revision as of 00:26, 10 October 2006

{{{name}}}
Production information
Type
Tech Base
Tech Base
Year Availability
Technical specifications
Heat
Damage
Minimum Range
Short Range
Medium Range
Long Range
Tons
Critical Slots
Ammo Per Ton
Cost (unloaded)
Ammo Cost (per ton)
BV (1.0)

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, delete it.

{{InfoBoxWeapon
| image = [[Image:*.***|191px]]
| name =
| Type =
| Tech Base =
| Year Availability =
| Heat =
| Damage = 
| Minimum Range =
| Short Range =
| Medium Range =
| Long Range = 
| Tons =
| Critical Slots =
| Ammo Per Ton =
| Cost (unloaded) =
| Ammo Cost (per ton) =
| BV (1.0) =
}}