Difference between revisions of "Template:Mech"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (added small transition time to image opacity)
m (added 360 icon to image)
 
Line 6: Line 6:
 
| colspan="3" style="text-align:center; padding:0" | <div style="height:350px; width:350px; background: black; position:relative;">
 
| colspan="3" style="text-align:center; padding:0" | <div style="height:350px; width:350px; background: black; position:relative;">
 
     <div style="position:absolute; bottom:0; z-index:auto">{{#if: {{{ImageGif|}}} | [[{{{ImageGif}}} | 350px |link={{{Image}}}]] | [[{{{Image}}} | 350px]]}}
 
     <div style="position:absolute; bottom:0; z-index:auto">{{#if: {{{ImageGif|}}} | [[{{{ImageGif}}} | 350px |link={{{Image}}}]] | [[{{{Image}}} | 350px]]}}
     <div class="asset" style="transition:opacity 0.4s;">[[{{{Image}}} | 350px]]</div>
+
<div style="position:absolute; bottom:0; z-index:2">{{#if: {{{ImageGif|}}} | [[File:360.png | 350px |link={{{Image}}}]] |}}
</div></div>  
+
</div>
 +
     <div class="asset" style="transition:opacity 0.4s; z-index:3">[[{{{Image}}} | 350px]]
 +
<div style="position:absolute; bottom:0; z-index:4">{{#if: {{{ImageGif|}}} | [[File:360.png | 350px |link={{{Image}}}]] |}}
 +
</div></div></div></div>
 
|-
 
|-
 
| Class: || colspan="2" style="background:#383838" | [[Mechs#{{{Class}}} Mechs|{{{Class}}} Mech]]
 
| Class: || colspan="2" style="background:#383838" | [[Mechs#{{{Class}}} Mechs|{{{Class}}} Mech]]

Latest revision as of 20:25, 9 November 2019

Documentation icon Template documentation[view] [edit] [history] [purge]

This infobox template contains all essential information for MWLL's Mech assets.

Usage

Mech
Happy-Snake-wiki.png
Happy-Snake-wiki.png
Class: Medium Mech
Faction: Snek God
Ticket cost: All tickets upon destruction
Tier: God Tier
Speed: Fast km/h (Heckin Fast km/h with MASC)
Torso yaw: 360°
Torso pitch: -75° to +80° while standing.
-75° to +85° while crouching.
Variant Armament
Variant Weapons Equipment
Prime:
Price: 65,000 CBills
Total base armor: 100,000
Engine Size: Std
A:
Price: 65,000 CBills
Total base armor: 100,000
Engine Size:
Armor Points Distribution
LE
BT
RE
HD
LA
LL
LT
CT
RT
RA
RL
INT
3668
5502
3668
2760
5273
5273
6603
5961
9171
5961
5273
6603
3962

All stats current as of release 0.77.7

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Some parameters are not required and will not be displayed when left blank or omitted. This infobox currently supports up to 10 variants.

Blank template

{{Mech
| Image = 
| Tonnage = 
| Class = 
| Faction = 
| Tickets = 
| Tier = 
| Speed = 
| SpeedWithMasc = 
| Rotation = 
| PitchStand = min° to max°
| PitchCrouch = min° to max°

| Price Prime = 
| ArmorT Prime = 
| Engine Prime = 
| Weapons Prime = <ul> <!-- Weapons and equipment must be added in this format as the standard bullet list format displays incorrectly. -->
<li>
<li>
<li>
</ul>
| Equip Prime = <ul> 
<li>
<li>
<li>
</ul>
| Price A = 
| ArmorT A = 
| Engine A = 
| Weapons A = <ul>
<li>
<li>
<li>
</ul>
| Equip A = <ul>
<li>
<li>
<li>
</ul>
| Price B = 
| ArmorT B = 
| Engine B = 
| Weapons B = <ul>
<li>
<li>
<li>
</ul>
| Equip B = <ul>
<li>
<li>
<li>
</ul>
| Price C = 
| ArmorT C = 
| Engine C = 
| Weapons C = <ul>
<li>
<li>
<li>
</ul>
| Equip C = <ul>
<li>
<li>
<li>
</ul>

| Pods = 
| Armor CT = 
| Armor LRT = 
| Armor LT = 
| Armor RT = 
| Armor LRA = 
| Armor LRL= 
| Armor H = 
| Armor B = 
| Armor INT = 
| Armor LE = 
| Armor RE = 

| Version =
}}

Armor values

These armor values will display overlayed on an armor layout chart below the variant information. The Armor total to the right of each variant is not always the same so all armor values should be taken from the Prime variant. Mechs without external pods will not display values for pods on the chart. Keep in mind that the armor total does not take external pods into account. The formatting for Armor is as follows:

Armor CT = Center torso armor, number only
Armor LRT = Left and right torso armor if symmetrical, number only
Armor LT = Left torso armor if asymmetrical, number only
Armor RT = Right torso armor if asymmetrical, number only
Armor LRA = Left and right arm armor, number only
Armor LRL= Left and right leg armor, number only
Armor H = Head armor, number only
Armor B = Back armor, number only
Armor INT = Internal leg armor, number only
Armor LE = Left external pod armor, number only (use only if all variants have external pods)
Armor RE = Right external pod armor, number only (use only if all variants have external pods)

Parameters

As noted before some parameters are optional, however some must be included. The following is a list of parameters, their functions, and whether or not they are required.

Parameter Required Function
Image Yes Image name: File:abc.jpg, File:xpz.png, Image:123.gif; Image name must be prefixed with Image: or File: to function. Image should be Prime variant on white, black, or transparent background.
ImageSize No (NOTE: ImageSize is no longer used. Infobox is now fixed to 350px width.) Image size is the width of the image. Will also determine the width of the infobox. Defaults to 350px when omitted.
Tonnage No Tonnage (mass) of the Mech in question.
Class Yes Creates a link to the category page of the Mech's class. Light, Medium, Heavy, or Assualt are the only options that should be entered here for the link to function properly.
Faction Yes The faction of the Mech's creators. Either Inner Sphere or Clan. Creates a link to the Faction's page.
Tickets Yes The number of tickets this asset gives on destruction in the TC gametype.
Tier Yes The asset tier for purposes of score and cbill adjustment.
Speed Yes The top speed of the Mech.
SpeedWithMasc No The top speed of the Mech when MASC is activated.
Rotation Yes The torso rotation of the Mech in degrees. (minimum)° to (maximum)°
PitchStand Yes The torso pitch of the Mech, in degrees, while standing. (minimum)° to (maximum)°
PitchCrouch Yes The torso pitch of the Mech, in degrees, while crouched. (minimum)° to (maximum)°
Price Prime Yes Price of the Prime variant.
ArmorT Prime Yes Total Armor of the Prime variant.
Engine Prime No* Engine size for the Prime variant. Can be omitted, but "Engine size:" will still be shown in the infobox.
Weapons Prime Yes Weapons used by the Prime variant. Weapons and Equipment require <ul> and <li> to function properly as unordered lists.
Equip Prime Yes Equipment used by the Prime variant. Weapons and Equipment require <ul> and <li> to function properly as unordered lists.
Price A... J No Price for each additional variant (up to 9).
ArmorT A... J No Total Armor for each additional variant (up to 9). Total armor is the sum of armor points for components sans the external pods armor (to avoid confusion between variants with and without external pods).
Engine A... J No* Engine size for each additional variant (up to 9).
Weapons A... J No* Weapons for each additional variant (up to 9). Variants will not display if this field is blank or omitted. Weapons and Equipment require <ul> and <li> to function properly as unordered lists.
Equip A... J No Equipment for each additional variant (up to 9). Weapons and Equipment require <ul> and <li> to function properly as unordered lists.
Pods Yes* Use to display Mech paperdolls in the armor box with no, one, or both externals. Must be used if Armor CT has a value. "Pods = Both" shows both externals; "Pods = RE" shows only right external; "Pods = LE" shows only left external; "Pods = None" or blank shows no externals.
Armor CT = Yes* Armor value for Mech's Center Torso. Number only. Required for armor diagram to be displayed.
Armor LRT = No Armor value for Mech's Left and Right Torso when torso armor is symmetrical. Number only. Will be overwritten by Armor LT or Armor RT when those parameters are filled.
Armor LT = No Armor value for Mech's Left Torso when torso armor is asymmetrical. Number only. Will overwrite Left Torso of LRT value if filled.
Armor RT = No Armor value for Mech's Right Torso when torso armor is asymmetrical. Number only. Will overwrite Right Torso of LRT value if filled.
Armor LRA = No Armor value for Mech's Arms. Number only.
Armor LRL= No Armor value for Mech's Legs. Number only.
Armor H = No Armor value for Mech's Head. Number only. Displayed as "HD" on chart.
Armor B = No Armor value for Mech's Back Torso. Number only. Displayed as "BT" on chart.
Armor INT = No Armor Value for Mech's Internal Armor (Legs). Number only.
Armor LE = No Armor value for Mech's Left External Pod. Number only. Will not display if left blank.
Armor RE = No Armor value for Mech's Right External Pod. Number only. Will not display if left blank.
Version = No Value informing that stats are up to date for this version. Will default to 0.11.0 currently if left blank.