Difference between revisions of "Template:InfoboxVariant"

From BTAWiki
Jump to navigation Jump to search
m (Test force image size to 200px)
Line 7: Line 7:
  
 
   <tr>
 
   <tr>
     <td class="infobox-variantloadoutimage" colspan="2">{{#if:{{{image|}}}|[[File:{{{image}}}|frameless|center]]}}</td>
+
     <td class="infobox-variantloadoutimage" colspan="2">{{#if:{{{image|}}}|[[File:{{{image}}}|200px|frameless|center]]}}</td>
 
   </tr>
 
   </tr>
  

Revision as of 06:00, 7 December 2020

InfoboxVariant
General Data
Stock Specifications
Hardpoints
Melee
Stock Equipment

Basic template to create Infoboxes for Mech Variants. Example below. Note that you can specify up to 12 equipment per location (raequip1, raequip2, raequip12 for example). You MUST use #1 though for the row to not be hidden. Any unused info is automatically hidden, so exclude it if you want it hidden.

{{InfoboxVariant
|variantname = KNG-PRIME
|image = KNG-PRIME.png
|mechtype = Clan Omnimech
|class = Assault
|weight = 90T
|stock role = Front-Line Assault
|ballistic = 
|energy =
|missile = 
|support = 
|omni = 8
|speed = 5/7/0
|maxdamage = 294 
|maxstability = 28
|armor = 1,295 
|structure = 691
|heatsinking = 102 
|alphaheat = 142
|chargedamage = 
|kickdamage = 
|meleeweapondamage = N/A
|punchdamage = 
|dfadamage = 
|enginetype = Standard
|coresize = 360
|heatsinkkit = Clan DHS
|ecooling = +4
|gyro = Omni (Fixed)
|structuretype = Clan Endo-Steel
|armortype = Clan Ferro-Fibrous (Fixed)
|headequip1 = None
|ctequip1 = Clan LPL
|ltequip1 = Clan MPL
|ltequip2 = Clan LRM10
|ltequip3 = Ammo LRM
|rtequip1 = Clan DHS (Fixed)
|rtequip2 = Clan MPL
|laequip1 = Omnipod Lower Arm
|laequip2 = Clan SSRM6
|laequip3 = Ammo SSRM
|laequip4 = Clan ERSL
|raequip1 = Omnipod Lower Arm
|raequip2 = Clan LPL
|llequip1 = Clan DHS (Fixed)
|rlequip1 = Clan DHS (Fixed)
}}