Difference between revisions of "Template:Mech/doc"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(Test)
 
Line 1: Line 1:
Test test test
+
This infobox template contains all essential information for MWLL's Mech assets.
This is documentation testing
+
==Usage=={{Mech
tset tset tseT
+
| Image = Image:Happy-Snake-wiki.png
 +
| ImageSize =
 +
| Tonnage = 55
 +
| Class = Medium
 +
| Faction = Inner Sphere
 +
| Tickets = 15
 +
| Speed = 120
 +
|
 +
| Rotation = 360
 +
| PitchStand = -75° to +80°
 +
| PitchCrouch = -75° to +85°
 +
 
 +
| Price Prime = 65,000
 +
| ArmorT Prime = 100,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 = 65,000
 +
| ArmorT A = 100,000
 +
| Weapons A =  <ul>
 +
<li>1 [[HVAC|HVAC10]]
 +
<li>1 [[ERLBL]]
 +
<li>2 [[LRM5]]
 +
<li>2 [[LRM5]]
 +
<li>2 [[MGun]]
 +
</ul>
 +
| Equip A = <ul>
 +
<li> [[C3]]
 +
<li> [[GECM]]
 +
<li> [[EOptics]]
 +
<li> [[MASC]]
 +
<li> 3 [[DHS]]
 +
<li> 0 [[free tons]]
 +
<li> 9T [[Armor]]
 +
</ul>
 +
|}}The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Most parameters are not required and will not be displayed when left blank or omitted. This infobox currently supports up to 10 variants.
 +
===Blank template===
 +
<pre style="overflow: auto">{{Mech
 +
| Image =
 +
| ImageSize =
 +
| Tonnage =
 +
| Class =
 +
| Faction =
 +
| Tickets =
 +
| Speed =
 +
| SpeedWithMasc =
 +
| Rotation =
 +
| PitchStand = min° to max°
 +
| PitchCrouch = min° to max°
 +
 
 +
| Price Prime =
 +
| ArmorT Prime =
 +
| Weapons Prime = <ul> <!-- Weapons and equipment must be added in this format as the standard bullet list format displays incorrectly. -->
 +
<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>
 +
===Armor values===
 +
Currently Armor is not working. However, the formatting for armor values on Mech assets will be as follows.
 +
<pre style="overflow: auto">
 +
Armor CT = Center torso armor, number only
 +
Armor LRT = Left and right torso armor if symmetrical, number only
 +
Armor LT = Left torso armor if asymmetrical, number only
 +
Armor RT = Right torso armor if asymmetrical, number only
 +
Armor LRA = Left and right arm armor, number only
 +
Armor LRL= Left and right leg armor, number only
 +
Armor H = Head armor, number only
 +
Armor B = Back armor, number only
 +
Armor LE = Left external armor, number only (use only if all variants have external pods)
 +
Armor RE = Right external armor, number only (use only if all variants have external pods)</pre>
 +
 
 +
==Parameters==
 +
As noted before most parameters are optional, however some ''must'' be included. The following is a list of parameters, their functions, and whether or not they are required.
 +
{| class="wikitable" width="100%" style= "margin:auto"
 +
! Parameter
 +
! Required
 +
! Function
 +
|-
 +
| Image
 +
| Yes
 +
| Image name: File:abc.jpg, File:xpz.png, Image:123.gif; Image name must be prefixed with <code>Image:</code> or <code>File:</code> 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 Mech in question.
 +
|-
 +
| Class
 +
| Yes
 +
| Creates a link to the category page of the Mech's class. ''Light'', ''Medium'', ''Heavy'', or ''Assualt'' are the only options that should be entered here for the link to function properly.
 +
|-
 +
| Faction
 +
| Yes
 +
| The faction of the Mech'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 Mech.
 +
|-
 +
| SpeedWithMasc
 +
| No
 +
| The top speed of the Mech when MASC is activated.
 +
|-
 +
| Rotation
 +
| Yes
 +
| The torso rotation of the Mech in degrees. '''(minimum)° to (maximum)°'''
 +
|-
 +
| PitchStand
 +
| Yes
 +
| The torso pitch of the Mech, in degrees, while standing. '''(minimum)° to (maximum)°'''
 +
|-
 +
| PitchCrouch
 +
| Yes
 +
| The torso pitch of the Mech, in degrees, while crouched. '''(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 '''<nowiki><ul></nowiki>''' and '''<nowiki><li></nowiki>''' to function properly as unordered lists.
 +
|-
 +
| Equip Prime
 +
| Yes
 +
| Equipment used by the Prime variant. Weapons and Equipment require '''<nowiki><ul></nowiki>''' and '''<nowiki><li></nowiki>''' 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 '''<nowiki><ul></nowiki>''' and '''<nowiki><li></nowiki>''' to function properly as unordered lists.
 +
|-
 +
| Equip A'''...''' J
 +
| No
 +
| Equipment for each additional variant (up to 9). Weapons and Equipment require '''<nowiki><ul></nowiki>''' and '''<nowiki><li></nowiki>''' to function properly as unordered lists.
 +
|-
 +
|}

Revision as of 02:21, 27 October 2017

This infobox template contains all essential information for MWLL's Mech assets.

Usage

Mech/doc
Happy-Snake-wiki.png
Happy-Snake-wiki.png
Class: Medium Mech
Faction: Inner Sphere
Ticket cost: 15 upon destruction
Tier: {{{Tier}}}
Tonnage: 55 tons
Speed: 120 km/h
Torso yaw: 360°
Torso pitch: -75° to +80° while standing
-75° to +85° while crouching
Variant Armament
Variant Weapons Equipment
Prime:
Price: 65,000 CBills
Total armor: 100,000
Engine Size:
A:
Price: 65,000 CBills
Total armor: 100,000
Engine Size:

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. Most parameters are not required and will not be displayed when left blank or omitted. This infobox currently supports up to 10 variants.

Blank template

{{Mech
| Image = 
| ImageSize = 
| Tonnage = 
| Class = 
| Faction = 
| Tickets = 
| Speed = 
| SpeedWithMasc = 
| Rotation = 
| PitchStand = min° to max°
| PitchCrouch = min° to max°

| Price Prime = 
| ArmorT Prime = 
| Weapons Prime = <ul> <!-- Weapons and equipment must be added in this format as the standard bullet list format displays incorrectly. -->
<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 values

Currently Armor is not working. However, the formatting for armor values on Mech assets will be as follows.

Armor CT = Center torso armor, number only
Armor LRT = Left and right torso armor if symmetrical, number only
Armor LT = Left torso armor if asymmetrical, number only
Armor RT = Right torso armor if asymmetrical, number only
Armor LRA = Left and right arm armor, number only
Armor LRL= Left and right leg armor, number only
Armor H = Head armor, number only
Armor B = Back armor, number only
Armor LE = Left external armor, number only (use only if all variants have external pods)
Armor RE = Right external armor, number only (use only if all variants have external pods)

Parameters

As noted before most 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 Mech in question.
Class Yes Creates a link to the category page of the Mech's class. Light, Medium, Heavy, or Assualt are the only options that should be entered here for the link to function properly.
Faction Yes The faction of the Mech'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 Mech.
SpeedWithMasc No The top speed of the Mech when MASC is activated.
Rotation Yes The torso rotation of the Mech in degrees. (minimum)° to (maximum)°
PitchStand Yes The torso pitch of the Mech, in degrees, while standing. (minimum)° to (maximum)°
PitchCrouch Yes The torso pitch of the Mech, in degrees, while crouched. (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.