Difference between revisions of "Template:Vehicle"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) m (Make some fields optional (engine, altspeed, altboost)) |
DragonGod004 (talk | contribs) m (Make some fields ACTUALLY optional this time (engine, altspeed, altboost)) |
||
Line 36: | Line 36: | ||
| style="background:#33333; min-width:33%" | Variant || style="background:#383838; min-width:100px" | Weapons || style="background:#333333; min-width:100px" | Equipment | | style="background:#33333; min-width:33%" | Variant || style="background:#383838; min-width:100px" | Weapons || style="background:#333333; min-width:100px" | Equipment | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | style="font-size:8pt" | Prime:<br> Price: {{{Price Prime}}} CBills<br> Total armor: {{{ArmorT Prime}}}<br> Engine: {{{Engine Prime|}}}<br> Speed(Boost): {{{AltSpeed Prime | + | | style="font-size:8pt" | Prime:<br> Price: {{{Price Prime}}} CBills<br> Total armor: {{{ArmorT Prime}}} {{#if: {{{Engine Prime|}}} | <br> Engine: {{{Engine Prime}}} |}} {{#if: {{{AltSpeed Prime|}}} | <br> Speed(Boost): {{{AltSpeed Prime}}} ({{{AltBoost Prime}}}) |}} |
| style="background:#383838" | {{{Weapons Prime}}} | | style="background:#383838" | {{{Weapons Prime}}} | ||
| {{{Equip Prime}}} | | {{{Equip Prime}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons A|}}} | | {{#if: {{{Weapons A|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} A:<br> Price: {{{Price A}}} CBills<br> Total armor: {{{ArmorT A}}}<br> Engine: {{{Engine A|}}}<br> Speed: {{{AltSpeed A | + | {{!}} style="font-size:8pt" {{!}} A:<br> Price: {{{Price A}}} CBills<br> Total armor: {{{ArmorT A}}} {{#if: {{{Engine A|}}} | <br> Engine: {{{Engine A}}} |}} {{#if: {{{AltSpeed A|}}} | <br> Speed(Boost): {{{AltSpeed A}}} ({{{AltBoost A}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons A}}} | {{!}} style="background:#383838" {{!}} {{{Weapons A}}} | ||
{{!}} {{{Equip A}}} | {{!}} {{{Equip A}}} | ||
Line 47: | Line 47: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons B|}}} | | {{#if: {{{Weapons B|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} B:<br> Price: {{{Price B}}} CBills<br> Total armor: {{{ArmorT B}}}<br> Engine: {{{Engine B|}}}<br> Speed: {{{AltSpeed B | + | {{!}} style="font-size:8pt" {{!}} B:<br> Price: {{{Price B}}} CBills<br> Total armor: {{{ArmorT B}}} {{#if: {{{Engine B|}}} | <br> Engine: {{{Engine B}}} |}} {{#if: {{{AltSpeed B|}}} | <br> Speed(Boost): {{{AltSpeed B}}} ({{{AltBoost B}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons B}}} | {{!}} style="background:#383838" {{!}} {{{Weapons B}}} | ||
{{!}} {{{Equip B}}} | {{!}} {{{Equip B}}} | ||
Line 53: | Line 53: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons C|}}} | | {{#if: {{{Weapons C|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} C:<br> Price: {{{Price C}}} CBills<br> Total armor: {{{ArmorT C}}}<br> Engine: {{{Engine C|}}}<br> Speed: {{{AltSpeed C | + | {{!}} style="font-size:8pt" {{!}} C:<br> Price: {{{Price C}}} CBills<br> Total armor: {{{ArmorT C}}} {{#if: {{{Engine C|}}} | <br> Engine: {{{Engine C}}} |}} {{#if: {{{AltSpeed C|}}} | <br> Speed(Boost): {{{AltSpeed C}}} ({{{AltBoost C}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons C}}} | {{!}} style="background:#383838" {{!}} {{{Weapons C}}} | ||
{{!}} {{{Equip C}}} | {{!}} {{{Equip C}}} | ||
Line 59: | Line 59: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons D|}}} | | {{#if: {{{Weapons D|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} D:<br> Price: {{{Price D}}} CBills<br> Total armor: {{{ArmorT D}}}<br> Engine: {{{Engine D|}}}<br> Speed: {{{AltSpeed D | + | {{!}} style="font-size:8pt" {{!}} D:<br> Price: {{{Price D}}} CBills<br> Total armor: {{{ArmorT D}}} {{#if: {{{Engine D|}}} | <br> Engine: {{{Engine D}}} |}} {{#if: {{{AltSpeed D|}}} | <br> Speed(Boost): {{{AltSpeed D}}} ({{{AltBoost D}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons D}}} | {{!}} style="background:#383838" {{!}} {{{Weapons D}}} | ||
{{!}} {{{Equip D}}} | {{!}} {{{Equip D}}} | ||
Line 65: | Line 65: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons E|}}} | | {{#if: {{{Weapons E|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} E:<br> Price: {{{Price E}}} CBills<br> Total armor: {{{ArmorT E}}}<br> Engine: {{{Engine E|}}}<br> Speed: {{{AltSpeed E | + | {{!}} style="font-size:8pt" {{!}} E:<br> Price: {{{Price E}}} CBills<br> Total armor: {{{ArmorT E}}} {{#if: {{{Engine E|}}} | <br> Engine: {{{Engine E}}} |}} {{#if: {{{AltSpeed E|}}} | <br> Speed(Boost): {{{AltSpeed E}}} ({{{AltBoost E}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons E}}} | {{!}} style="background:#383838" {{!}} {{{Weapons E}}} | ||
{{!}} {{{Equip E}}} | {{!}} {{{Equip E}}} | ||
Line 71: | Line 71: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons F|}}} | | {{#if: {{{Weapons F|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} F:<br> Price: {{{Price F}}} CBills<br> Total armor: {{{ArmorT F}}}<br> Engine: {{{Engine F|}}}<br> Speed: {{{AltSpeed F | + | {{!}} style="font-size:8pt" {{!}} F:<br> Price: {{{Price F}}} CBills<br> Total armor: {{{ArmorT F}}} {{#if: {{{Engine F|}}} | <br> Engine: {{{Engine F}}} |}} {{#if: {{{AltSpeed F|}}} | <br> Speed(Boost): {{{AltSpeed F}}} ({{{AltBoost F}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons F}}} | {{!}} style="background:#383838" {{!}} {{{Weapons F}}} | ||
{{!}} {{{Equip F}}} | {{!}} {{{Equip F}}} | ||
Line 77: | Line 77: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons G|}}} | | {{#if: {{{Weapons G|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} G:<br> Price: {{{Price G}}} CBills<br> Total armor: {{{ArmorT G}}}<br> Engine: {{{Engine G|}}}<br> Speed: {{{AltSpeed G | + | {{!}} style="font-size:8pt" {{!}} G:<br> Price: {{{Price G}}} CBills<br> Total armor: {{{ArmorT G}}} {{#if: {{{Engine G|}}} | <br> Engine: {{{Engine G}}} |}} {{#if: {{{AltSpeed G|}}} | <br> Speed(Boost): {{{AltSpeed G}}} ({{{AltBoost G}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons G}}} | {{!}} style="background:#383838" {{!}} {{{Weapons G}}} | ||
{{!}} {{{Equip G}}} | {{!}} {{{Equip G}}} | ||
Line 83: | Line 83: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons H|}}} | | {{#if: {{{Weapons H|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} H:<br> Price: {{{Price H}}} CBills<br> Total armor: {{{ArmorT H}}}<br> Engine: {{{Engine H|}}}<br> Speed: {{{AltSpeed H | + | {{!}} style="font-size:8pt" {{!}} H:<br> Price: {{{Price H}}} CBills<br> Total armor: {{{ArmorT H}}} {{#if: {{{Engine H|}}} | <br> Engine: {{{Engine H}}} |}} {{#if: {{{AltSpeed H|}}} | <br> Speed(Boost): {{{AltSpeed H}}} ({{{AltBoost H}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons H}}} | {{!}} style="background:#383838" {{!}} {{{Weapons H}}} | ||
{{!}} {{{Equip H}}} | {{!}} {{{Equip H}}} | ||
Line 89: | Line 89: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons I|}}} | | {{#if: {{{Weapons I|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} I:<br> Price: {{{Price I}}} CBills<br> Total armor: {{{ArmorT I}}}<br> Engine: {{{Engine I|}}}<br> Speed: {{{AltSpeed I | + | {{!}} style="font-size:8pt" {{!}} I:<br> Price: {{{Price I}}} CBills<br> Total armor: {{{ArmorT I}}} {{#if: {{{Engine I|}}} | <br> Engine: {{{Engine I}}} |}} {{#if: {{{AltSpeed I|}}} | <br> Speed(Boost): {{{AltSpeed I}}} ({{{AltBoost I}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons I}}} | {{!}} style="background:#383838" {{!}} {{{Weapons I}}} | ||
{{!}} {{{Equip I}}} | {{!}} {{{Equip I}}} | ||
Line 95: | Line 95: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{Weapons J|}}} | | {{#if: {{{Weapons J|}}} | | ||
− | {{!}} style="font-size:8pt" {{!}} J:<br> Price: {{{Price J}}} CBills<br> Total armor: {{{ArmorT J}}}<br> Engine: {{{Engine J|}}}<br> Speed: {{{AltSpeed J | + | {{!}} style="font-size:8pt" {{!}} J:<br> Price: {{{Price J}}} CBills<br> Total armor: {{{ArmorT J}}} {{#if: {{{Engine J|}}} | <br> Engine: {{{Engine J}}} |}} {{#if: {{{AltSpeed J|}}} | <br> Speed(Boost): {{{AltSpeed J}}} ({{{AltBoost J}}}) |}} |
{{!}} style="background:#383838" {{!}} {{{Weapons J}}} | {{!}} style="background:#383838" {{!}} {{{Weapons J}}} | ||
{{!}} {{{Equip J}}} | {{!}} {{{Equip J}}} |
Revision as of 05:12, 22 August 2020
This infobox template contains all essential information for MWLL's Vehicle assets.
Usage
Vehicle | ||
---|---|---|
Class: | Hovercraft | |
Faction | Clan | |
Ticket cost: | 0 upon destruction | |
Tier: | 3 | |
Tonnage: | 35 tons | |
Speed: |
90 km/h (135 km/h with boost) | |
Turret rotation: | 360° | |
Turret pitch: | -5° to +80° | |
Variant Armament | ||
Variant | Weapons | Equipment |
Prime: Price: 65,000 CBills Total armor: 100,000 Engine: ICE 5000 Speed: 100 km/h Boost Speed: 150 km/h |
||
A: Price: 65,000 CBills Total armor: 100,000 |
||
Armor Points Distribution | ||
|
All stats current as of release 0.15.3
Blank template
{{Vehicle | Image = | ImageSize = | Tonnage = | Class = | Faction = | Tickets = | Tier = | Speed = | BoostSpeed = | Rotation = | Pitch = min° to max° | Price Prime = | ArmorT Prime = | Engine Prime = | AltSpeed Prime = | AltBoost Prime = | Weapons Prime = <ul> <li> <li> <li> </ul> | Equip Prime = <ul> <li> <li> <li> </ul> | Price A = | ArmorT A = | Engine A = | AltSpeed A = | AltBoost A = | Weapons A = <ul> <li> <li> <li> </ul> | Equip A = <ul> <li> <li> <li> </ul> | Price B = | ArmorT B = | Engine B = | AltSpeed B = | AltBoost B = | Weapons B = <ul> <li> <li> <li> </ul> | Equip B = <ul> <li> <li> <li> </ul> | Price C = | ArmorT C = | Engine C = | AltSpeed C = | AltBoost C = | Weapons C = <ul> <li> <li> <li> </ul> | Equip C = <ul> <li> <li> <li> </ul> | Hull = | Armor T = | Armor F = | Armor S = | Armor LS = | Armor RS = | Armor B = | 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. The formatting for Armor is as follows:
Hull = Hull armor, number only. Armor S = Left and Right Side armor, number only. Armor LS = Left side armor if asymmetrical, number only. Armor RS = Right side armor if asymmetrical, number only. Armor F = Front armor, number only. Armor T = Turret armor, number only. Armor B = Back armor, number only.
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 | Currently disabled. 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 Vehicle in question. |
Class | Yes | Creates a link to the category page of the Vehicle's class. eg: Hover, Tank. |
Faction | Yes | The faction of the Vehicle'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 tier level of the asset, which determines cbill income from damaging other assets |
Speed | Yes | The top speed of the Vehicle. |
BoostSpeed | No | The top speed of the Vehicle when boost is activated. |
Rotation | Yes | The rotation of the Vehicle's turret in degrees (typically 360). |
Pitch | Yes | The pitch of the Vehicle's turret, in degrees. (minimum)° to (maximum)° |
Price Prime | Yes | Price of the Prime variant. |
ArmorT Prime | Yes | Total Armor of the Prime variant. |
Engine Prime | No | The specific engine or engine size of this variant. |
AltSpeed Prime | No | Alternate max speed. Use if a variant has a different speed than normal. |
AltBoost Prime | Yes* | Alternate boost speed. Use if a variant has a different speed than normal. Required if AltSpeed Prime is used. |
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 | The specific engine or engine size of this variant. |
AltSpeed A... J | No | Alternate max speed. Use if a variant has a different speed than normal. |
AltBoost A... J | Yes* | Alternate boost speed. Use if a variant has a different speed than normal. Required if AltSpeed A... J is used. |
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. |
Hull | Yes* | Armor value for Vehicle Hull. Number only. Required for armor diagram to be displayed. |
Armor S | No | Armor value of Vehicle's Left and Right Sides when symmetrical. Overwritten by LS or RS if those are also used. |
Armor LS | No | Armor value for Vehicle Left Side. Will override Left Side of S if used. Number only. |
Armor RS | No | Armor value for Vehicle Right Side. Will override Right Side of S if used. Number only. |
Armor F | No | Armor value for Vehicle Front. Number only. |
Armor T | No | Armor value for Vehicle Turret. Number only. |
Armor B | No | Armor value for Vehicle Back. Number only. |
Version | No | Value informing that stats are up to date for this version. Will use default value if left blank. |
The above documentation is transcluded from Template:Vehicle/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |