Difference between revisions of "Template:InfoBoxWeapon"

m (Changed to hide Availability information on articles that don't have it.)
Line 11: Line 11:
 
| 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'
 
|- class='infoboxrow'
| Year Introduced || {{{Year Introduced|}}}
+
{{#if:{{{Year Introduced|}}}|
 +
{{!}} Year Introduced
 +
{{!}} {{{Year Introduced|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Year Extinction || {{{Year Extinction|}}}
+
{{#if:{{{Year Extinction|}}}|
 +
{{!}} Year Extinction
 +
{{!}} {{{Year Extinction|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Year Reintroduced || {{{Year Reintroduced|}}}
+
{{#if:{{{Year Reintroduced |}}}|
 +
{{!}} Year Reintroduced
 +
{{!}} {{{Year Reintroduced |}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Technology Rating || {{{Tech Rating|}}}
+
{{#if:{{{Tech Rating|}}}|
 +
{{!}} Technology Rating
 +
{{!}} {{{Tech Rating|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Availability Rating || {{{Availability Rating|}}}
+
{{#if:{{{Availability Rating|}}}|
 +
{{!}} Availability Rating
 +
{{!}} {{{Availability Rating|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Availability Ratings || {{{Age of War–Star League|}}}/{{{Succession Wars|}}}/{{{Clan Invasion – Present|}}}
+
{{#if:{{{Age of War–Star League|}}}/{{{Succession Wars|}}}/{{{Clan Invasion – Present|}}}|
 +
{{!}} Availability Ratings
 +
{{!}}{{{Age of War–Star League|}}}/{{{Succession Wars|}}}/{{{Clan Invasion – Present|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Legality Rating || {{{Legality Rating|}}}
+
{{#if:{{{Legality Rating|}}}|
 +
{{!}} Legality Rating
 +
{{!}} {{{Legality Rating|}}}
 +
}}
 
|-
 
|-
 
| colspan='2' class='infoboxheading' | '''Technical specifications'''
 
| colspan='2' class='infoboxheading' | '''Technical specifications'''

Revision as of 14:08, 14 February 2011

{{{name}}}
Production information
Type
Tech Base
Availability Ratings //
Technical specifications
Damage
Minimum Range
Short Range
Medium Range
Long Range


Usage instructions

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). Use The current template for a weapons' main page and Template:InfoBoxInfantryWeapon for the Role Playing Game Sub-Pages. If a field is unknown, delete it.

{{InfoBoxWeapon
| image = [[Image:*.***|191px]]
| name = ???
| Type = ???
| Tech Base = ???
[[Inner Sphere]]
[[Clan]]
| Year Availability = 
Clan = [[YEAR]] [[Clan Faction|TLA]]
IS = [[YEAR]] [[IS Faction|TLA]]
| Year Introduced =  
Clan = [[YEAR]] [[Clan Faction|TLA]]
IS = [[YEAR]] [[IS Faction|TLA]]
| Year Extinction =  
Clan = [[YEAR]] [[Clan Faction|TLA]]
IS = [[YEAR]] [[IS Faction|TLA]]
| Year Reintroduced =  
Clan = [[YEAR]] [[Clan Faction|TLA]]
IS = [[YEAR]] [[IS Faction|TLA]]
| Tech Rating = [[Technology Rating#A - F|A - F]]
| Availability Rating = [[Availability Rating#A - F, X|A - F, X]]
| Age of War–Star League = [[Availability Rating#A - F, X|A - F, X]]
| Succession Wars = [[Availability Rating#A - F, X|A - F, X]]
| Clan Invasion – Present = [[Availability Rating#A - F, X|A - F, X]]
| Legality Rating = [[Legality Rating#A - F|A - F]]
| 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 reload) = 
Clan = ???
IS = ???
| BV (1.0) = 
Clan = ???
IS = ???
| Ammo BV (1.0) = 
Clan = ???
IS = ???
| BV (2.0) =
Clan = ???
IS = ???
| Ammo BV (2.0) =
Clan = ???
IS = ???
}}