Difference between revisions of "Template:InfoboxVariant"
Jump to navigation
Jump to search
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<table class="infoboxvariant"> | <table class="infoboxvariant"> | ||
− | + | <tr> | |
− | + | <th style="text-align:center;" colspan=2> | |
− | + | <div class="infobox-variantname">{{{variantname|{{PAGENAME}}}}}</div> | |
− | + | </th> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td class="infobox-variantloadoutimage" colspan="2"> | |
− | + | {{#if:{{{image|}}}|[[File:{{{image}}}|x256px|frameless|center]]}} | |
+ | </td> | ||
+ | </tr> | ||
− | + | <tr> | |
− | + | <th style="text-align:center;" colspan=2>General Data</th> | |
− | + | </tr> | |
− | + | {{#if:{{{mechtype|}}}| | |
− | + | <tr> | |
− | + | <th align=left>'Mech Type</th> | |
− | + | <td>{{{mechtype}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{class|}}}| | |
− | + | <tr> | |
− | + | <th align=left>Class</th> | |
− | + | <td>{{{class}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{weight|}}}| | |
− | + | <tr> | |
− | + | <th>Weight</th> | |
− | + | <td>{{{weight}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | ||
− | + | {{#if:{{{stock role|}}}| | |
− | + | <tr> | |
− | + | <th>Stock Role</th> | |
− | + | <td>{{{stock role}}}</td> | |
− | + | </tr> | |
− | + | }} | |
+ | |||
+ | {{#if:{{{rarity|}}}| | ||
+ | <tr> | ||
+ | <th>Rarity</th> | ||
+ | <td>{{{rarity}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <tr> | ||
+ | <th style="text-align:center;" colspan=2>Stock Specifications</th> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <th>Hardpoints</th> | ||
+ | <td>{{#if:{{{ballistic|}}}|Ballistic: {{{ballistic}}}<br>}}{{#if:{{{energy|}}}|Energy: {{{energy}}}<br>}}{{#if:{{{missile|}}}|Missile: {{{missile}}}<br>}}{{#if:{{{support|}}}|Support: {{{support}}}<br>}}{{#if:{{{artillery|}}}|Artillery: {{{artillery}}}<br>}}{{#if:{{{omni|}}}|Omni: {{{omni}}}}}{{#if:{{{bomb|}}}|Bomb Bay: {{{bomb}}}<br>}}{{#if:{{{melee|}}}|Melee: {{{melee}}}<br>}}</td> | ||
+ | </tr> | ||
+ | |||
+ | {{#if:{{{speed|}}}| | ||
+ | <tr> | ||
+ | <th>Speed</th> | ||
+ | <td>{{{speed}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{modspeed|}}}| | ||
+ | <tr> | ||
+ | <th>Modified Sprint</th> | ||
+ | <td>{{{modspeed}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{flightspeed|}}}| | ||
+ | <tr> | ||
+ | <th>Flight Speed</th> | ||
+ | <td>{{{flightspeed}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{maxdamage|}}}| | ||
+ | <tr> | ||
+ | <th>Firepower</th> | ||
+ | <td>Max Damage: {{{maxdamage}}}{{#if:{{{maxstability|}}}|<br>Max Stability: {{{maxstability}}}}}{{#if:{{{maxheat|}}}|<br>Max Heat: {{{maxheat}}}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{armor|}}}| | ||
+ | <tr> | ||
+ | <th>Durability</th> | ||
+ | <td>Armor: {{{armor}}} <br>Structure: {{{structure}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{heatsinking|}}}| | ||
+ | <tr> | ||
+ | <th>Heat Efficiency</th> | ||
+ | <td>Sinking: {{{heatsinking}}} <br>Alpha: {{{alphaheat}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <tr> | ||
+ | <th>Melee</th> | ||
+ | <td>{{#if:{{{chargedamage|}}}|Charge: {{{chargedamage}}}<br>}}{{#if:{{{kickdamage|}}}|Kick: {{{kickdamage}}}<br>}}{{#if:{{{meleeweapondamage|}}}|Weapon: {{{meleeweapondamage}}}<br>}}{{#if:{{{punchdamage|}}}|Punch: {{{punchdamage}}}<br>}}{{#if:{{{dfadamage|}}}|DFA: {{{dfadamage}}}<br>}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <th style="text-align:center;" colspan=2>Stock Equipment</th> | ||
+ | </tr> | ||
+ | |||
+ | {{#if:{{{enginetype|}}}| | ||
+ | <tr> | ||
+ | <th>Engine</th> | ||
+ | <td>{{{enginetype}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{coresize|}}}| | ||
+ | <tr> | ||
+ | <th>Core</th> | ||
+ | <td>{{{coresize}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
− | + | {{#if:{{{heatsinkkit|}}}| | |
− | + | <tr> | |
− | + | <th>Heat Sinks</th> | |
− | + | <td>{{{heatsinkkit}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{ecooling|}}}| | |
− | + | <tr> | |
− | + | <th>E-Cooling</th> | |
+ | <td>{{{ecooling}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
− | + | {{#if:{{{gyro|}}}| | |
− | + | <tr> | |
− | + | <th>Gyro</th> | |
− | + | <td>{{{gyro}}}</td> | |
+ | </tr> | ||
+ | }} | ||
− | + | {{#if:{{{structuretype|}}}| | |
− | + | <tr> | |
− | + | <th>Structure</th> | |
− | + | <td>{{{structuretype}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{armortype|}}}| | |
− | + | <tr> | |
− | + | <th>Armor</th> | |
− | + | <td>{{{armortype}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{headequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Head</th> | |
− | + | <td class="variantequipment">{{{headequip1}}}{{#if:{{{headequip2|}}}|<br>{{{headequip2}}}}}{{#if:{{{headequip3|}}}|<br>{{{headequip3}}}}}{{#if:{{{headequip4|}}}|<br>{{{headequip4}}}}}{{#if:{{{headequip5|}}}|<br>{{{headequip5}}}}}{{#if:{{{headequip6|}}}|<br>{{{headequip6}}}}}{{#if:{{{headequip7|}}}|<br>{{{headequip7}}}}}{{#if:{{{headequip8|}}}|<br>{{{headequip8}}}}}{{#if:{{{headequip9|}}}|<br>{{{headequip9}}}}}{{#if:{{{headequip10|}}}|<br>{{{headequip10}}}}}{{#if:{{{headequip11|}}}|<br>{{{headequip11}}}}}{{#if:{{{headequip12|}}}|<br>{{{headequip12}}}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{ctequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Center Torso</th> | |
− | + | <td class="variantequipment">{{{ctequip1}}}{{#if:{{{ctequip2|}}}|<br>{{{ctequip2}}}}}{{#if:{{{ctequip3|}}}|<br>{{{ctequip3}}}}}{{#if:{{{ctequip4|}}}|<br>{{{ctequip4}}}}}{{#if:{{{ctequip5|}}}|<br>{{{ctequip5}}}}}{{#if:{{{ctequip6|}}}|<br>{{{ctequip6}}}}}{{#if:{{{ctequip7|}}}|<br>{{{ctequip7}}}}}{{#if:{{{ctequip8|}}}|<br>{{{ctequip8}}}}}{{#if:{{{ctequip9|}}}|<br>{{{ctequip9}}}}}{{#if:{{{ctequip10|}}}|<br>{{{ctequip10}}}}}{{#if:{{{ctequip11|}}}|<br>{{{ctequip11}}}}}{{#if:{{{ctequip12|}}}|<br>{{{ctequip12}}}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{ltequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Left Torso</th> | |
− | + | <td class="variantequipment">{{{ltequip1}}}{{#if:{{{ltequip2|}}}|<br>{{{ltequip2}}}}}{{#if:{{{ltequip3|}}}|<br>{{{ltequip3}}}}}{{#if:{{{ltequip4|}}}|<br>{{{ltequip4}}}}}{{#if:{{{ltequip5|}}}|<br>{{{ltequip5}}}}}{{#if:{{{ltequip6|}}}|<br>{{{ltequip6}}}}}{{#if:{{{ltequip7|}}}|<br>{{{ltequip7}}}}}{{#if:{{{ltequip8|}}}|<br>{{{ltequip8}}}}}{{#if:{{{ltequip9|}}}|<br>{{{ltequip9}}}}}{{#if:{{{ltequip10|}}}|<br>{{{ltequip10}}}}}{{#if:{{{ltequip11|}}}|<br>{{{ltequip11}}}}}{{#if:{{{ltequip12|}}}|<br>{{{ltequip12}}}}}</td> | |
+ | </tr> | ||
+ | }} | ||
− | + | {{#if:{{{rtequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Right Torso</th> | |
+ | <td class="variantequipment">{{{rtequip1}}}{{#if:{{{rtequip2|}}}|<br>{{{rtequip2}}}}}{{#if:{{{rtequip3|}}}|<br>{{{rtequip3}}}}}{{#if:{{{rtequip4|}}}|<br>{{{rtequip4}}}}}{{#if:{{{rtequip5|}}}|<br>{{{rtequip5}}}}}{{#if:{{{rtequip6|}}}|<br>{{{rtequip6}}}}}{{#if:{{{rtequip7|}}}|<br>{{{rtequip7}}}}}{{#if:{{{rtequip8|}}}|<br>{{{rtequip8}}}}}{{#if:{{{rtequip9|}}}|<br>{{{rtequip9}}}}}{{#if:{{{rtequip10|}}}|<br>{{{rtequip10}}}}}{{#if:{{{rtequip11|}}}|<br>{{{rtequip11}}}}}{{#if:{{{rtequip12|}}}|<br>{{{rtequip12}}}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
− | + | {{#if:{{{laequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Left Arm</th> | |
− | + | <td class="variantequipment">{{{laequip1}}}{{#if:{{{laequip2|}}}|<br>{{{laequip2}}}}}{{#if:{{{laequip3|}}}|<br>{{{laequip3}}}}}{{#if:{{{laequip4|}}}|<br>{{{laequip4}}}}}{{#if:{{{laequip5|}}}|<br>{{{laequip5}}}}}{{#if:{{{laequip6|}}}|<br>{{{laequip6}}}}}{{#if:{{{laequip7|}}}|<br>{{{laequip7}}}}}{{#if:{{{laequip8|}}}|<br>{{{laequip8}}}}}{{#if:{{{laequip9|}}}|<br>{{{laequip9}}}}}{{#if:{{{laequip10|}}}|<br>{{{laequip10}}}}}{{#if:{{{laequip11|}}}|<br>{{{laequip11}}}}}{{#if:{{{laequip12|}}}|<br>{{{laequip12}}}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{#if:{{{raequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Right Arm</th> | |
− | + | <td class="variantequipment">{{{raequip1}}}{{#if:{{{raequip2|}}}|<br>{{{raequip2}}}}}{{#if:{{{raequip3|}}}|<br>{{{raequip3}}}}}{{#if:{{{raequip4|}}}|<br>{{{raequip4}}}}}{{#if:{{{raequip5|}}}|<br>{{{raequip5}}}}}{{#if:{{{raequip6|}}}|<br>{{{raequip6}}}}}{{#if:{{{raequip7|}}}|<br>{{{raequip7}}}}}{{#if:{{{raequip8|}}}|<br>{{{raequip8}}}}}{{#if:{{{raequip9|}}}|<br>{{{raequip9}}}}}{{#if:{{{raequip10|}}}|<br>{{{raequip10}}}}}{{#if:{{{raequip11|}}}|<br>{{{raequip11}}}}}{{#if:{{{raequip12|}}}|<br>{{{raequip12}}}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{#if:{{{llequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Left Leg</th> | |
− | + | <td class="variantequipment">{{{llequip1}}}{{#if:{{{llequip2|}}}|<br>{{{llequip2}}}}}{{#if:{{{llequip3|}}}|<br>{{{llequip3}}}}}{{#if:{{{llequip4|}}}|<br>{{{llequip4}}}}}{{#if:{{{llequip5|}}}|<br>{{{llequip5}}}}}{{#if:{{{llequip6|}}}|<br>{{{llequip6}}}}}{{#if:{{{llequip7|}}}|<br>{{{llequip7}}}}}{{#if:{{{llequip8|}}}|<br>{{{llequip8}}}}}{{#if:{{{llequip9|}}}|<br>{{{llequip9}}}}}{{#if:{{{llequip10|}}}|<br>{{{llequip10}}}}}{{#if:{{{llequip11|}}}|<br>{{{llequip11}}}}}{{#if:{{{llequip12|}}}|<br>{{{llequip12}}}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{rlequip1|}}}| | |
− | + | <tr> | |
− | + | <th>Right Leg</th> | |
− | + | <td class="variantequipment">{{{rlequip1}}}{{#if:{{{rlequip2|}}}|<br>{{{rlequip2}}}}}{{#if:{{{rlequip3|}}}|<br>{{{rlequip3}}}}}{{#if:{{{rlequip4|}}}|<br>{{{rlequip4}}}}}{{#if:{{{rlequip5|}}}|<br>{{{rlequip5}}}}}{{#if:{{{rlequip6|}}}|<br>{{{rlequip6}}}}}{{#if:{{{rlequip7|}}}|<br>{{{rlequip7}}}}}{{#if:{{{rlequip8|}}}|<br>{{{rlequip8}}}}}{{#if:{{{rlequip9|}}}|<br>{{{rlequip9}}}}}{{#if:{{{rlequip10|}}}|<br>{{{rlequip10}}}}}{{#if:{{{rlequip11|}}}|<br>{{{rlequip11}}}}}{{#if:{{{rlequip12|}}}|<br>{{{rlequip12}}}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</table> | </table> | ||
− | <noinclude>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. | + | <noinclude>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. |
<pre> | <pre> | ||
{{InfoboxVariant | {{InfoboxVariant | ||
− | |variantname = | + | |variantname = |
− | |image = | + | |image = Mechname.png |
− | |class = | + | |mechtype = |
− | |weight = | + | |class = |
− | |stock role = | + | |weight = |
− | + | |stock role = | |
|ballistic = | |ballistic = | ||
− | |energy = | + | |energy = |
|missile = | |missile = | ||
|support = | |support = | ||
− | |omni = | + | |artillery = |
− | |speed = | + | |omni = |
− | |maxdamage = | + | |bomb = |
− | |maxstability = | + | |melee = |
− | |armor = | + | |speed = |
− | |structure = | + | |modspeed = (Note MASC or TSM in parentheses) |
− | |heatsinking = | + | |flightspeed = (Only applicable to LAMs, leave blank or delete for non-LAMs) |
− | |alphaheat | + | |maxdamage = |
− | + | |maxstability = | |
+ | |maxheat = | ||
+ | |armor = | ||
+ | |structure = | ||
+ | |heatsinking = | ||
+ | |alphaheat = | ||
|kickdamage = | |kickdamage = | ||
− | |||
|punchdamage = | |punchdamage = | ||
− | |enginetype = | + | |dfadamage = |
− | |coresize = | + | |meleeweapondamage = |
− | |heatsinkkit = | + | |enginetype = |
− | |ecooling = | + | |coresize = |
− | |gyro = | + | |heatsinkkit = |
− | |structuretype = | + | |ecooling = |
− | |armortype = | + | |gyro = |
− | |headequip1 = | + | |structuretype = |
− | |ctequip1 = | + | |armortype = |
− | |ltequip1 = | + | |headequip1 = |
− | |ltequip2 = | + | |headequip2 = |
− | |ltequip3 = | + | |headequip3 = |
− | |rtequip1 = | + | |headequip4 = |
− | |rtequip2 = | + | |ctequip1 = |
− | |laequip1 = | + | |ctequip2 = |
− | |laequip2 = | + | |ctequip3 = |
− | |laequip3 = | + | |ctequip4 = |
− | |laequip4 = | + | |ltequip1 = |
− | |raequip1 = | + | |ltequip2 = |
− | |raequip2 = | + | |ltequip3 = |
− | |llequip1 = | + | |ltequip4 = |
− | |rlequip1 = | + | |ltequip5 = |
+ | |ltequip6 = | ||
+ | |ltequip7 = | ||
+ | |ltequip8 = | ||
+ | |ltequip9 = | ||
+ | |ltequip10 = | ||
+ | |ltequip11 = | ||
+ | |ltequip12 = | ||
+ | |rtequip1 = | ||
+ | |rtequip2 = | ||
+ | |rtequip3 = | ||
+ | |rtequip4 = | ||
+ | |rtequip5 = | ||
+ | |rtequip6 = | ||
+ | |rtequip7 = | ||
+ | |rtequip8 = | ||
+ | |rtequip9 = | ||
+ | |rtequip10 = | ||
+ | |rtequip11 = | ||
+ | |rtequip12 = | ||
+ | |laequip1 = | ||
+ | |laequip2 = | ||
+ | |laequip3 = | ||
+ | |laequip4 = | ||
+ | |laequip5 = | ||
+ | |laequip6 = | ||
+ | |laequip7 = | ||
+ | |laequip8 = | ||
+ | |laequip9 = | ||
+ | |laequip10 = | ||
+ | |raequip1 = | ||
+ | |raequip2 = | ||
+ | |raequip3 = | ||
+ | |raequip4 = | ||
+ | |raequip5 = | ||
+ | |raequip6 = | ||
+ | |raequip7 = | ||
+ | |raequip8 = | ||
+ | |raequip9 = | ||
+ | |raequip10 = | ||
+ | |llequip1 = | ||
+ | |llequip2 = | ||
+ | |rlequip1 = | ||
+ | |rlequip2 = | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 05:18, 5 June 2023
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 = |image = Mechname.png |mechtype = |class = |weight = |stock role = |ballistic = |energy = |missile = |support = |artillery = |omni = |bomb = |melee = |speed = |modspeed = (Note MASC or TSM in parentheses) |flightspeed = (Only applicable to LAMs, leave blank or delete for non-LAMs) |maxdamage = |maxstability = |maxheat = |armor = |structure = |heatsinking = |alphaheat = |kickdamage = |punchdamage = |dfadamage = |meleeweapondamage = |enginetype = |coresize = |heatsinkkit = |ecooling = |gyro = |structuretype = |armortype = |headequip1 = |headequip2 = |headequip3 = |headequip4 = |ctequip1 = |ctequip2 = |ctequip3 = |ctequip4 = |ltequip1 = |ltequip2 = |ltequip3 = |ltequip4 = |ltequip5 = |ltequip6 = |ltequip7 = |ltequip8 = |ltequip9 = |ltequip10 = |ltequip11 = |ltequip12 = |rtequip1 = |rtequip2 = |rtequip3 = |rtequip4 = |rtequip5 = |rtequip6 = |rtequip7 = |rtequip8 = |rtequip9 = |rtequip10 = |rtequip11 = |rtequip12 = |laequip1 = |laequip2 = |laequip3 = |laequip4 = |laequip5 = |laequip6 = |laequip7 = |laequip8 = |laequip9 = |laequip10 = |raequip1 = |raequip2 = |raequip3 = |raequip4 = |raequip5 = |raequip6 = |raequip7 = |raequip8 = |raequip9 = |raequip10 = |llequip1 = |llequip2 = |rlequip1 = |rlequip2 = }}