Difference between revisions of "Template:InfoBoxWeapon"

m
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class='infobox'
+
<includeonly>{| class='infobox'
 
|-
 
|-
 
| colspan='2' | {{{image|}}}
 
| colspan='2' | {{{image|}}}
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'
 +
{{#if:{{{Year Introduced|}}}|
 +
{{!}} Year Introduced
 +
{{!}} {{{Year Introduced|}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Year Introduced || {{{Year Introduced|}}}
+
{{#if:{{{Year Prototyped |}}}|
 +
{{!}} Prototyped Approximately
 +
{{!}} {{{Year Prototyped |}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Year Extinction || {{{Year Extinction|}}}
+
{{#if:{{{Year Experimental |}}}|
 +
{{!}} [[Rules_Level#Experimental_Rules|Experimental Technology]] Year
 +
{{!}} {{{Year Experimental |}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Year Reintroduced || {{{Year Reintroduced|}}}
+
{{#if:{{{Year Advanced |}}}|
 +
{{!}} [[Rules_Level#Advanced_Rules|Advanced Technology]] Year
 +
{{!}} {{{Year Advanced |}}}
 +
}}
 
|- class='infoboxrow'
 
|- class='infoboxrow'
| Technology Rating || {{{Tech Rating|}}}
+
{{#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'
 
|- 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|}}}|
 +
{{!}} 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'''
Line 34: 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 143: Line 202:
 
{{!}} {{{Ammo BV (2.0)|}}}
 
{{!}} {{{Ammo BV (2.0)|}}}
 
}}
 
}}
|}
+
|}</includeonly><noinclude>{{documentation}}</noinclude>
 
 
<noinclude>
 
==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:InfoBoxWeapon|template]] for a weapons' main page and [[Template:InfoBoxInfantryWeapon]] for the Role Playing Game Sub-Pages. If a field is unknown, delete it. 
 
 
 
<pre><nowiki>
 
{{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 = ???
 
}}
 
</nowiki></pre>
 
 
 
</noinclude>
 
 
 
<noinclude>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|Weapon]]
 
</noinclude>
 

Latest revision as of 20:52, 4 April 2024