Difference between revisions of "Template:Vehicle"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (image container height tweak)
m
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="width: 350px; float:right; font-size:9pt; margin: 0px 0px 10px 10px; text-align:right">
+
<div style="width: 350px; float:right; font-size:9pt; margin: 0px 0px 15px 20px; text-align:right">
 
{| style="border:2px solid #e69710; text-align:left; font-size:9pt; width: 350px; margin: 0px;" cellpadding="4" cellspacing="1" rules="all" align="right"
 
{| style="border:2px solid #e69710; text-align:left; font-size:9pt; width: 350px; margin: 0px;" cellpadding="4" cellspacing="1" rules="all" align="right"
 
! 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}}
Line 6: Line 6:
 
| colspan="3" style="text-align:center; padding:0" | <div style=" height:300px; 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:360v2.png | 350px |link={{{Image}}}]] |}}
 
</div>
 
</div>
 
     <div class="asset" style="transition:opacity 0.4s; z-index:3">[[{{{Image}}} | 350px]]
 
     <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 style="position:absolute; bottom:0; z-index:4">{{#if: {{{ImageGif|}}} | [[File:360v2.png | 350px |link={{{Image}}}]] |}}
 
</div></div></div></div>  
 
</div></div></div></div>  
 
|-
 
|-
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 base armor: {{{ArmorT 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: {{{AltSpeed Prime}}} km/h<br> Boost Speed: {{{AltBoost Prime}}} km/h|}}
 
| 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 base armor: {{{ArmorT 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: {{{AltSpeed A}}} km/h<br> Boost Speed: {{{AltBoost A}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed B}}} km/h<br> Boost Speed: {{{AltBoost B}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed C}}} km/h<br> Boost Speed: {{{AltBoost C}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed D}}} km/h<br> Boost Speed: {{{AltBoost D}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed E}}} km/h<br> Boost Speed: {{{AltBoost E}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed F}}} km/h<br> Boost Speed: {{{AltBoost F}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed G}}} km/h<br> Boost Speed: {{{AltBoost G}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed H}}} km/h<br> Boost Speed: {{{AltBoost H}}} km/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 base armor: {{{ArmorT 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: {{{AltSpeed I}}} km/h<br> Boost Speed: {{{AltBoost I}}} km/h|}}
 
{{!}} 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 base armor: {{{ArmorT 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: {{{AltSpeed J}}} km/h<br> Boost Speed: {{{AltBoost J}}} km/h|}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons J}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons J}}}
 
{{!}} {{{Equip J}}}
 
{{!}} {{{Equip J}}}
Line 128: Line 128:
 
|}}
 
|}}
 
|}
 
|}
All stats current as of release {{{Version|0.11.0}}}
+
All stats current as of release {{{Version153|0.15.3}}}
 
</div>
 
</div>
 
[[Category:{{{Class}}}]]
 
[[Category:{{{Class}}}]]
 
[[Category:{{#if: {{{Faction}}} |{{{Faction}}}|Inner Sphere}} Vehicles]]</includeonly><noinclude>
 
[[Category:{{#if: {{{Faction}}} |{{{Faction}}}|Inner Sphere}} Vehicles]]</includeonly><noinclude>
 
{{Documentation}} [[Category:Infoboxes]]</noinclude>
 
{{Documentation}} [[Category:Infoboxes]]</noinclude>

Latest revision as of 22:40, 18 July 2022

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.