Difference between revisions of "Template:Map"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (slight compatibility "fix")
(I think I fixed it now.)
Line 3: Line 3:
 
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|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" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]
 
|-
 
|-
 
{{#if: {{{Environment|}}} |
 
{{#if: {{{Environment|}}} |
Line 12: Line 12:
 
{{#if: {{{Temperature|}}} |
 
{{#if: {{{Temperature|}}} |
 
{{!}} Temperature:
 
{{!}} Temperature:
{{!}} colspan="2" style="background:#383838" {{!}} {{{Temperature}}}°
+
{{!}} colspan="2" style="background:#383838" {{!}} {{{Temperature}}}
 
|}}
 
|}}
 
|-
 
|-
Line 37: Line 37:
 
! colspan="3" style="background:#2a2a2a; text-align:center; font-size:12pt"| Assets
 
! colspan="3" style="background:#2a2a2a; text-align:center; font-size:12pt"| Assets
 
|-
 
|-
{{#ifeq:{{{Mech}}}|1|* [[Mechs]]|}}{{#ifeq:{{{Tank}}}|1|* [[Vehicles]]|}}{{#ifeq:{{{VTOL}}}|1|* [[VTOL]]|}}{{#ifeq:{{{Aero}}}|1|* [[Aero]]|}}
+
| Assets:
 +
! style="background:#383838" |
 +
{{#if:{{{Mech}}} | * [[Mechs]] |}}
 +
{{#if:{{{Tank}}} | * [[Vehicles]] |}}
 +
{{#if:{{{VTOL}}} | * [[VTOLs]] |}}
 +
{{#if:{{{Aero}}} | * [[Aerospace Fighters]] |}}
 
|-
 
|-
{{#if: {{{Base Defenses|}}} |
+
| Base Defenses:
{{!}} Base Defenses:
+
! style="background:#383838" |
{{!}} colspan="2" style="background:#383838" {{!}} {{{Base Defenses}}}
+
{{#ifeq: {{{Base Defenses|}}} | Yes | Yes | None}}
|}}
 
 
|-
 
|-
 
{{#if: {{{BaseIS|}}} |
 
{{#if: {{{BaseIS|}}} |
{{!}} BaseIS:
+
{{!}} Number of Bases:
{{!}} colspan="2" style="background:#383838" {{!}} {{{BaseIS}}}
+
{{!}} colspan="2" style="background:#383838" {{!}} IS: {{{BaseIS}}}<br>Clan: {{{BaseCL|}}}<br>Neutral: {{{BaseNtl|}}}
|}}
 
|-
 
{{#if: {{{BaseCL|}}} |
 
{{!}} BaseCL:
 
{{!}} colspan="2" style="background:#383838" {{!}} {{{BaseCL}}}
 
 
|}}
 
|}}
 
|-
 
|-
Line 57: Line 56:
 
|-
 
|-
 
{{#if: {{{Map|}}} |
 
{{#if: {{{Map|}}} |
{{!}} colspan="3" style="background:#383838; width:{{#if: {{{ImageSize{{!}}}}}{{{ImageSize{{!}}}}}px{{!}}350px}};" {{!}} {{{Map}}}
+
{{!}} colspan="3" style="text-align:center" {{!}} [[{{{Map}}} {{!}} {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]
 
|}}
 
|}}
 +
|-
 
|}
 
|}
 
[[Category:Maps]]
 
[[Category:Maps]]
Line 68: Line 68:
 
| Image = File:Clearcut.jpg
 
| Image = File:Clearcut.jpg
 
| Environment = Forest
 
| Environment = Forest
| Temperature =
+
| Size = 8192 x 8192
| Size =8192 x 8192
 
 
| Game Modes = <ul>
 
| Game Modes = <ul>
 
<li>[[Team Solaris Arena]]
 
<li>[[Team Solaris Arena]]
Line 78: Line 77:
 
| VTOL = 1
 
| VTOL = 1
 
| Aero = 1
 
| Aero = 1
| Base Defenses = 1
+
| Base Defenses = Yes
| Map  = [[File:Clearcut minimap.jpg]]
+
| Map  = File:Clearcut minimap.jpg
 
}}
 
}}
  
Line 85: Line 84:
 
==Usage==
 
==Usage==
 
<nowiki>{{Map|</nowiki><br>
 
<nowiki>{{Map|</nowiki><br>
| Image = [[File:'''Name Of Image'''.jpg|300px]]<br>
+
| Image = File:'''Name Of Image'''.jpg<br>
| Name = '''In Game Name'''<br>
+
| ImageSize = '''Number only (in px; optional; default 350)'''<br>
 
| Environment = '''Environment description'''<br>
 
| Environment = '''Environment description'''<br>
 
| Temperature = '''Number only, if multiple add after slash'''<br>
 
| Temperature = '''Number only, if multiple add after slash'''<br>
 
| Planet = '''Name of planet, from loading screen'''<br>
 
| Planet = '''Name of planet, from loading screen'''<br>
| Coords = '''planet coordinates, from loading screen'''<br>
+
| Coords = '''Planet coordinates, from loading screen'''<br>
 
| Size = '''Number ''' x '''Number'''<br>
 
| Size = '''Number ''' x '''Number'''<br>
 
| Game Modes = '''Bullet list, see: [[:Category:Game Modes|Game Modes]]'''<br>
 
| Game Modes = '''Bullet list, see: [[:Category:Game Modes|Game Modes]]'''<br>
 
| Available = '''First [[MWLL]] version in which map was available, Number only'''<br>
 
| Available = '''First [[MWLL]] version in which map was available, Number only'''<br>
| Mech = '''One of: 1/0'''<br>
+
| Mech = '''Yes or blank'''<br>
| Tank = '''One of: 1/0'''<br>
+
| Tank = '''Yes or blank'''<br>
| VTOL = '''One of: 1/0'''<br>
+
| VTOL = '''Yes or blank'''<br>
| Aero = '''One of: 1/0'''<br>
+
| Aero = '''Yes or blank'''<br>
| Base Defenses = '''One of: 1/0'''<br>
+
| Base Defenses = '''Yes or blank'''<br>
 
| BaseIS = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. ASF: 2)'''<br>
 
| BaseIS = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. ASF: 2)'''<br>
 
| BaseCL = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. VTOL: 1)'''<br>
 
| BaseCL = '''Number (in brackets a number of ASF+VTOL or VTOL pads, eg. VTOL: 1)'''<br>
| Map  = [[File:'''Name Of Image'''.jpg|350px]]<br>
+
| Map  = File:'''Name Of Image'''.jpg<br>
 +
}}
 +
{{Clear}}
 +
 
 +
==Template==
 +
<pre>
 +
{{Map
 +
| Image =
 +
| ImageSize =
 +
| Environment =
 +
| Temperature =
 +
| Planet =
 +
| Coords =
 +
| Size =
 +
| Game Modes =
 +
| Available =
 +
| Mech =
 +
| Tank =
 +
| VTOL =
 +
| Aero =
 +
| Base Defenses =
 +
| BaseIS =
 +
| BaseCL =
 +
| Map  =
 
}}
 
}}
 +
</pre>
  
 
==Notes==
 
==Notes==
 
* Primary image should be pictured from default camera location before starting the match (if camera is misplaced - random location may be chosen)
 
* Primary image should be pictured from default camera location before starting the match (if camera is misplaced - random location may be chosen)
 
* Map image needs to be minimap.dds converted to JPG file and downsized to 1024 before the upload.
 
* Map image needs to be minimap.dds converted to JPG file and downsized to 1024 before the upload.
* Mech, Tank, VTOL and Aero are automatically placed on template with proper links, so only number should be added.
+
* Mech, Tank, VTOL and Aero are automatically placed on template with proper links, so only '''"Yes"''' should be added, otherwise these will default to blank.
 +
* Base Defenses should be '''"Yes"''' if there are any, anything else will display '''"None"'''.
 +
* Multiple Game Modes require <nowiki><ul> and <li></nowiki> to function properly as unordered lists.
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
</noinclude>
 
</noinclude>

Revision as of 02:08, 15 August 2017



Map
Clearcut.jpg
Environment: Forest
Size: 8192 x 8192
Game Modes:
First Available In: Beta 1.0
Assets
Assets:
Tactical Map


Template for maps

Usage

{{Map|
| Image = File:Name Of Image.jpg
| ImageSize = Number only (in px; optional; default 350)
| Environment = Environment description
| Temperature = Number only, if multiple add after slash
| Planet = Name of planet, from loading screen
| Coords = Planet coordinates, from loading screen
| Size = Number x Number
| Game Modes = Bullet list, see: Game Modes
| Available = First MWLL version in which map was available, Number only
| Mech = Yes or blank
| Tank = Yes or blank
| VTOL = Yes or blank
| Aero = Yes or blank
| Base Defenses = Yes or blank
| BaseIS = Number (in brackets a number of ASF+VTOL or VTOL pads, eg. ASF: 2)
| BaseCL = Number (in brackets a number of ASF+VTOL or VTOL pads, eg. VTOL: 1)
| Map = File:Name Of Image.jpg
}}


Template

{{Map
| Image = 
| ImageSize = 
| Environment = 
| Temperature = 
| Planet = 
| Coords = 
| Size = 
| Game Modes = 
| Available = 
| Mech = 
| Tank = 
| VTOL = 
| Aero = 
| Base Defenses = 
| BaseIS = 
| BaseCL = 
| Map  = 
}}

Notes

  • Primary image should be pictured from default camera location before starting the match (if camera is misplaced - random location may be chosen)
  • Map image needs to be minimap.dds converted to JPG file and downsized to 1024 before the upload.
  • Mech, Tank, VTOL and Aero are automatically placed on template with proper links, so only "Yes" should be added, otherwise these will default to blank.
  • Base Defenses should be "Yes" if there are any, anything else will display "None".
  • Multiple Game Modes require <ul> and <li> to function properly as unordered lists.