Difference between revisions of "Template:InfoboxVariant"
Jump to navigation
Jump to search
Line 81: | Line 81: | ||
}} | }} | ||
− | + | ||
<tr> | <tr> | ||
<th>Melee</th> | <th>Melee</th> | ||
− | <td>Charge: {{{chargedamage}}} <br>Kick: {{{kickdamage}}} <br>Weapon: {{{meleeweapondamage}}} <br>Punch: {{{punchdamage}}}</td> | + | <td>{{#if:{{{chargedamage|}}}|Charge: {{{chargedamage}}}}}<br>Kick: {{#if:{{{kickdamage|weight}}}|{{{kickdamage}}}}}{{#if:{{{meleeweapondamage}}}|<br>Weapon: {{{meleeweapondamage}}}}}{{#if:{{{punchdamage}}}|<br>Punch: {{{punchdamage}}}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 199: | Line 199: | ||
</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-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-raequip12, for example). You MUST use #1 though for the row to not be hidden. Kick damage will automatically be determined by the tonnage if you do not specify it. |
<pre> | <pre> | ||
{{InfoboxVariant | {{InfoboxVariant |
Revision as of 00:26, 17 November 2020
}}
InfoboxVariant
|
|
---|---|
General Data | |
Stock Specifications | |
Melee | Kick: {{{kickdamage}}} Weapon: {{{meleeweapondamage}}} Punch: {{{punchdamage}}} |
Stock Equipment |
Basic template to create Infoboxes for Mech Variants. Example below. Note that you can specify up to 12 equipment per location (raequip1-raequip12, for example). You MUST use #1 though for the row to not be hidden. Kick damage will automatically be determined by the tonnage if you do not specify it.
{{InfoboxVariant |variantname = KNG-PRIME |image = KNG-PRIME.png |class = Assault |weight = 90T |stock role = Front-Line Assault |rarity = 2 |hardpoints = B8 E8 M8 S8 |speed = 5/7/0 |maxdamage = 294 |maxstability = 28 |maxarmor = 1,295 |maxstructure = 691 |heatsinking = 102 |alphaheat = 142 |chargedamage = |kickdamage = |meleeweapondamage = N/A |punchdamage = |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) }}