Difference between revisions of "Template:Snekbox2"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(Grr, wikicode unordered lists and infobox don't get along so well)
(It works, but I need to figure out armor.)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="snekbox2" style="border:1px solid #250b2d; text-align:left; font-size:9pt; width:300px;" cellpadding="1" cellspacing="0" rules="all" align="right"
+
{| class="snekbox2" style="border:1px solid #250b2d; text-align:left; font-size:9pt; width:350px;" 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:350px; font-size:12pt" | {{PAGENAME}}
 
|-
 
|-
| colspan="3" style="text-align:center" | [[{{{Image}}} | {{{ImageSize}}}]]  
+
| colspan="3" style="text-align:center" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]  
 
|-
 
|-
 
| Class: || colspan="2" style="background:#383838" | [[{{{Class}}}]]
 
| Class: || colspan="2" style="background:#383838" | [[{{{Class}}}]]
Line 29: Line 29:
 
| {{{Equip Prime}}}
 
| {{{Equip Prime}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| style="font-size:8pt" | A:<br> {{{Price A}}} CBills<br> Total base armor: {{{ArmorT A}}}
+
{{#if: {{{Weapons A|}}} |
| style="background:#383838" | {{{Weapons A}}}
+
{{!}} style="font-size:8pt" {{!}} A:<br> {{{Price A}}} CBills<br> Total base armor: {{{ArmorT A}}}
| {{{Equip A}}}
+
{{!}} style="background:#383838" {{!}} {{{Weapons A}}}
 +
{{!}} {{{Equip A}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons B|}}} |
 +
{{!}} style="font-size:8pt" {{!}} B:<br> {{{Price B}}} CBills<br> Total base armor: {{{ArmorT B}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons B}}}
 +
{{!}} {{{Equip B}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons C|}}} |
 +
{{!}} style="font-size:8pt" {{!}} C:<br> {{{Price C}}} CBills<br> Total base armor: {{{ArmorT C}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons C}}}
 +
{{!}} {{{Equip C}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons D|}}} |
 +
{{!}} style="font-size:8pt" {{!}} D:<br> {{{Price D}}} CBills<br> Total base armor: {{{ArmorT D}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons D}}}
 +
{{!}} {{{Equip D}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons E|}}} |
 +
{{!}} style="font-size:8pt" {{!}} E:<br> {{{Price E}}} CBills<br> Total base armor: {{{ArmorT E}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons E}}}
 +
{{!}} {{{Equip E}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons F|}}} |
 +
{{!}} style="font-size:8pt" {{!}} F:<br> {{{Price F}}} CBills<br> Total base armor: {{{ArmorT F}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons F}}}
 +
{{!}} {{{Equip F}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons G|}}} |
 +
{{!}} style="font-size:8pt" {{!}} G:<br> {{{Price G}}} CBills<br> Total base armor: {{{ArmorT G}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons G}}}
 +
{{!}} {{{Equip G}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons H|}}} |
 +
{{!}} style="font-size:8pt" {{!}} H:<br> {{{Price H}}} CBills<br> Total base armor: {{{ArmorT H}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons H}}}
 +
{{!}} {{{Equip H}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons I|}}} |
 +
{{!}} style="font-size:8pt" {{!}} I:<br> {{{Price I}}} CBills<br> Total base armor: {{{ArmorT I}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons I}}}
 +
{{!}} {{{Equip I}}}
 +
|}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{Weapons J|}}} |
 +
{{!}} style="font-size:8pt" {{!}} J:<br> {{{Price J}}} CBills<br> Total base armor: {{{ArmorT J}}}
 +
{{!}} style="background:#383838" {{!}} {{{Weapons J}}}
 +
{{!}} {{{Equip J}}}
 +
|}}
 
|}
 
|}
 +
[[Category:{{{Class}}} Mechs]]
 +
[[Category:{{{Faction}}} Mechs]]
 +
{{ClearRight}}
 
</includeonly>
 
</includeonly>
  
Line 38: Line 97:
 
{{snekbox2
 
{{snekbox2
 
| Image = File:Happy-Snake-wiki.png
 
| Image = File:Happy-Snake-wiki.png
| ImageSize = 300px
+
| ImageSize =  
 
| Class = Medium
 
| Class = Medium
 
| Faction = Snek God
 
| Faction = Snek God
Line 66: Line 125:
 
   <li>9T [[Armor]]
 
   <li>9T [[Armor]]
 
   </ul>
 
   </ul>
 
 
 
| Price A = 65,000
 
| Price A = 65,000
 
| ArmorT A = 100,000
 
| ArmorT A = 100,000
Line 77: Line 134:
 
   <li>2 [[MGun]]
 
   <li>2 [[MGun]]
 
   </ul>
 
   </ul>
| Equip A =
+
| Equip A = <ul>
* [[C3]]
+
<li> [[C3]]
* [[GECM]]
+
<li> [[GECM]]
* [[EOptics]]
+
<li> [[EOptics]]
* [[MASC]]
+
<li> [[MASC]]
* 3 [[DHS]]
+
<li> 3 [[DHS]]
* 0 [[free tons]]
+
<li> 0 [[free tons]]
* 9T [[Armor]]
+
<li> 9T [[Armor]]
 +
</ul>
 
|}}
 
|}}
 +
 +
==Usage==
 +
<nowiki>{{snekbox2|</nowiki><br>
 +
| Image = '''<nowiki>[[File:Name Of Image.png]]</nowiki>'''<br>
 +
| ImageSize = '''Number only (in px; optional; default 350)'''<br>
 +
| Class = '''One of: Light/Medium/Heavy/Assault'''<br>
 +
| Faction = '''Inner Sphere or Clan'''<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>
 +
| 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>
 +
| Weapons A = '''<nowiki>* Weapon (required to be shown)</nowiki>'''<br>
 +
| Equip A = '''<nowiki>* Equipment</nowiki>'''<br>
 +
| Price B = '''Price of B, number only (commas accepted)'''<br>
 +
| ArmorT B = '''Total Armor*, number only (commas accepted)'''<br>
 +
| Weapons B = '''<nowiki>* Weapon (required to be shown)</nowiki>'''<br>
 +
| Equip B = '''<nowiki>* Equipment</nowiki>'''<br>
 +
| Price C = '''Price of C, number only (commas accepted)'''<br>
 +
| ArmorT C = '''Total Armor*, number only (commas accepted)'''<br>
 +
| Weapons C = '''<nowiki>* Weapon (required to be shown)</nowiki>'''<br>
 +
| Equip C = '''<nowiki>* Equipment</nowiki>'''<br>
 +
'''. . .'''<br>
 +
| Price J = '''Price of J, number only (commas accepted)'''<br>
 +
| ArmorT J = '''Total Armor*, number only (commas accepted)'''<br>
 +
| Weapons J = '''<nowiki>* Weapon (required to be shown)</nowiki>'''<br>
 +
| Equip J = '''<nowiki>* Equipment</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 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
 +
{{Clear}}
 +
 +
==Template==
 +
<pre>
 +
{{snekbox2
 +
| Image =
 +
| ImageSize =
 +
| Class =
 +
| Faction =
 +
| Tickets =
 +
| Speed =
 +
| SpeedWithMasc =
 +
| Rotation =
 +
| PitchStand =
 +
| PitchCrouch =
 +
 +
| Price Prime =
 +
| ArmorT Prime =
 +
| Weapons Prime =
 +
| Equip Prime =
 +
| Price A =
 +
| ArmorT A =
 +
| Weapons A =
 +
| Equip A =
 +
| Price B =
 +
| ArmorT B =
 +
| Weapons B =
 +
| Equip B =
 +
| Price C =
 +
| ArmorT C =
 +
| Weapons C =
 +
| Equip C =
 +
 +
}}
 +
</pre>
 +
 +
[[Category:Infoboxes]]
 
</noinclude>
 
</noinclude>

Revision as of 02:44, 3 August 2017



Snekbox2
Happy-Snake-wiki.png
Class: Medium Mech
Faction: Snek God
Ticket cost: All tickets upon destruction
Tier: {{{Tier}}}
Speed: Fast km/h (Heckin Fast km/h with MASC)
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 base armor: 100,000
Engine Size:
A:
Price: 65,000 CBills
Total base armor: 100,000
Engine Size:

All stats current as of release {{{Version}}}

Usage

{{snekbox2|
| Image = [[File:Name Of Image.png]]
| ImageSize = Number only (in px; optional; default 350)
| Class = One of: Light/Medium/Heavy/Assault
| Faction = Inner Sphere or Clan
| Tickets = Number only
| Speed = Number only
| SpeedWithMasc = Number only
| Rotation = Number only
| PitchStand = minimum° to maximum°
| PitchCrouch = minimum° to maximum°

| Price Prime = Price of prime, number only (commas accepted)
| ArmorT Prime = Total Armor*, number only (commas accepted)
| Equip Prime = * Equipment
| Weapons Prime = * Weapon (required)
| Price A = Price of A, number only (commas accepted)
| ArmorT A = Total Armor*, number only (commas accepted)
| Weapons A = * Weapon (required to be shown)
| Equip A = * Equipment
| Price B = Price of B, number only (commas accepted)
| ArmorT B = Total Armor*, number only (commas accepted)
| Weapons B = * Weapon (required to be shown)
| Equip B = * Equipment
| Price C = Price of C, number only (commas accepted)
| ArmorT C = Total Armor*, number only (commas accepted)
| Weapons C = * Weapon (required to be shown)
| Equip C = * Equipment
. . .
| Price J = Price of J, number only (commas accepted)
| ArmorT J = Total Armor*, number only (commas accepted)
| Weapons J = * Weapon (required to be shown)
| Equip J = * Equipment

NOTE: Armor currently not working!
| 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)
}}

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 (to avoid confusion between variants with and without external pods)
  • Use either Armor LRT for symmetrically, or both Armor LT and Armor RT for asymmetrically armored mechs


Template

{{snekbox2
| Image = 
| ImageSize = 
| Class = 
| Faction = 
| Tickets = 
| Speed = 
| SpeedWithMasc = 
| Rotation = 
| PitchStand = 
| PitchCrouch = 

| Price Prime = 
| ArmorT Prime = 
| Weapons Prime = 
| Equip Prime = 
| Price A = 
| ArmorT A = 
| Weapons A = 
| Equip A = 
| Price B = 
| ArmorT B = 
| Weapons B = 
| Equip B = 
| Price C = 
| ArmorT C = 
| Weapons C = 
| Equip C = 

}}