Difference between revisions of "Template:Vehicle/doc"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (Correction of a parameter name in the table)
(Information about armor and whatnot.)
Line 48: Line 48:
 
<li> 9T [[Armor]]
 
<li> 9T [[Armor]]
 
</ul>
 
</ul>
 +
 +
| Hull = 1000
 +
| Armor T = 2000
 +
| Armor F = 3000
 +
| Armor S = 4000
 +
| Armor B = 5000
 
|}}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.
 
|}}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===
 
===Blank template===
Line 111: Line 117:
 
</ul>
 
</ul>
 
}}
 
}}
 +
 +
| Hull =
 +
| Armor T =
 +
| Armor F =
 +
| Armor S =
 +
| Armor LS =
 +
| Armor RS =
 +
| Armor B =
 
</pre>
 
</pre>
 +
===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:
 +
<pre style="overflow: auto">
 +
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.</pre>
 
==Parameters==
 
==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.
 
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.
Line 190: Line 214:
 
| No
 
| No
 
| Equipment for each additional variant (up to 9). Weapons and Equipment require '''<nowiki><ul></nowiki>''' and '''<nowiki><li></nowiki>''' to function properly as unordered lists.
 
| Equipment for each additional variant (up to 9). Weapons and Equipment require '''<nowiki><ul></nowiki>''' and '''<nowiki><li></nowiki>''' 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.
 
|-
 
|-
 
|}
 
|}

Revision as of 23:38, 5 March 2018

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

Usage

Vehicle/doc
Svantovit.jpg
Svantovit.jpg
Class: Hovercraft
Faction Clan
Ticket cost: 0 upon destruction
Tier: {{{Tier}}}
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
A:
Price: 65,000 CBills
Total armor: 100,000
Armor Points Distribution
H
L
R
F
T
B
1000
4000
4000
3000
2000
5000

All stats current as of release 0.15.3

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

{{Vehicle
| Image = 
| ImageSize = 
| Tonnage = 
| Class = 
| Faction = 
| Tickets = 
| Speed = 
| BoostSpeed = 
| Rotation = 
| Pitch = min° to max°

| Price Prime = 
| ArmorT Prime = 
| Weapons Prime = <ul>
<li>
<li>
<li>
</ul>
| Equip Prime = <ul>
<li>
<li>
<li>
</ul>
| Price A = 
| ArmorT A = 
| Weapons A = <ul>
<li>
<li>
<li>
</ul>
| Equip A = <ul>
<li>
<li>
<li>
</ul>
| Price B = 
| ArmorT B = 
| Weapons B = <ul>
<li>
<li>
<li>
</ul>
| Equip B = <ul>
<li>
<li>
<li>
</ul>
| Price C = 
| ArmorT 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 = 

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 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.
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.
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).
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.