Difference between revisions of "Template:Vehicle/doc"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(Create doc page for Vehicles template)
 
m (Correction of a parameter name in the table)
Line 155: Line 155:
 
| The rotation of the Vehicle's turret in degrees (typically 360).
 
| The rotation of the Vehicle's turret in degrees (typically 360).
 
|-
 
|-
| PitchStand
+
| Pitch
 
| Yes  
 
| Yes  
 
| The pitch of the Vehicle's turret, in degrees. '''(minimum)° to (maximum)°'''
 
| The pitch of the Vehicle's turret, in degrees. '''(minimum)° to (maximum)°'''

Revision as of 22:41, 1 November 2017

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

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>
}}

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.