Difference between revisions of "Template:InfoBoxWeapon"

(Adding in BT Stats for Infantry Units - Partial)
m
 
(39 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class='infobox'
+
<includeonly>{| class='infobox'
 
|-
 
|-
 
| colspan='2' | {{{image|}}}
 
| colspan='2' | {{{image|}}}
Line 7: Line 7:
 
| colspan='2' class='infoboxheading' | '''Production information'''
 
| colspan='2' class='infoboxheading' | '''Production information'''
 
|- class='infoboxrow'  
 
|- class='infoboxrow'  
| Type     || {{{Type|}}}
+
| Type || {{{Type|}}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Tech Base           || {{{Tech Base|}}}
+
| Tech Base || {{{Tech Base|}}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Year Availability         || {{{Year Availability|}}}
+
{{#if:{{{Year Availability|}}}|
 +
{{!}} Year Availability
 +
{{!}} {{{Year Availability|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Year Introduced|}}}|
 +
{{!}} Year Introduced
 +
{{!}} {{{Year Introduced|}}}
 +
}}
 +
|- 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'''
 
| colspan='2' class='infoboxheading' | '''Technical specifications'''
Line 20: Line 73:
 
}}
 
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Damage       || {{{Damage|}}}
+
{{#if:{{{Damage|}}}|
 +
{{!}} Damage
 +
{{!}} {{{Damage|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Minimum Range       || {{{Minimum Range|}}}
+
{{#if:{{{Minimum Range|}}}|
 +
{{!}} Minimum Range
 +
{{!}} {{{Minimum Range|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Short Range     || {{{Short Range|}}}
+
{{#if:{{{Short Range|}}}|
 +
{{!}} Short Range
 +
{{!}} {{{Short Range|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Medium Range         || {{{Medium Range|}}}
+
{{#if:{{{Medium Range|}}}|
 +
{{!}} Medium Range
 +
{{!}} {{{Medium Range|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Long Range || {{{Long Range|}}}
+
{{#if:{{{Long Range|}}}|
 +
{{!}} Long Range
 +
{{!}} {{{Long Range|}}}
 +
}}
 
|- class="infoboxrow"
 
|- class="infoboxrow"
 
{{#if:{{{Extreme Range|}}}|
 
{{#if:{{{Extreme Range|}}}|
 
{{!}} Extreme Range
 
{{!}} Extreme Range
 
{{!}} {{{Extreme Range|}}}
 
{{!}} {{{Extreme Range|}}}
 +
}}
 +
|- class="infoboxrow"
 +
{{#if:{{{Aerospace Range|}}}|
 +
{{!}} Aerospace Range
 +
{{!}} {{{Aerospace Range|}}}
 
}}
 
}}
 
|- class="infoboxrow"
 
|- class="infoboxrow"
Line 85: Line 158:
 
}}
 
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
{{#if:{{{Cost (unloaded)       |
+
{{#if:{{{Cost (unloaded)|}}}|
 
{{!}} Cost (unloaded)
 
{{!}} Cost (unloaded)
 
{{!}} {{{Cost (unloaded)|}}}
 
{{!}} {{{Cost (unloaded)|}}}
 
}}
 
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
{{#if:{{{Inf Weapon Cost (unloaded)       |
+
{{#if:{{{Inf Weapon Cost (unloaded)|}}}|
 
{{!}} Inf Weapon Cost (unloaded)
 
{{!}} Inf Weapon Cost (unloaded)
 
{{!}} {{{Inf Weapon Cost (unloaded)|}}}
 
{{!}} {{{Inf Weapon Cost (unloaded)|}}}
 
}}
 
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
{{#if:{{{BA Weapon Cost (unloaded)       |
+
{{#if:{{{BA Weapon Cost (unloaded)|}}}|
 
{{!}} BA Weapon Cost (unloaded)
 
{{!}} BA Weapon Cost (unloaded)
 
{{!}} {{{BA Weapon Cost (unloaded)|}}}
 
{{!}} {{{BA Weapon Cost (unloaded)|}}}
Line 114: Line 187:
 
{{!}} {{{BV (1.0)|}}}
 
{{!}} {{{BV (1.0)|}}}
 
}}
 
}}
|- class='infoboxrow'
+
|- class="infoboxrow"
| BV (2.0)     || {{{BV (2.0)|}}}
+
{{#if:{{{Ammo BV (1.0)|}}}|
|}
+
{{!}} Ammo BV (1.0)
 
+
{{!}} {{{Ammo BV (1.0)|}}}
<noinclude>
+
}}
==Usage instructions==
+
|- class="infoboxrow"
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, delete it.
+
{{#if:{{{BV (2.0)|}}}|
 
+
{{!}} BV (2.0)
<pre><nowiki>
+
{{!}} {{{BV (2.0)|}}}
{{InfoBoxWeapon
+
}}
| image = [[Image:*.***|191px]]
+
|- class="infoboxrow"
| name = ???
+
{{#if:{{{Ammo BV (2.0)|}}}|
| Type = ???
+
{{!}} Ammo BV (2.0)
| Tech Base = ???
+
{{!}} {{{Ammo BV (2.0)|}}}
| Year Availability =
 
Clan = ???
 
IS = ???
 
| Heat =
 
Clan = ???
 
IS = ???
 
| Damage =
 
Clan = ???
 
IS = ???
 
| Minimum Range =
 
Clan = ???
 
IS = ???
 
| Short Range =
 
Clan = ???
 
IS = ???
 
| Medium Range =
 
Clan = ???
 
IS = ???
 
| Long Range =
 
Clan = ???
 
IS = ???
 
| Tons =
 
Clan = ???
 
IS = ???
 
| Mass =
 
Clan = ???
 
IS = ???
 
| Critical Slots =
 
Clan = ???
 
IS = ???
 
| Space Slots
 
Clan = ???
 
IS = ???
 
| Ammo Per Ton =
 
Clan = ???
 
IS = ???
 
| Cost (unloaded) =
 
Clan = ???
 
IS = ???
 
| Ammo Cost (per ton) =
 
Clan = ???
 
IS = ???
 
| BV (1.0) =
 
Clan = ???
 
IS = ???
 
| BV (2.0) =
 
Clan = ???
 
IS = ???
 
 
}}
 
}}
</nowiki></pre>
+
|}</includeonly><noinclude>{{documentation}}</noinclude>
 
 
</noinclude>
 
 
 
<noinclude>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|Weapon]]
 
</noinclude>
 

Latest revision as of 20:52, 4 April 2024