Difference between revisions of "Template:Snekbox2"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>
+
<noinclude>Snekbox2 is a sandbox template for testing infoboxes.
{| class="snekbox2" style="border:1px solid #250b2d; text-align:left; font-size:9pt; width:{{{ImageSize}}}px;" cellpadding="1" cellspacing="0" rules="all" align="right"
+
 
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{{ImageSize}}}px; font-size:12pt" | {{PAGENAME}}
+
==Snekbox==</noinclude><includeonly><includeonly>{| style="border:1px solid #250b2d; text-align:left; font-size:9pt; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; margin: 0px 0px 10px 10px;" cellpadding="4" cellspacing="1" rules="all" align="right"
 +
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}}
 +
|-
 +
| colspan="3" style="text-align:center; padding:0" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]
 +
|-
 +
| Class: || colspan="2" style="background:#383838" | [[Mechs#{{{Class}}} Mechs|{{{Class}}} Mech]]
 
|-
 
|-
| colspan="3" style="text-align:center" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]  
+
| Faction: || colspan="2" style="background:#383838" | [[{{{Faction}}}]]
 
|-
 
|-
| Class: || colspan="2" style="background:#383838" | [[{{{Class}}}]]
+
| Ticket cost: || colspan="2" style="background:#383838" | [[Tickets|{{{Tickets}}} upon destruction]]
 
|-
 
|-
| Faction || colspan="2" style="background:#383838" | [[{{{Faction}}}]]
+
| Tier: || colspan="2" style="background:#383838" | [[Points#Asset Tiers|{{{Tier}}}]]
 
|-
 
|-
| Ticket cost: || colspan="2" style="background:#383838" | [[Tickets|{{{Tickets}}} upon distruction]]
+
{{#if: {{{Tonnage|}}} |
 +
{{!}} Tonnage:
 +
{{!}} colspan="2" style="background:#383838" {{!}} {{{Tonnage}}} tons
 +
|}}
 
|-
 
|-
| Speed: || colspan="2" style="background:#383838" |
+
| Speed: || colspan="2" style="background:#383838" | {{#if:{{{SpeedWithMasc|}}} | {{{Speed}}} km/h ({{{SpeedWithMasc}}} km/h with [[MASC]]) | {{{Speed}}} km/h}}
{{#if:{{{SpeedWithMasc}}}|
 
{{{Speed}}} km/h ({{{SpeedWithMasc}}} km/h with [[MASC]])|
 
{{{Speed}}} km/h
 
}}
 
 
|-
 
|-
| Torso rotation: || colspan="2" style="background:#383838" | {{{Rotation}}}°
+
| Torso yaw: || colspan="2" style="background:#383838" | {{{Rotation}}}°
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| Troso pitch: || colspan="2" style="background:#383838" | {{{PitchStand}}} while standing.<br>{{{PitchCrouch}}} while crouching.
+
| Torso pitch: || colspan="2" style="background:#383838" | {{{PitchStand}}} while standing.<br>{{{PitchCrouch}}} while crouching.
 
|-
 
|-
| colspan="3" style="background:#2a2a2a;text-align:center;font-size:9pt" | '''Variant Armament'''
+
! style="background:#2a2a2a;text-align:center;font-size:9pt" colspan="3" | '''Variant Armament'''
 
|-
 
|-
| 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:34%" class="mw-collapsible" | 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}}}
+
| class="mw-collapsible" style="font-size:8pt" | Prime:<br> Price: {{{Price Prime}}} CBills<br> Total base armor: {{{ArmorT Prime}}}
 
| style="background:#383838" | {{{Weapons Prime}}}
 
| style="background:#383838" | {{{Weapons Prime}}}
 
| {{{Equip Prime}}}
 
| {{{Equip Prime}}}
Line 90: Line 94:
 
|}
 
|}
 
[[Category:{{{Class}}} Mechs]]
 
[[Category:{{{Class}}} Mechs]]
[[Category:{{{Faction}}} Mechs]]
+
[[Category:{{{Faction}}} Mechs]]</includeonly><noinclude>
{{ClearRight}}
+
[[Category:Infoboxes]]
</includeonly>
 
  
<noinclude>
 
 
{{snekbox2
 
{{snekbox2
 
| Image = File:Happy-Snake-wiki.png
 
| Image = File:Happy-Snake-wiki.png
Line 144: Line 146:
 
</ul>
 
</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, 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>
 
{{snekbox2
 
| Image =
 
| ImageSize =
 
| Class =
 
| Faction =
 
| Tickets =
 
| Speed =
 
| SpeedWithMasc =
 
| Rotation =
 
| PitchStand =
 
| PitchCrouch =
 
 
| 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>
 
</noinclude>

Revision as of 21:40, 23 February 2018

Snekbox2 is a sandbox template for testing infoboxes.

Snekbox


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}}}