Difference between revisions of "Template:InfoBoxWeapon2"

m
(Whee.)
Line 1: Line 1:
 
{| class="infobox"
 
{| class="infobox"
|colspan="2"|{{{image|}}}
+
|-
|-  
+
|colspan="2"|{{#if:{{{image|}}}|[[Image:{{{image}}}]]|}}
 +
|-
 
|colspan="2" class="infoboxname"|{{{name}}}
 
|colspan="2" class="infoboxname"|{{{name}}}
 
|-
 
|-
 
|colspan="2" class="infoboxheading"|'''Production information'''
 
|colspan="2" class="infoboxheading"|'''Production information'''
|- class='infoboxrow'
+
|- class="infoboxrow"
|Type
+
|Type||{{{Type|}}}
|{{{Type|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|TechBase||{{#switch:{{{Tech Base}}}|IS=Inner Sphere|C=Clan|B=Clan/Inner Sphere|{{{Tech Base|}}}}}
|Tech Base
+
|- class="infoboxrow"
|{{#switch:{{{Tech Base}}}|IS=Inner Sphere|C=Clan|B=Clan/Inner Sphere}}
+
|rowspan="2"|Year Availability
|- class='infoboxrow'
+
|class="top"|{{{Year C|}}}
|Year Availability
+
|- class="infoboxrow"
|{{#switch:{{{Tech Base}}}|B=<table style="background-color: inherit"><tr style="border: none"><td>Clan:</td><td>{{{year C|}}}</td></tr><tr style="border: none"><td>Inner Sphere:</td><td>{{{year IS|}}}</td></tr></table>|{{{Year Availability|}}}}}
+
|class="bot"|{{{Year IS|{{{Year C|}}}}}}
 
|-
 
|-
 
|colspan="2" class="infoboxheading"|'''Technical specifications'''
 
|colspan="2" class="infoboxheading"|'''Technical specifications'''
|- class='infoboxrow'
+
|- class="infoboxrow"
|Heat
+
|rowspan="2"|Heat
|{{{Heat|}}}
+
|class="top"|{{{Heat C|}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Damage
+
|class="bot"|{{{Heat IS|{{{Heat C|}}}}}}
|{{{Damage|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|rowspan="2"|Damage
|Minimum Range
+
|class="top"|{{{Damage C|}}}
|{{{Minimum Range|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|class="bot"|{{{Damage IS|{{{Damage C|}}}}}}
|Short Range
+
|- class="infoboxrow"
|{{{Short Range|}}}
+
|rowspan="2"|Minimum Range
|- class='infoboxrow'
+
|class="top"|{{{Minimum Range C|}}}
|Medium Range
+
|- class="infoboxrow"
|{{{Medium Range|}}}
+
|class="bot"|{{{Minimum Range IS|{{{Minimum Range C|}}}}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Long Range
+
|rowspan="2"|Short Range
|{{{Long Range|}}}
+
|class="top"|{{{Short Range C|}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Tons||{{{Tons|}}}
+
|class="bot"|{{{Short Range IS|{{{Short Range C|}}}}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Critical Slots
+
|rowspan="2"|Medium Range
|{{{Critical Slots|}}}
+
|class="top"|{{{Medium Range C|}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Ammo Per Ton
+
|class="bot"|{{{Medium Range IS|{{{Medium Range C|}}}}}}
|{{{Ammo Per Ton|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|rowspan="2"|Long Range
|Cost (unloaded)
+
|class="top"|{{{Long Range C|}}}
|{{{Cost (unloaded)|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|class="bot"|{{{Long Range IS|{{{Long Range C|}}}}}}
|Ammo Cost (per ton)
+
|- class="infoboxrow"
|{{{Ammo Cost (per ton)|}}}
+
|rowspan="2"|Tons
|- class='infoboxrow'
+
|class="top"|{{{Tons C|}}}
|BV (1.0)
+
|- class="infoboxrow"
|{{{BV (1.0)|}}}
+
|class="bot"|{{{Tons IS|{{{Tons C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|Critical Slots
 +
|class="top"|{{{Critical Slots C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|{{{Critical Slots IS|{{{Critical Slots C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|Ammo (per ton)
 +
|class="top"|{{{Ammo (per ton) C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|{{{Ammo (per ton) IS|{{{Ammo (per ton) C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|Cost (unloaded)
 +
|class="top"|{{{Cost(unloaded) C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|{{{Cost(unloaded) IS|{{{Cost(unloaded) C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|Ammo Cost (per ton)
 +
|class="top"|{{{Ammo Cost (per ton) C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|{{{Ammo Cost (per ton) IS|{{{Ammo Cost (per ton) C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|BV (1.0)
 +
|class="top"|{{{BV (1.0) C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|{{{BV (1.0) IS|{{{BV (1.0) C|}}}}}}
 
|}<noinclude>
 
|}<noinclude>
==Usage instructions==
+
==Usage==
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, delete it.
+
 
 +
;Note:If there is no image available, replace ''image='' with ''noimg=true''
 +
 
 +
;Note:If there are ''no'' differences between Inner Sphere and Clan versions you can omit the <code>'' IS''</code> parameter for that statistic <u>entirely</u>.
  
<pre>{{InfoBoxWeapon
+
=='Empty' Template==
|image=[[Image:*.***|191px]]
+
&#123;{InfoBoxWeapon2
|name=???
+
|image='''filename.extension'''
|Type=???
+
|name='''Weapon's name'''
|Tech Base=???
+
|Type='''Type of weapon'''
|Year Availability=
+
|Tech Base='''IS''' ''or'' '''C''' ''or'' '''B'''
Clan=???
+
|Year C='''Year Availability ''(Clan)'''''
IS=???
+
|Year IS='''Year Availability ''(Inner Sphere)'''''
|Heat=
+
|Heat C='''Heat ''(Clan)'''''
Clan=???
+
|Heat IS='''Heat ''(Inner Sphere)'''''
IS=???
+
|Damage C='''Damage ''(Clan)'''''
|Damage=
+
|Damage IS='''Damage ''(Inner Sphere)'''''
Clan=???
+
|Minimum Range C='''Minimum Range ''(Clan)'''''
IS=???
+
|Minimum Range IS='''Minimum Range ''(Inner Sphere)'''''
|Minimum Range=
+
|Short Range C='''Short Range ''(Clan)'''''
Clan=???
+
|Short Range IS='''Short Range ''(Inner Sphere)'''''
IS=???
+
|Medium Range C='''Medium Range ''(Clan)'''''
|Short Range=
+
|Medium Range IS='''Medium Range ''(Inner Sphere)'''''
Clan=???
+
|Long Range C='''Long Range ''(Clan)'''''
IS=???
+
|Long Range IS='''Long Range ''(Inner Sphere)'''''
|Medium Range=
+
|Tons C='''Tons ''(Clan)'''''
Clan=???
+
|Tons IS='''Tons ''(Inner Sphere)'''''
IS=???
+
|Critical Slots C='''Critical Slots ''(Clan)'''''
|Long Range=
+
|Critical Slots IS='''Critical Slots ''(Inner Sphere)'''''
Clan=???
+
|Ammo (per ton) C='''Ammo (per ton) ''(Clan)'''''
IS=???
+
|Ammo (per ton) IS='''Ammo (per ton) ''(Inner Sphere)'''''
|Tons=
+
|Cost (unloaded) C='''Cost (unloaded) ''(Clan)'''''
Clan=???
+
|Cost (unloaded) IS='''Cost (unloaded) ''(Inner Sphere)'''''
IS=???
+
|Ammo Cost (per ton) C='''Ammo Cost (per ton) ''(Clan)'''''
|Critical Slots=
+
|Ammo Cost (per ton) IS='''Ammo Cost (per ton) ''(Inner Sphere)'''''
Clan=???
+
|BV (1.0) C='''BV (1.0) ''(Clan)'''''
IS=???
+
|BV (1.0) IS='''BV (1.0) ''(Inner Sphere)'''''
|Ammo Per Ton=
+
}&#125;
Clan=???
 
IS=???
 
|Cost (unloaded)=
 
Clan=???
 
IS=???
 
|Ammo Cost (per ton)=
 
Clan=???
 
IS=???
 
|BV (1.0)=
 
Clan=???
 
IS=???
 
}}</pre>
 
  
[[Category:Templates|Xoid/InfoBoxWeapon]]</noinclude>
+
<!--
 +
[[Category:Templates|{{SUBST:PAGENAME}}]]
 +
-->
 +
</noinclude>

Revision as of 07:18, 20 November 2006

{{{name}}}
Production information
Type
TechBase
Year Availability
Technical specifications
Heat
Damage
Minimum Range
Short Range
Medium Range
Long Range
Tons
Critical Slots
Ammo (per ton)
Cost (unloaded)
Ammo Cost (per ton)
BV (1.0)

Usage

Note
If there is no image available, replace image= with noimg=true
Note
If there are no differences between Inner Sphere and Clan versions you can omit the IS parameter for that statistic entirely.

'Empty' Template

{{InfoBoxWeapon2
|image=filename.extension
|name=Weapon's name
|Type=Type of weapon
|Tech Base=IS or C or B
|Year C=Year Availability (Clan)
|Year IS=Year Availability (Inner Sphere)
|Heat C=Heat (Clan)
|Heat IS=Heat (Inner Sphere)
|Damage C=Damage (Clan)
|Damage IS=Damage (Inner Sphere)
|Minimum Range C=Minimum Range (Clan)
|Minimum Range IS=Minimum Range (Inner Sphere)
|Short Range C=Short Range (Clan)
|Short Range IS=Short Range (Inner Sphere)
|Medium Range C=Medium Range (Clan)
|Medium Range IS=Medium Range (Inner Sphere)
|Long Range C=Long Range (Clan)
|Long Range IS=Long Range (Inner Sphere)
|Tons C=Tons (Clan)
|Tons IS=Tons (Inner Sphere)
|Critical Slots C=Critical Slots (Clan)
|Critical Slots IS=Critical Slots (Inner Sphere)
|Ammo (per ton) C=Ammo (per ton) (Clan)
|Ammo (per ton) IS=Ammo (per ton) (Inner Sphere)
|Cost (unloaded) C=Cost (unloaded) (Clan)
|Cost (unloaded) IS=Cost (unloaded) (Inner Sphere)
|Ammo Cost (per ton) C=Ammo Cost (per ton) (Clan)
|Ammo Cost (per ton) IS=Ammo Cost (per ton) (Inner Sphere)
|BV (1.0) C=BV (1.0) (Clan)
|BV (1.0) IS=BV (1.0) (Inner Sphere)
}}