Difference between revisions of "Template:VTOL"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(make tonnage optional)
(Add armor diagram, change to new infobox color scheme, move usage info to doc page)
Line 1: Line 1:
<includeonly>
+
<includeonly>{| style="border:2px solid #e69710; text-align:left; font-size:9pt; width: 350px; margin: 0px 0px 10px 10px;" cellpadding="4" cellspacing="1" rules="all" align="right"
{| 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"
+
! colspan="3" style="background:#2a2a2a; text-align:center; width: 350px; font-size:12pt" | {{PAGENAME}}
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|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" | [[{{{Image}}} | 350px]]  
 
|-
 
|-
 
| Faction || colspan="2" style="background:#383838" | [[{{{Faction}}}]]
 
| Faction || colspan="2" style="background:#383838" | [[{{{Faction}}}]]
Line 82: Line 81:
 
{{!}} 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]]'''
 +
{{!}}-
 +
{{!}} 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}}
 +
}}
 
|}}
 
|}}
 
|}
 
|}
 
[[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>
 

Revision as of 23:54, 5 March 2018

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.