Difference between revisions of "Template:InfoBoxWeapon2"

(WIP)
 
 
(6 intermediate revisions by 2 users not shown)
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"|Clan: {{{Year C|}}}
|Year Availability
+
|- class="infoboxrow"
|{{#switch:{{{Tech Base}}}|B=<table style="background-color: inherit"><tr><td>Clan:</td><td>{{{year C|}}}</td></tr><tr><td>Inner Sphere:</td><td>{{{year IS|}}}</td></tr></table>|{{{Year Availability|}}}}}
+
|class="bot"|Inner Sphere: {{{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"|Clan: {{{Heat C|}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Damage
+
|class="bot"|Inner Sphere: {{{Heat IS|{{{Heat C|}}}}}}
|{{{Damage|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|rowspan="2"|Damage
|Minimum Range
+
|class="top"|Clan: {{{Damage C|}}}
|{{{Minimum Range|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|class="bot"|Inner Sphere: {{{Damage IS|{{{Damage C|}}}}}}
|Short Range
+
|- class="infoboxrow"
|{{{Short Range|}}}
+
|rowspan="2"|Minimum Range
|- class='infoboxrow'
+
|class="top"|Clan: {{{Minimum Range C|}}}
|Medium Range
+
|- class="infoboxrow"
|{{{Medium Range|}}}
+
|class="bot"|Inner Sphere: {{{Minimum Range IS|{{{Minimum Range C|}}}}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Long Range
+
|rowspan="2"|Short Range
|{{{Long Range|}}}
+
|class="top"|Clan: {{{Short Range C|}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Tons||{{{Tons|}}}
+
|class="bot"|Inner Sphere: {{{Short Range IS|{{{Short Range C|}}}}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Critical Slots
+
|rowspan="2"|Medium Range
|{{{Critical Slots|}}}
+
|class="top"|Clan: {{{Medium Range C|}}}
|- class='infoboxrow'
+
|- class="infoboxrow"
|Ammo Per Ton
+
|class="bot"|Inner Sphere: {{{Medium Range IS|{{{Medium Range C|}}}}}}
|{{{Ammo Per Ton|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|rowspan="2"|Long Range
|Cost (unloaded)
+
|class="top"|Clan: {{{Long Range C|}}}
|{{{Cost (unloaded)|}}}
+
|- class="infoboxrow"
|- class='infoboxrow'
+
|class="bot"|Inner Sphere: {{{Long Range IS|{{{Long Range C|}}}}}}
|Ammo Cost (per ton)
+
|- class="infoboxrow"
|{{{Ammo Cost (per ton)|}}}
+
|rowspan="2"|Tons
|- class='infoboxrow'
+
|class="top"|Clan: {{{Tons C|}}}
|BV (1.0)
+
|- class="infoboxrow"
|{{{BV (1.0)|}}}
+
|class="bot"|Inner Sphere: {{{Tons IS|{{{Tons C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|Critical Slots
 +
|class="top"|Clan: {{{Critical Slots C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|Inner Sphere: {{{Critical Slots IS|{{{Critical Slots C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|Ammo (per ton)
 +
|class="top"|Clan: {{{Ammo (per ton) C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|Inner Sphere: {{{Ammo (per ton) IS|{{{Ammo (per ton) C|}}}}}}
 +
|- class="infoboxrow"
 +
|rowspan="2"|Cost (unloaded)
 +
|class="top"|Clan: {{{Cost (unloaded) C|}}} c-bills
 +
|- class="infoboxrow"
 +
|class="bot"|Inner Sphere: {{{Cost (unloaded) IS|{{{Cost (unloaded) C|}}}}}} c-bills
 +
|- class="infoboxrow"
 +
|rowspan="2"|Ammo Cost (per ton)
 +
|class="top"|Clan: {{{Ammo Cost (per ton) C|}}} c-bills
 +
|- class="infoboxrow"
 +
|class="bot"|Inner Sphere: {{{Ammo Cost (per ton) IS|{{{Ammo Cost (per ton) C|}}}}}} c-bills
 +
|- class="infoboxrow"
 +
|rowspan="2"|BV (1.0)
 +
|class="top"|Clan: {{{BV (1.0) C|}}}
 +
|- class="infoboxrow"
 +
|class="bot"|Inner Sphere: {{{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>

Latest revision as of 17:51, 20 November 2006

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

Usage[edit]

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[edit]

{{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)
}}