Difference between revisions of "Template:InfoBoxWeapon"

(pre-major test change)
m
 
(59 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
+
<includeonly>{| class='infobox'
<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-collapse:collapse;">
+
| colspan='2' | {{{image|}}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#ffffff;"><br><br>{{{image|}}}</td></tr>
+
|-  
<tr style="text-align:center; color:#000000; background:#ffffff; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bdb;">'''Production information'''</th></tr>}} {{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;">Manufacturer</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| colspan='2' class='infoboxname' | {{{name}}}
{{{manufacturer|}}}
+
|-
</td></tr>|1{{{manufacturer|}}}=}} {{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;">Model</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| colspan='2' class='infoboxheading' | '''Production information'''
{{{model|}}}
+
|- class='infoboxrow'
</td></tr>|1{{{model|}}}=}} {{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;">Class</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| Type || {{{Type|}}}
{{{class|}}}
+
|- class='infoboxrow'
</td></tr>|1{{{class|}}}=}} {{t|1=|1{{{hidet|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bdb;">'''Technical specifications'''</th></tr>}} {{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;">Mass</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
| Tech Base || {{{Tech Base|}}}
{{{mass|}}}
+
|- class='infoboxrow'
</td></tr>|1{{{mass|}}}=}} {{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;">Chassis</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{#if:{{{Year Availability|}}}|
{{{chassis|}}}
+
{{!}} Year Availability
</td></tr>|1{{{chassis|}}}=}} {{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;">Armor</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}} {{{Year Availability|}}}
{{{armor|}}}
 
</td></tr>|1{{{armor|}}}=}} {{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;">Engine</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{engine|}}}
 
</td></tr>|1{{{engine|}}}=}} {{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;">Speed</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{speed|}}}
 
</td></tr>|1{{{speed|}}}=}} {{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;">Jump Jets</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{jumpjets|}}}
 
</td></tr>|1{{{jumpjets|}}}=}} {{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;">Armament</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{armament|}}}
 
</td></tr>|1{{{armament|}}}=}}</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==
 
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, delete it.
 
<pre><nowiki>
 
{{EquipWeapon
 
| image = [[Image:*.***|###px]]
 
| name =
 
| manufacturer =
 
| model =
 
| class =
 
| mass =
 
| chassis =
 
| armor =
 
| engine =
 
| speed =
 
| jumpjets =
 
| armament =
 
 
}}
 
}}
</nowiki></pre>
+
|- class='infoboxrow'
 
+
{{#if:{{{Year Introduced|}}}|
</noinclude>
+
{{!}} Year Introduced
 
+
{{!}} {{{Year Introduced|}}}
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Year Prototyped |}}}|
 +
{{!}} Prototyped Approximately
 +
{{!}} {{{Year Prototyped |}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Year Experimental |}}}|
 +
{{!}} [[Rules_Level#Experimental_Rules|Experimental Technology]] Year
 +
{{!}} {{{Year Experimental |}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Year Advanced |}}}|
 +
{{!}} [[Rules_Level#Advanced_Rules|Advanced Technology]] Year
 +
{{!}} {{{Year Advanced |}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Year Extinction|}}}|
 +
{{!}} Year Extinction
 +
{{!}} {{{Year Extinction|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Year Reintroduced |}}}|
 +
{{!}} Year Reintroduced
 +
{{!}} {{{Year Reintroduced |}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Tech Rating|}}}|
 +
{{!}} Technology Rating
 +
{{!}} {{{Tech Rating|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Availability Rating|}}}|
 +
{{!}} Availability Rating
 +
{{!}} {{{Availability Rating|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Age of War–Star League|}}}|
 +
{{!}} Availability Ratings
 +
{{!}}{{{Age of War–Star League|}}}/{{{Succession Wars|}}}/{{{Clan Invasion – Present|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Legality Rating|}}}|
 +
{{!}} Legality Rating
 +
{{!}} {{{Legality Rating|}}}
 +
}}
 +
|-
 +
| colspan='2' class='infoboxheading' | '''Technical specifications'''
 +
|- class="infoboxrow"
 +
{{#if:{{{Heat|}}}|
 +
{{!}} Heat
 +
{{!}} {{{Heat|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Damage|}}}|
 +
{{!}} Damage
 +
{{!}} {{{Damage|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Minimum Range|}}}|
 +
{{!}} Minimum Range
 +
{{!}} {{{Minimum Range|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Short Range|}}}|
 +
{{!}} Short Range
 +
{{!}} {{{Short Range|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Medium Range|}}}|
 +
{{!}} Medium Range
 +
{{!}} {{{Medium Range|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Long Range|}}}|
 +
{{!}} Long Range
 +
{{!}} {{{Long Range|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Extreme Range|}}}|
 +
{{!}} Extreme Range
 +
{{!}} {{{Extreme Range|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Aerospace Range|}}}|
 +
{{!}} Aerospace Range
 +
{{!}} {{{Aerospace Range|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Tons|}}}|
 +
{{!}} Tons
 +
{{!}} {{{Tons|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Mass|}}}|
 +
{{!}} Mass
 +
{{!}} {{{Mass|}}} kg
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Critical Slots|}}}|
 +
{{!}} Critical Slots
 +
{{!}} {{{Critical Slots|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Space Slots|}}}|
 +
{{!}} Space Slots
 +
{{!}} {{{Space Slots|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{BattleArmor Slots|}}}|
 +
{{!}} BattleArmor Slots
 +
{{!}} {{{BattleArmor Slots|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Infantry Crew|}}}|
 +
{{!}} Infantry Crew
 +
{{!}} {{{Infantry Crew|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Ammo Per Ton|}}}|
 +
{{!}} Ammo Per Ton
 +
{{!}} {{{Ammo Per Ton|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{RPG Shots Per Reload|}}}|
 +
{{!}} RPG Shots Per Reload
 +
{{!}} {{{RPG Shots Per Reload|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Mass Per Reload|}}}|
 +
{{!}} Mass Per Reload
 +
{{!}} {{{Mass Per Reload|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Bursts Per Reload|}}}|
 +
{{!}} Bursts Per Reload
 +
{{!}} {{{Bursts Per Reload|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Cost (unloaded)|}}}|
 +
{{!}} Cost (unloaded)
 +
{{!}} {{{Cost (unloaded)|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Inf Weapon Cost (unloaded)|}}}|
 +
{{!}} Inf Weapon Cost (unloaded)
 +
{{!}} {{{Inf Weapon Cost (unloaded)|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{BA Weapon Cost (unloaded)|}}}|
 +
{{!}} BA Weapon Cost (unloaded)
 +
{{!}} {{{BA Weapon Cost (unloaded)|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Ammo Cost (per ton)|}}}|
 +
{{!}} Ammo Cost (per ton)
 +
{{!}} {{{Ammo Cost (per ton)|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Ammo Cost (per Reload)|}}}|
 +
{{!}} Ammo Cost (per Reload)
 +
{{!}} {{{Ammo Cost (per Reload)|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{BV (1.0)|}}}|
 +
{{!}} BV (1.0)
 +
{{!}} {{{BV (1.0)|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Ammo BV (1.0)|}}}|
 +
{{!}} Ammo BV (1.0)
 +
{{!}} {{{Ammo BV (1.0)|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{BV (2.0)|}}}|
 +
{{!}} BV (2.0)
 +
{{!}} {{{BV (2.0)|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Ammo BV (2.0)|}}}|
 +
{{!}} Ammo BV (2.0)
 +
{{!}} {{{Ammo BV (2.0)|}}}
 +
}}
 +
|}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 20:52, 4 April 2024