Difference between revisions of "Template:InfoBoxWeapon"

(gaaa)
m
 
(36 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 113: Line 186:
 
{{!}} BV (1.0)
 
{{!}} 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"
 
|- class="infoboxrow"
Line 119: Line 197:
 
{{!}} {{{BV (2.0)|}}}
 
{{!}} {{{BV (2.0)|}}}
 
}}
 
}}
|}
+
|- class="infoboxrow"
 
+
{{#if:{{{Ammo BV (2.0)|}}}|
<noinclude>
+
{{!}} Ammo BV (2.0)
==Usage instructions==
+
{{!}} {{{Ammo BV (2.0)|}}}
Copy and paste the following code into the top of the article, filling the appropriate fields. This has duplicate Fields for the BattleTech Stats of three different classes of Weapons (Infantry Portable Weapons, BattleArmor Weapons, Combat Vehicle Weapons/BattleMech Weapons). If a field is unknown delete it. 
 
 
 
<pre><nowiki>
 
{{InfoBoxWeapon
 
| image = [[Image:*.***|191px]]
 
| name = ???
 
| Type = ???
 
| Tech Base = ???
 
| 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 = ???
 
| Infantry Crew
 
Clan = ???
 
IS = ???
 
| Space Slots
 
Clan = ???
 
IS = ???
 
| BattleArmor Slots
 
Clan = ???
 
IS = ???
 
| Ammo Per Ton =
 
Clan = ???
 
IS = ???
 
| RPG Shots Per Reload =
 
Clan = ???
 
IS = ???
 
| Bursts Per Reload =
 
Clan = ???
 
IS = ???
 
| Mass Per Reload =
 
Clan = ???
 
IS = ???
 
| Cost (unloaded) =
 
Clan = ???
 
IS = ???
 
| Ammo Cost (per ton) =
 
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