Difference between revisions of "Template:VTOL"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m
m (Fixed typo "upon distruction")
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="VTOL" style="border:1px solid #250b2d; text-align:left; font-size:9pt; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; margin-left: 10px;" cellpadding="1" cellspacing="0" rules="all" align="right"
+
<div style="width: 350px; float:right; font-size:9pt; margin: 0px 0px 15px 20px; text-align:right">
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}}
+
{| 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="text-align:center" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|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}}}]]
 
|-
 
|-
| Ticket cost: || colspan="2" style="background:#383838" | [[Tickets|{{{Tickets}}} upon distruction]]
+
| Ticket cost: || colspan="2" style="background:#383838" | [[Tickets|{{{Tickets}}} upon destruction]]
 
|-
 
|-
| Tonnage: || colspan="2" style="background:#383838" | {{{Tonnage}}} tons
+
| Tier: || colspan="2" style="background:#383838" | [[Points#Asset_Tiers|{{{Tier}}}]]
 +
|-
 +
{{#if: {{{Tonnage|}}} |
 +
{{!}} Tonnage:
 +
{{!}} colspan="2" style="background:#383838" {{!}} {{{Tonnage}}} tons
 +
|}}
 
|-
 
|-
 
| Speed: || colspan="2" style="background:#383838" | {{{Speed}}} km/h
 
| Speed: || colspan="2" style="background:#383838" | {{{Speed}}} km/h
Line 17: Line 29:
 
| style="background:#33333; min-width:100px" | Variant || style="background:#383838; min-width:100px" | Weapons || style="background:#333333; min-width:100px" | Equipment
 
| style="background:#33333; min-width:100px" | 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}}}
 
| 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons A}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons A}}}
 
{{!}} {{{Equip A}}}
 
{{!}} {{{Equip A}}}
Line 28: Line 40:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons B}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons B}}}
 
{{!}} {{{Equip B}}}
 
{{!}} {{{Equip B}}}
Line 34: Line 46:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons C}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons C}}}
 
{{!}} {{{Equip C}}}
 
{{!}} {{{Equip C}}}
Line 40: Line 52:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons D}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons D}}}
 
{{!}} {{{Equip D}}}
 
{{!}} {{{Equip D}}}
Line 46: Line 58:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons E}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons E}}}
 
{{!}} {{{Equip E}}}
 
{{!}} {{{Equip E}}}
Line 52: Line 64:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons F}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons F}}}
 
{{!}} {{{Equip F}}}
 
{{!}} {{{Equip F}}}
Line 58: Line 70:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons G}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons G}}}
 
{{!}} {{{Equip G}}}
 
{{!}} {{{Equip G}}}
Line 64: Line 76:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons H}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons H}}}
 
{{!}} {{{Equip H}}}
 
{{!}} {{{Equip H}}}
Line 70: Line 82:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons I}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons I}}}
 
{{!}} {{{Equip I}}}
 
{{!}} {{{Equip I}}}
Line 76: Line 88:
 
|- 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}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons J}}}
 
{{!}} style="background:#383838" {{!}} {{{Weapons J}}}
 
{{!}} {{{Equip J}}}
 
{{!}} {{{Equip J}}}
 +
|}}
 +
|-
 +
{{#if: {{{Armor B|}}} |
 +
! style="background:#2a2a2a;text-align:center;font-size:10pt" colspan="3" {{!}} '''[[Armor]] Points Distribution'''
 +
{{!}}-
 +
{{!}} colspan="3" style="text-align:center; padding:0" {{!}} {{Annotated image infobox
 +
| image = Vtol_700.png
 +
| image-width = 350
 +
| width = 350
 +
| height = 385
 +
| frameless = true
 +
| nolink = yes
 +
| annot-text-align = left
 +
| annotations =
 +
{{Annotation|245|60|B|font-size=20|color=white}}
 +
{{Annotation|245|115|LW|font-size=20|color=white}}
 +
{{Annotation|245|170|RW|font-size=20|color=white}}
 +
{{Annotation|245|225|E|font-size=20|color=white}}
 +
{{Annotation|245|280|T|font-size=20|color=white}}
 +
 +
{{Annotation|290|60|{{{Armor B|}}}|font-size=20|color=white}}
 +
{{#if: {{{Armor LW|}}} | {{Annotation|290|115|{{{Armor LW}}}|font-size=20|color=white}} | {{Annotation|290|115|{{{Armor LRW|}}}|font-size=20|color=white}} }}
 +
{{#if: {{{Armor RW|}}} | {{Annotation|290|170|{{{Armor RW}}}|font-size=20|color=white}} | {{Annotation|290|170|{{{Armor LRW|}}}|font-size=20|color=white}} }}
 +
{{Annotation|290|225|{{{Armor E|}}}|font-size=20|color=white}}
 +
{{Annotation|290|280|{{{Armor T|}}}|font-size=20|color=white}}
 +
}}
 
|}}
 
|}}
 
|}
 
|}
 +
All stats current as of release {{{Version153|0.15.3}}}
 +
</div>
 
[[Category:VTOLs]]
 
[[Category:VTOLs]]
[[Category:{{{Faction}}} VTOLs]]
+
[[Category:{{{Faction}}} VTOLs]]</includeonly><noinclude>
{{ClearRight}}
+
[[Category: Infoboxes]] {{Documentation}}</noinclude>
</includeonly>
 
 
 
<noinclude>
 
{{VTOL
 
| Image = File:MWLL_logo_large.png
 
| ImageSize =
 
| Faction = Clan
 
| Tickets = 5
 
| Tonnage = 35
 
| Speed = 400
 
 
 
| Price Prime = 65,000
 
| ArmorT Prime = 10,000
 
| Weapons Prime =  <ul>
 
<li>1 [[HVAC|HVAC10]]
 
<li>1 [[ERLBL]]
 
<li>2 [[LRM5]]
 
<li>2 [[LRM5]]
 
<li>2 [[MGun]]
 
</ul>
 
| Equip Prime = <ul>
 
<li>[[C3]]
 
<li>[[GECM]]
 
<li>[[EOptics]]
 
<li>[[MASC]]
 
<li>3 [[DHS]]
 
<li>0 [[free tons]]
 
<li>9T [[Armor]]
 
</ul>
 
 
 
| Price A = 75,000
 
| ArmorT A = 16,000
 
| Weapons A =  <ul>
 
<li>1 [[AirCMPL]]
 
<li>1 [[CLBX5]]
 
<li>2 [[AirLRM5]]
 
</ul>
 
| Equip A = <ul>
 
<li> [[C3]]
 
<li> [[GECM]]
 
<li> [[EOptics]]
 
<li> [[MASC]]
 
<li> 3 [[DHS]]
 
<li> 0 [[free tons]]
 
</ul>
 
|}}
 
 
 
==Usage==
 
<nowiki>{{VTOL</nowiki><br>
 
| Image = '''<nowiki>[[File:Name Of Image.png]]</nowiki>'''<br>
 
| ImageSize = '''Number only (in px; optional; default 350)'''<br>
 
| Faction = '''Inner Sphere or Clan'''<br>
 
| Tickets = '''Number only'''<br>
 
| Tonnage = '''Number only'''<br>
 
| Speed = '''Number only'''<br>
 
<br>
 
| Price Prime = '''Price of prime, number only (commas accepted)'''<br>
 
| ArmorT Prime = '''Total Armor, number only (commas accepted)'''<br>
 
| Equip Prime = '''<nowiki>Equipment*</nowiki>'''<br>
 
| Weapons Prime = '''<nowiki>Weapon* (required)</nowiki>'''<br>
 
| Price A = '''Price of A, number only (commas accepted)'''<br>
 
| ArmorT A = '''Total Armor, number only (commas accepted)'''<br>
 
| Equip A = '''<nowiki>Equipment*</nowiki>'''<br>
 
| Weapons A = '''<nowiki>Weapon* (required to be shown)</nowiki>'''<br>
 
| Price B = '''Price of B, number only (commas accepted)'''<br>
 
| ArmorT B = '''Total Armor, number only (commas accepted)'''<br>
 
| Equip B = '''<nowiki>Equipment*</nowiki>'''<br>
 
| Weapons B = '''<nowiki>Weapon* (required to be shown)</nowiki>'''<br>
 
| Price C = '''Price of C, number only (commas accepted)'''<br>
 
| ArmorT C = '''Total Armor, number only (commas accepted)'''<br>
 
| Equip C = '''<nowiki>Equipment*</nowiki>'''<br>
 
| Weapons C = '''<nowiki>Weapon* (required to be shown)</nowiki>'''<br>
 
'''. . .'''<br>
 
| Price J = '''Price of J, number only (commas accepted)'''<br>
 
| ArmorT J = '''Total Armor, number only (commas accepted)'''<br>
 
| Equip J = '''<nowiki>Equipment*</nowiki>'''<br>
 
| Weapons J = '''<nowiki>Weapon* (required to be shown)</nowiki>'''<br>
 
<br>'''NOTE: Armor currently not working!'''<br>
 
| Armor CT = '''Center torso armor, number only'''<br>
 
| Armor LRT = '''Left and right torso armor if symmetrical, number only'''<br>
 
| Armor LT = '''Left torso armor if asymmetrical, number only'''<br>
 
| Armor RT = '''Right torso armor if asymmetrical, number only'''<br>
 
| Armor LRA = '''Left and right arm armor, number only'''<br>
 
| Armor LRL= '''Left and right leg armor, number only'''<br>
 
| Armor H = '''Head armor, number only'''<br>
 
| Armor B = '''Back armor, number only'''<br>
 
| Armor LE = '''Left external armor, number only (use only if all variants have external pods)'''<br>
 
| Armor RE = '''Right external armor, number only (use only if all variants have external pods)'''<br>
 
}}
 
 
 
===Notes===
 
* Use proper name for Faction as this is used for categorization.
 
* Image should be Prime variant on white, black, or transparent background.
 
* Total Armor - sum of armor points for components minus the external pods armor (to avoid confusion between variants with and without external pods).
 
* Weapons and Equipment require <nowiki><ul> and <li></nowiki> to function properly as unordered lists (see template).
 
* Variants will not display if no Weapons are listed.
 
 
 
{{Clear}}
 
 
 
==Template==
 
<pre>
 
{{VTOL
 
| Image =
 
| ImageSize =
 
| Faction =
 
| Tickets =
 
| 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>
 
}}
 
</pre>
 
 
 
[[Category:Infoboxes]]
 
</noinclude>
 

Latest revision as of 20:28, 7 August 2023

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 destruction
Tier: 4
Tonnage: 35 tons
Speed: 400 km/h
Variant Armament
Variant Weapons Equipment
Prime:
Price: 65,000 CBills
Total armor: 10,000
A:
Price: 75,000 CBills
Total armor: 16,000
Armor Points Distribution
B
LW
RW
E
T
1100
1200
1300
1400
1500

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

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