Difference between revisions of "Template:Vehicle"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(added gif option)
m (image container height tweak)
Line 4: Line 4:
 
! colspan="3" style="background:#2a2a2a; text-align:center; width: 350px; font-size:12pt" | {{PAGENAME}}
 
! colspan="3" style="background:#2a2a2a; text-align:center; width: 350px; font-size:12pt" | {{PAGENAME}}
 
|-
 
|-
| 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:300px; 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 style="position:absolute; bottom:0; z-index:2">{{#if: {{{ImageGif|}}} | [[File:360.png | 350px |link={{{Image}}}]] |}}
 
<div style="position:absolute; bottom:0; z-index:2">{{#if: {{{ImageGif|}}} | [[File:360.png | 350px |link={{{Image}}}]] |}}

Revision as of 20:29, 19 November 2019

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

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

Usage

Vehicle
Svantovit.jpg
Svantovit.jpg
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
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 = 
| 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.