Difference between revisions of "Template:Mech"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(This is a test, please ignore)
 
(Blanked the page)
Line 1: Line 1:
<table cellspacing="0" cellpadding="0" class="infobox">
 
<tr>
 
<td colspan="3" class="imgbox">
 
{{{Image}}}
 
</td>
 
</tr>
 
<tr>
 
<th class="stripe_gray" colspan="3">
 
{{{Name}}}
 
</th>
 
</tr>
 
<tr style="vertical-align: top;">
 
<td class="gray">
 
Class:
 
</td>
 
<td class="gray2" colspan="2">
 
{{{Class}}}
 
</td>
 
</tr>
 
<tr>
 
<td class="gray">
 
Faction:
 
</td>
 
<td class="gray2" colspan="2">
 
[[{{{Faction}}}]]
 
</td>
 
</tr>
 
<tr>
 
<td class="gray">
 
Ticket cost:
 
</td>
 
<td class="gray2" colspan="2">
 
[[Tickets|{{{Tickets}}} upon destruction]]
 
</td>
 
</tr>
 
{{#if:{{{Speed|}}}|<tr>
 
<td class="gray">
 
Speed:
 
</td>
 
<td class="gray2" colspan="2">
 
{{{Speed}}} km/h
 
{{#if:{{{SpeedWithMasc|}}}|({{{SpeedWithMasc}}} km/h with [[MASC]])|}}
 
</td>
 
</tr>|}}
 
{{#if:{{{Rotation|}}}|<tr>
 
<td class="gray">
 
Torso rotation:
 
</td>
 
<td class="gray2" colspan="2">
 
{{{Rotation}}}°
 
</td>
 
</tr>|}}
 
{{#if:{{{PitchStand|}}}|<tr>
 
<td class="gray">
 
Torso pitch:
 
</td>
 
<td class="gray2" colspan="2">
 
{{{PitchStand}}} while standing.<br>
 
{{{PitchCrouch}}} while crouching.
 
</td>
 
</tr>|}}
 
  
 
<tr>
 
<td class="stripe_gray" colspan="3">
 
Variants Armament
 
</td>
 
</tr>
 
<tr>
 
<td class="gray">
 
<div style="height: 15px; overflow: hidden;">Variant</div>
 
</td>
 
<td class="gray2">
 
<div style="height: 15px; overflow: hidden;">Weapons</div>
 
</td>
 
<td class="gray">
 
<div style="height: 15px; overflow: hidden;">Equipment</div>
 
</td>
 
</tr>
 
<tr >
 
<td  class="gray">
 
Prime:<br>
 
{{#if:{{{Price|}}}|{{{Price}}}Cbills|}}
 
{{#if:{{{ArmorT Prime|}}}|<br><small>Total base armor: {{{ArmorT Prime}}}</small>|}}
 
</td>
 
<td  class="gray2">
 
{{{Prime}}}
 
</td>
 
<td  class="gray">
 
{{{Prime Equip}}}
 
</td>
 
</tr>
 
{{#if:{{{A|}}}|
 
<tr>
 
<td class="gray">
 
A:<br>
 
{{#if:{{{PriceA|}}}|{{{PriceA}}}Cbills|}}
 
{{#if:{{{ArmorT A|}}}|<br><small>Total base armor: {{{ArmorT A}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{A}}}
 
</td>
 
<td class="gray">
 
{{{A Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{B|}}}|
 
<tr>
 
<td class="gray">
 
B:<br>
 
{{#if:{{{PriceB|}}}|{{{PriceB}}}Cbills|}}
 
{{#if:{{{ArmorT B|}}}|<br><small>Total base armor: {{{ArmorT B}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{B}}}
 
</td>
 
<td class="gray">
 
{{{B Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{C|}}}|
 
<tr>
 
<td class="gray">
 
C:<br>
 
{{#if:{{{PriceC|}}}|{{{PriceC}}}Cbills|}}
 
{{#if:{{{ArmorT C|}}}|<br><small>Total base armor: {{{ArmorT C}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{C}}}
 
</td>
 
<td class="gray">
 
{{{C Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{D|}}}|<tr>
 
<td class="gray">
 
D:<br>
 
{{#if:{{{PriceD|}}}|{{{PriceD}}}Cbills|}}
 
{{#if:{{{ArmorT D|}}}|<br><small>Total base armor: {{{ArmorT D}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{D}}}
 
</td>
 
<td class="gray">
 
{{{D Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{E|}}}|<tr>
 
<td class="gray">
 
E:<br>
 
{{#if:{{{PriceE|}}}|{{{PriceE}}}Cbills|}}
 
{{#if:{{{ArmorT E|}}}|<br><small>Total base armor: {{{ArmorT E}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{E}}}
 
</td>
 
<td class="gray">
 
{{{E Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{F|}}}|<tr>
 
<td class="gray">
 
F:<br>
 
{{#if:{{{PriceF|}}}|{{{PriceF}}}Cbills|}}
 
{{#if:{{{ArmorT F|}}}|<br><small>Total base armor: {{{ArmorT F}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{F}}}
 
</td>
 
<td class="gray">
 
{{{F Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{G|}}}|<tr>
 
<td class="gray">
 
G:<br>
 
{{#if:{{{PriceG|}}}|{{{PriceG}}}Cbills|}}
 
{{#if:{{{ArmorT G|}}}|<br><small>Total base armor: {{{ArmorT G}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{G}}}
 
</td>
 
<td class="gray">
 
{{{G Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{H|}}}|<tr>
 
<td class="gray">
 
H:<br>
 
{{#if:{{{PriceH|}}}|{{{PriceH}}}Cbills|}}
 
{{#if:{{{ArmorT H|}}}|<br><small>Total base armor: {{{ArmorT H}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{H}}}
 
</td>
 
<td class="gray">
 
{{{H Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{I|}}}|<tr>
 
<td class="gray">
 
I:<br>
 
{{#if:{{{PriceI|}}}|{{{PriceI}}}Cbills|}}
 
{{#if:{{{ArmorT I|}}}|<br><small>Total base armor: {{{ArmorT I}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{I}}}
 
</td>
 
<td class="gray">
 
{{{I Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{J|}}}|<tr>
 
<td class="gray">
 
J:<br>
 
{{#if:{{{PriceJ|}}}|{{{PriceJ}}}Cbills|}}
 
{{#if:{{{ArmorT J|}}}|<br><small>Total base armor: {{{ArmorT J}}}</small>|}}
 
</td>
 
<td class="gray2">
 
{{{J}}}
 
</td>
 
<td class="gray">
 
{{{J Equip}}}
 
</td>
 
</tr>|}}
 
{{#if:{{{Armor CT|}}}|
 
<tr>
 
<td class="stripe_gray" colspan="3">
 
Armor
 
</td>
 
</tr>
 
<tr>
 
<td colspan="3" style="padding: 0;"><div class="graph_mech">
 
<div class="armor_a">{{{Armor CT}}}</div>
 
{{#if:{{{Armor LE|}}}|
 
<div style="left: 69px; top: 0px;">{{{Armor LE}}}</div>
 
|}}
 
{{#if:{{{Armor RE|}}}|
 
<div style="left: 175px; top: 0px;">{{{Armor RE}}}</div>
 
|}}
 
{{#if:{{{Armor LRT|}}}|
 
<div class="armor_b1">{{{Armor LRT}}}</div>
 
<div class="armor_b2">{{{Armor LRT}}}</div>|
 
<div class="armor_b1">{{{Armor LT}}}</div>
 
<div class="armor_b2">{{{Armor RT}}}</div>}}
 
{{#if:{{{Armor LRA|}}}|
 
<div class="armor_c1">{{{Armor LRA}}}</div>
 
<div class="armor_c2">{{{Armor LRA}}}</div>|
 
<div class="armor_c1">{{{Armor LA}}}</div>
 
<div class="armor_c2">{{{Armor RA}}}</div>}}
 
<div class="armor_d1">{{{Armor LRL}}}</div>
 
<div class="armor_d2">{{{Armor LRL}}}</div>
 
<div class="armor_e">{{{Armor H}}}</div>
 
<div class="armor_f">Back: {{{Armor B}}}</div>
 
</div></td>
 
</tr>|}}
 
</table>
 
[[Category:{{{Class}}} Mechs]]
 
[[Category:{{{Faction}}} Mechs]]
 
<noinclude>
 
 
Template for BattleMechs
 
==Usage==
 
<nowiki>{{Mech|</nowiki><br>
 
| Image =[[File:'''Name Of Image'''.jpg|300px]]<br>
 
| Name ='''In Game Name'''<br>
 
| Class ='''One of: Light/Medium/Heavy/Assault'''<br>
 
| Faction ='''One of: <nowiki>Inner Sphere/Clan</nowiki>'''<br>
 
| Tickets ='''Number only'''<br>
 
| Speed ='''Number only'''<br>
 
| SpeedWithMasc ='''Number only'''<br>
 
| Rotation ='''Number only'''<br>
 
| PitchStand ='''minimum° to maximum°'''<br>
 
| PitchCrouch ='''minimum° to maximum°'''<br>
 
<br>
 
| Prime = '''<nowiki>* Weapon</nowiki>'''<br>
 
| Price = '''Price of prime, number only'''<br>
 
| ArmorT Prime = '''Total Armor*, number only'''<br>
 
| Prime Equip = '''<nowiki>* Equipment</nowiki>'''<br>
 
| A = '''<nowiki>* Weapon</nowiki>'''<br>
 
| PriceA = '''Price of A, number only'''<br>
 
| ArmorT A= '''Total Armor*, number only'''<br>
 
| A Equip = '''<nowiki>* Equipment</nowiki>'''<br>
 
| B = '''<nowiki>* Weapon</nowiki>'''<br>
 
| PriceB = '''Price of B, number only'''<br>
 
| ArmorT B= '''Total Armor*, number only'''<br>
 
| B Equip = '''<nowiki>* Equipment</nowiki>'''<br>
 
| C = '''<nowiki>* Weapon</nowiki>'''<br>
 
| PriceC = '''Price of C, number only'''<br>
 
| ArmorT C= '''Total Armor*, number only'''<br>
 
| C Equip = '''<nowiki>* Equipment</nowiki>'''<br>
 
| D = '''<nowiki>* Weapon</nowiki>'''<br>
 
| PriceD = '''Price of D, number only'''<br>
 
| ArmorT D= '''Total Armor*, number only'''<br>
 
| D Equip = '''<nowiki>* Equipment</nowiki>'''<br>
 
| E = '''<nowiki>* Weapon</nowiki>'''<br>
 
| PriceE = '''Price of E, number only'''<br>
 
| ArmorT E= '''Total Armor*, number only'''<br>
 
| E Equip = '''<nowiki>* Equipment</nowiki>'''<br>
 
<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 Class and Faction as these are used for categorization of Mechs.
 
* Image should be Prime variant on white background
 
* * Total Armor - sum of armor points for components minus the external pods armor (<small>to avoid confusion between variants with and without external pods</small>)
 
* Use either ''Armor LRT'' for symmetrically, or both ''Armor LT'' and ''Armor RT'' for asymmetrically armored mechs
 
[[Category:Infoboxes]]
 
</noinclude>
 

Revision as of 06:43, 1 August 2017