Difference between revisions of "Template:VTOL"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (added version tag)
(added gif image option)
 
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" | [[{{{Image}}} | 350px]]  
+
| colspan="3" style="text-align:center; padding:0" | <div style=" height:255px; 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:2">{{#if: {{{ImageGif|}}} | [[File:360v3.png | 350px |link={{{Image}}}]] |}}
 +
</div>
 +
    <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:360v3.png | 350px |link={{{Image}}}]] |}}
 +
</div></div></div></div>
 
|-
 
|-
 
| Faction || colspan="2" style="background:#383838" | [[{{{Faction}}}]]
 
| Faction || colspan="2" style="background:#383838" | [[{{{Faction}}}]]

Latest revision as of 21:49, 2 December 2019

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

This infobox template contains all essential information for MWLL's Vertical Take-Off and Landing (VTOL) assets.

Usage

VTOL
MWLL logo large.png
MWLL logo large.png
Faction Clan
Ticket cost: 5 upon distruction
Tier: 4
Tonnage: 35 tons
Speed: 400 km/h
Variant Armament
Variant Weapons Equipment
Prime:
Price: 65,000 CBills
Total base armor: 10,000
A:
Price: 75,000 CBills
Total base armor: 16,000
Armor Points Distribution
B
LW
RW
E
T
1100
1200
1300
1400
1500

All stats current as of release 0.11.0

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

{{VTOL
| Image = 
| ImageSize = 
| Faction = 
| Tickets = 
| Tier = 
| Speed = 

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

| Armor B = 
| Armor LW = 
| Armor RW = 
| Armor E = 
| Armor T = 

| 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. Keep in mind that the armor total does not take external pods into account. The formatting for Armor is as follows:

Armor B = Armor of the Body of the aircraft, number only
Armor E = Engine armor, number only
Armor LW = Left wing armor, number only
Armor RW = Right wing armor, number only
Armor T = Tail 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.
Faction Yes The faction of the Asset'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
Tonnage No Tonnage (mass) of the Asset in question.
Speed No Max speed of the Asset in question.
Price Prime Yes Price of prime, number only
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 of each additional variant.
ArmorT A... J No Total Armor of each additional variant.
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.
Armor B Yes* Armor value for VTOL Body (or fuselage). Number only. Required for armor diagram to be displayed.
Armor LW No Armor value for VTOL Left Wing. Will override Left Wing of LRW if used. Number only.
Armor RW No Armor value for VTOL Right Wing. Will override Right Wing of LRW if used. Number only.
Armor E No Armor value for VTOL Engine. Number only.
Armor T No Armor value for VTOL Tail. Number only.
Version No Value informing that stats are up to date for this version. Will use default value if left blank.