Difference between revisions of "Template:InfoBoxWeapon"

(rewrote table to use css, wiki tables)
m
(44 intermediate revisions by 6 users not shown)
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'
| Tech Base        || {{{Tech Base|}}}
+
{{#if:{{{Year Availability|}}}|
 +
{{!}} Year Availability
 +
{{!}} {{{Year Availability|}}}
 +
}}
 +
|- class='infoboxrow'
 +
{{#if:{{{Year Introduced|}}}|
 +
{{!}} Year Introduced
 +
{{!}} {{{Year Introduced|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Year Availability          || {{{Year Availability|}}}
+
{{#if:{{{Year Prototyped |}}}|
|-
+
{{!}} Prototyped Approximately
| colspan='2' class='infoboxheading' | '''Technical specifications'''
+
{{!}} {{{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'
 
|- class='infoboxrow'
| Heat          || {{{Heat|}}}
+
{{#if:{{{Tech Rating|}}}|
 +
{{!}} Technology Rating
 +
{{!}} {{{Tech Rating|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Damage        || {{{Damage|}}}
+
{{#if:{{{Availability Rating|}}}|
 +
{{!}} Availability Rating
 +
{{!}} {{{Availability Rating|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Minimum Range        || {{{Minimum Range|}}}
+
{{#if:{{{Age of War–Star League|}}}|
 +
{{!}} Availability Ratings
 +
{{!}}{{{Age of War–Star League|}}}/{{{Succession Wars|}}}/{{{Clan Invasion – Present|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Short Range      || {{{Short Range|}}}
+
{{#if:{{{Legality Rating|}}}|
 +
{{!}} Legality Rating
 +
{{!}} {{{Legality Rating|}}}
 +
}}
 +
|-
 +
| colspan='2' class='infoboxheading' | '''Technical specifications'''
 +
|- class="infoboxrow"
 +
{{#if:{{{Heat|}}}|
 +
{{!}} Heat
 +
{{!}} {{{Heat|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Medium Range        || {{{Medium Range|}}}
+
{{#if:{{{Damage|}}}|
 +
{{!}} Damage
 +
{{!}} {{{Damage|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Long Range || {{{Long Range|}}}
+
{{#if:{{{Minimum Range|}}}|
 +
{{!}} Minimum Range
 +
{{!}} {{{Minimum Range|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Tons          || {{{Tons|}}}
+
{{#if:{{{Short Range|}}}|
 +
{{!}} Short Range
 +
{{!}} {{{Short Range|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Critical Slots        || {{{Critical Slots|}}}
+
{{#if:{{{Medium Range|}}}|
 +
{{!}} Medium Range
 +
{{!}} {{{Medium Range|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Ammo Per Ton|| {{{Ammo Per Ton|}}}
+
{{#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'
 
|- class='infoboxrow'
| Cost (unloaded)       || {{{Cost (unloaded)|}}}
+
{{#if:{{{Cost (unloaded)|}}}|
 +
{{!}} Cost (unloaded)
 +
{{!}} {{{Cost (unloaded)|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Ammo Cost (per ton)       || {{{Ammo Cost (per ton)|}}}
+
{{#if:{{{Inf Weapon Cost (unloaded)|}}}|
 +
{{!}} Inf Weapon Cost (unloaded)
 +
{{!}} {{{Inf Weapon Cost (unloaded)|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| BV (1.0)     || {{{BV (1.0)|}}}
+
{{#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)|}}}
 +
}}
 
|}
 
|}
  
 +
<noinclude>
 
==Usage instructions==
 
==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.
+
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:InfoBoxWeapon|template]] for a weapons' main page and [[Template:InfoBoxRPGWeapon]] for the Role Playing Game Sub-Pages. If a field is unknown, delete it.
  
 
<pre><nowiki>
 
<pre><nowiki>
 
{{InfoBoxWeapon
 
{{InfoBoxWeapon
| image = [[Image:*.***|191px]]
+
| image = [[Image:*.***|250px]]
| name =
+
| name = ???
| Type =
+
| Type =  
| Tech Base =
+
[[:Category:Light Weapons (Mele)|M]]
| Year Availability =
+
[[:Category:Light Weapons (Ballistic)|B]]
| Heat =
+
[[:Category:Light Weapons (Energy)|E]]
 +
[[:Category:Light Weapons (eXplosive)|X]]
 +
[[:Category:Medium Weapons (Mele)|M]]
 +
[[:Category:Medium Weapons (Ballistic)|B]]
 +
[[:Category:Medium Weapons (Energy)|E]]
 +
[[:Category:Medium Weapons (eXplosive)|X]]
 +
[[:Category:Heavy Weapons (Mele)|M]]
 +
[[:Category:Heavy Weapons (Ballistic)|B]]
 +
[[:Category:Heavy Weapons (Energy)|E]]
 +
[[:Category:Heavy Weapons (eXplosive)|X]]
 +
[[:Category:Capital Weapons (Mele)|M]]
 +
[[:Category:Capital Weapons (Ballistic)|B]]
 +
[[:Category:Capital Weapons (Energy)|E]]
 +
[[:Category:Capital Weapons (eXplosive)|X]]
 +
| Usage =
 +
[[:Category:Foot Infantry|Foot Infantry Portable]]
 +
[[:Category:Jump Infantry|Jump Infantry Portable]]
 +
[[:Category:Motorized Infantry|Motorized Infantry]]
 +
[[:Category:Mechanized Infantry|Mechanized Infantry]]
 +
[[:Category:Pintle Mounts|Pintle]]
 +
[[:Category:Battle Armor|Battle Armor Mounted]]
 +
[[:Category:Combat Vehicles]]
 +
[[:Category:Support Vehicles]]
 +
[[:Category:BattleMechs]]
 +
[[:Category:UtilityMechs]]
 +
[[:Category:AeroSpace Fighters]]
 +
[[:Category:Small Craft]]
 +
[[:Category:Mobile Structures]]
 +
[[:Category:DropShips]]
 +
[[:Category:JumpShips]]
 +
[[:Category:Space Stations]]
 +
[[:Category:Capital Ships]]
 +
| Tech Base = ???
 +
[[Clan]]
 +
[[Inner Sphere|IS]]
 +
| 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 Prototype Technology = 
 +
Clan = [[YEAR]] [[Clan Faction|TLA]]
 +
IS = [[YEAR]] [[IS Faction|TLA]]
 +
| Year Experimental Technology = 
 +
Clan = [[YEAR]] [[Clan Faction|TLA]]
 +
IS = [[YEAR]] [[IS Faction|TLA]]
 +
| Year Advanced Technology = 
 +
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#(Choose One A - F)|?]]
 +
| Availability Rating = [[Availability Rating#(Choose One A - F, X)|?]]
 +
| Age of War–Star League = [[Availability Rating#(Choose One A - F, X)|?]]
 +
| Succession Wars = [[Availability Rating#(Choose One A - F, X)|?]]
 +
| Clan Invasion – Present = [[Availability Rating#(Choose One A - F, X)|?]]
 +
| Legality Rating = [[Legality Rating#(Choose One A - F)|?]]
 +
| Heat =  
 +
Clan = ???
 +
IS = ???
 
| Damage =  
 
| Damage =  
| Minimum Range =
+
Clan = ???
| Short Range =
+
IS = ???
 +
| Minimum Range =  
 +
Clan = ???
 +
IS = ???
 +
| Short Range =  
 +
Clan = ???
 +
IS = ???
 
| Medium Range =
 
| Medium Range =
 +
Clan = ???
 +
IS = ???
 
| Long Range =  
 
| Long Range =  
 +
Clan = ???
 +
IS = ???
 +
| Extreme Range =
 +
Clan = ???
 +
IS = ???
 +
| Aerospace Range =
 +
Clan = ???
 +
IS = ???
 
| Tons =
 
| Tons =
 +
Clan = ???
 +
IS = ???
 +
| Mass =
 +
Clan = ???
 +
IS = ???
 
| Critical Slots =
 
| Critical Slots =
| Ammo Per Ton =
+
Clan = ???
| Cost (unloaded) =
+
IS = ???
| Ammo Cost (per ton) =
+
| Space Slots =
| BV (1.0) =
+
Clan = ???
 +
IS = ???
 +
| Battle Armor Slots =
 +
Clan = ???
 +
IS = ???
 +
| Infantry Crew =
 +
Clan = ???
 +
IS = ???
 +
| RPG Shots Per Reload =
 +
Clan = ???
 +
IS = ???
 +
| RPG Shots Per Burst =
 +
Clan = ???
 +
IS = ???
 +
| Bursts Per Reload =
 +
Clan = ???
 +
IS = ???
 +
| Mass Per Reload =
 +
Clan = ???
 +
IS = ???
 +
| Cost (unloaded) =  
 +
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 = ???
 
}}
 
}}
 +
 +
 
</nowiki></pre>
 
</nowiki></pre>
  
 
</noinclude>
 
</noinclude>
  
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
<noinclude>
 +
[[Category:Templates|{{PAGENAME}}]]
 +
[[Category:Infobox templates|Weapon]]
 +
</noinclude>

Revision as of 09:12, 21 February 2019

{{{name}}}
Production information
Type
Tech Base
Technical specifications


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:InfoBoxRPGWeapon for the Role Playing Game Sub-Pages. If a field is unknown, delete it.

{{InfoBoxWeapon
| image = [[Image:*.***|250px]]
| name = ???
| Type = 
[[:Category:Light Weapons (Mele)|M]]
[[:Category:Light Weapons (Ballistic)|B]]
[[:Category:Light Weapons (Energy)|E]]
[[:Category:Light Weapons (eXplosive)|X]]
[[:Category:Medium Weapons (Mele)|M]]
[[:Category:Medium Weapons (Ballistic)|B]]
[[:Category:Medium Weapons (Energy)|E]]
[[:Category:Medium Weapons (eXplosive)|X]]
[[:Category:Heavy Weapons (Mele)|M]]
[[:Category:Heavy Weapons (Ballistic)|B]]
[[:Category:Heavy Weapons (Energy)|E]]
[[:Category:Heavy Weapons (eXplosive)|X]]
[[:Category:Capital Weapons (Mele)|M]]
[[:Category:Capital Weapons (Ballistic)|B]]
[[:Category:Capital Weapons (Energy)|E]]
[[:Category:Capital Weapons (eXplosive)|X]]
| Usage = 
[[:Category:Foot Infantry|Foot Infantry Portable]]
[[:Category:Jump Infantry|Jump Infantry Portable]]
[[:Category:Motorized Infantry|Motorized Infantry]]
[[:Category:Mechanized Infantry|Mechanized Infantry]]
[[:Category:Pintle Mounts|Pintle]]
[[:Category:Battle Armor|Battle Armor Mounted]]
[[:Category:Combat Vehicles]]
[[:Category:Support Vehicles]]
[[:Category:BattleMechs]]
[[:Category:UtilityMechs]]
[[:Category:AeroSpace Fighters]]
[[:Category:Small Craft]]
[[:Category:Mobile Structures]]
[[:Category:DropShips]]
[[:Category:JumpShips]]
[[:Category:Space Stations]]
[[:Category:Capital Ships]]
| Tech Base = ???
[[Clan]]
[[Inner Sphere|IS]]
| 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 Prototype Technology =  
Clan = [[YEAR]] [[Clan Faction|TLA]]
IS = [[YEAR]] [[IS Faction|TLA]]
| Year Experimental Technology =  
Clan = [[YEAR]] [[Clan Faction|TLA]]
IS = [[YEAR]] [[IS Faction|TLA]]
| Year Advanced Technology =  
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#(Choose One A - F)|?]]
| Availability Rating = [[Availability Rating#(Choose One A - F, X)|?]]
| Age of War–Star League = [[Availability Rating#(Choose One A - F, X)|?]]
| Succession Wars = [[Availability Rating#(Choose One A - F, X)|?]]
| Clan Invasion – Present = [[Availability Rating#(Choose One A - F, X)|?]]
| Legality Rating = [[Legality Rating#(Choose One A - F)|?]]
| Heat = 
Clan = ???
IS = ???
| Damage = 
Clan = ???
IS = ???
| Minimum Range = 
Clan = ???
IS = ???
| Short Range = 
Clan = ???
IS = ???
| Medium Range =
Clan = ???
IS = ???
| Long Range = 
Clan = ???
IS = ???
| Extreme Range =
Clan = ???
IS = ???
| Aerospace Range =
Clan = ???
IS = ???
| Tons =
Clan = ???
IS = ???
| Mass =
Clan = ???
IS = ???
| Critical Slots =
Clan = ???
IS = ???
| Space Slots =
Clan = ???
IS = ???
| Battle Armor Slots =
Clan = ???
IS = ???
| Infantry Crew =
Clan = ???
IS = ???
| RPG Shots Per Reload = 
Clan = ???
IS = ???
| RPG Shots Per Burst = 
Clan = ???
IS = ???
| Bursts Per Reload = 
Clan = ???
IS = ???
| Mass Per Reload = 
Clan = ???
IS = ???
| Cost (unloaded) = 
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 = ???
}}