Difference between revisions of "Template:Map"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m
m (swapped is&clan mech and asf icon layers)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{| style="border:2px solid #e69710; text-align:left; font-size:9pt; width: 350px; margin: 0px 0px 10px 10px;" cellpadding="4" cellspacing="1" rules="all" align="right"
{| class="Map" style="border:1px solid #250b2d; text-align:left; font-size:9pt; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|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:{{#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; padding:0" | [[{{{Image}}} | 350px | link=]]
 +
|-
 +
{{#if: {{{Version|}}} |
 +
{{!}} Latest Version:
 +
{{!}} colspan="2" style="background:#383838" {{!}} {{{Version}}}
 +
|}}
 +
|-
 +
{{#if: {{{Created By|}}} |
 +
{{!}} Created By:
 +
{{!}} colspan="2" style="background:#383838" {{!}} {{{Created By}}}
 +
|}}
 
|-
 
|-
 
{{#if: {{{Environment|}}} |
 
{{#if: {{{Environment|}}} |
Line 33: Line 42:
 
{{!}} Game Modes:
 
{{!}} Game Modes:
 
{{!}} colspan="2" style="background:#383838" {{!}} {{{Game Modes}}}
 
{{!}} colspan="2" style="background:#383838" {{!}} {{{Game Modes}}}
 +
|}}
 +
|-
 +
{{#if: {{{Available|}}} |
 +
{{!}} First Available In:
 +
{{!}} colspan="2" style="background:#383838" {{!}} {{{Available}}}
 +
|}}
 +
|-
 +
{{#if: {{{Download|}}} |
 +
{{!}} Download Link:
 +
{{!}} colspan="2" style="background:#383838" {{!}} {{{Download}}}
 
|}}
 
|}}
 
|-
 
|-
Line 39: Line 58:
 
| Assets:
 
| Assets:
 
! style="background:#383838" |
 
! style="background:#383838" |
{{#if:{{{Mech}}} | * [[Mechs]] |}}
+
{{#if:{{{Mech|}}} | * [[Mechs]] |}}
{{#if:{{{Tank}}} | * [[Vehicles]] |}}
+
{{#if:{{{Tank|}}} | * [[Vehicles]] |}}
{{#if:{{{VTOL}}} | * [[VTOLs]] |}}
+
{{#if:{{{VTOL|}}} | * [[VTOLs]] |}}
{{#if:{{{Aero}}} | * [[Aerospace Fighters]] |}}
+
{{#if:{{{Aero|}}} | * [[Aerospace Fighters]] |}}
|-
 
| Base Defenses:
 
! style="background:#383838" |
 
{{#ifeq: {{{Base Defenses|}}} | Yes | Yes | None}}
 
 
|-
 
|-
 
{{#if: {{{BaseIS|}}} |
 
{{#if: {{{BaseIS|}}} |
Line 56: Line 71:
 
|-
 
|-
 
{{#if: {{{Map|}}} |
 
{{#if: {{{Map|}}} |
{{!}} colspan="3" style="text-align:center" {{!}} [[{{{Map}}} {{!}} {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]
+
{{!}} colspan="3" style="text-align:center; padding:0" {{!}} {{Superimpose2
 +
  | align = center
 +
  | base = {{{Map}}}
 +
  | base_width = 350px
 +
  | float3 = Minimap_overlay1.png
 +
  | float3_width = 350px
 +
  | x3 = 0
 +
  | y3 = 0
 +
  | float = Clans.png
 +
  | float_width = 30px
 +
  | x = {{{Clan_X|}}}
 +
  | y = {{{Clan_Y|}}}
 +
  | float2 = Inner Sphere.png
 +
  | float2_width = 30px
 +
  | x2 = {{{IS_X|}}}
 +
  | y2 = {{{IS_Y|}}}
 +
  | float8 = Mech icon blue.png
 +
  | float8_width = 25px
 +
  | x8 = {{{Clan_Mech_1_X|}}}
 +
  | y8 = {{{Clan_Mech_1_Y|}}}
 +
  | float9 = Mech icon blue.png
 +
  | float9_width = 25px
 +
  | x9 = {{{Clan_Mech_2_X|}}}
 +
  | y9 = {{{Clan_Mech_2_Y|}}}
 +
  | float10 = Mech icon red.png
 +
  | float10_width = 25px
 +
  | x10 = {{{IS_Mech_1_X|}}}
 +
  | y10 = {{{IS_Mech_1_Y|}}}
 +
  | float11 = Mech icon red.png
 +
  | float11_width = 25px
 +
  | x11 = {{{IS_Mech_2_X|}}}
 +
  | y11 = {{{IS_Mech_2_Y|}}}
 +
  | float4 = Asf icon blue.png
 +
  | float4_width = 25px
 +
  | x4 = {{{Clan_ASF_1_X|}}}
 +
  | y4 = {{{Clan_ASF_1_Y|}}}
 +
  | float5 = Asf icon blue.png
 +
  | float5_width = 25px
 +
  | x5 = {{{Clan_ASF_2_X|}}}
 +
  | y5 = {{{Clan_ASF_2_Y|}}}
 +
  | float6 = Asf icon red.png
 +
  | float6_width = 25px
 +
  | x6 = {{{IS_ASF_1_X|}}}
 +
  | y6 = {{{IS_ASF_1_Y|}}}
 +
  | float7 = Asf icon red.png
 +
  | float7_width = 25px
 +
  | x7 = {{{IS_ASF_2_X|}}}
 +
  | y7 = {{{IS_ASF_2_Y|}}}
 +
  | float12 = Mech icon neutral.png
 +
  | float12_width = 25px
 +
  | x12 = {{{Neutral_Mech_1_X|}}}
 +
  | y12 = {{{Neutral_Mech_1_Y|}}}
 +
  | float13 = Mech icon neutral.png
 +
  | float13_width = 25px
 +
  | x13 = {{{Neutral_Mech_2_X|}}}
 +
  | y13 = {{{Neutral_Mech_2_Y|}}}
 +
  | float14 = Mech icon neutral.png
 +
  | float14_width = 25px
 +
  | x14 = {{{Neutral_Mech_3_X|}}}
 +
  | y14 = {{{Neutral_Mech_3_Y|}}}
 +
  | float15 = Mech icon neutral.png
 +
  | float15_width = 25px
 +
  | x15 = {{{Neutral_Mech_4_X|}}}
 +
  | y15 = {{{Neutral_Mech_4_Y|}}}
 +
  | float16 = Mech icon neutral.png
 +
  | float16_width = 25px
 +
  | x16 = {{{Neutral_Mech_5_X|}}}
 +
  | y16 = {{{Neutral_Mech_5_Y|}}}
 +
  | float17 = Mech icon neutral.png
 +
  | float17_width = 25px
 +
  | x17 = {{{Neutral_Mech_6_X|}}}
 +
  | y17 = {{{Neutral_Mech_6_Y|}}}
 +
  | float18 = Bolt icon neutral.png
 +
  | float18_width = 25px
 +
  | x18 = {{{Neutral_Cap_1_X|}}}
 +
  | y18 = {{{Neutral_Cap_1_Y|}}}
 +
  | float19 = Bolt icon neutral.png
 +
  | float19_width = 25px
 +
  | x19 = {{{Neutral_Cap_2_X|}}}
 +
  | y19 = {{{Neutral_Cap_2_Y|}}}
 +
  | float20 = Bolt icon neutral.png
 +
  | float20_width = 25px
 +
  | x20 = {{{Neutral_Cap_3_X|}}}
 +
  | y20 = {{{Neutral_Cap_3_Y|}}}
 +
  | float21 = Bolt icon neutral.png
 +
  | float21_width = 25px
 +
  | x21 = {{{Neutral_Cap_4_X|}}}
 +
  | y21 = {{{Neutral_Cap_4_Y|}}}
 +
  | float22 = Bolt icon neutral.png
 +
  | float22_width = 25px
 +
  | x22 = {{{Neutral_Cap_5_X|}}}
 +
  | y22 = {{{Neutral_Cap_5_Y|}}}
 +
  | float23 = Bolt icon neutral.png
 +
  | float23_width = 25px
 +
  | x23 = {{{Neutral_Cap_6_X|}}}
 +
  | y23 = {{{Neutral_Cap_6_Y|}}}
 +
  | float24 = Bolt icon neutral.png
 +
  | float24_width = 25px
 +
  | x24 = {{{Neutral_Cap_7_X|}}}
 +
  | y24 = {{{Neutral_Cap_7_Y|}}}
 +
  | float25 = Bolt icon neutral.png
 +
  | float25_width = 25px
 +
  | x25 = {{{Neutral_Cap_8_X|}}}
 +
  | y25 = {{{Neutral_Cap_8_Y|}}}
 +
  | float26 = Asf icon neutral.png
 +
  | float26_width = 25px
 +
  | x26 = {{{Neutral_ASF_1_X|}}}
 +
  | y26 = {{{Neutral_ASF_1_Y|}}}
 +
  | float27 = Asf icon neutral.png
 +
  | float27_width = 25px
 +
  | x27 = {{{Neutral_ASF_2_X|}}}
 +
  | y27 = {{{Neutral_ASF_2_Y|}}}
 +
}}
 
|}}
 
|}}
 
|-
 
|-
|}
+
|}[[Category:Maps]]</includeonly>
[[Category:Maps]]
+
<noinclude>[[Category:Infoboxes]] {{Documentation}}</noinclude>
</includeonly>
 
 
 
 
 
<noinclude>
 
{{Map|
 
| Image = File:Clearcut.jpg
 
| Environment = Forest
 
| Size = 8192 x 8192
 
| Game Modes = <ul>
 
<li>[[Team Solaris Arena]]
 
<li>[[Test of Strength]]</ul>
 
| Available = Beta 1.0
 
| Mech = 1
 
| Tank = 1
 
| VTOL = 1
 
| Aero = 1
 
| Base Defenses = Yes
 
| Map  = File:Clearcut minimap.jpg
 
}}
 
 
 
Template for maps
 
==Usage==
 
<nowiki>{{Map|</nowiki><br>
 
| Image = File:'''Name Of Image'''.jpg<br>
 
| ImageSize = '''Number only (in px; optional; default 350)'''<br>
 
| Environment = '''Environment description'''<br>
 
| Temperature = '''Number only, if multiple add after slash'''<br>
 
| Planet = '''Name of planet, from loading screen'''<br>
 
| Coords = '''Planet coordinates, from loading screen'''<br>
 
| Size = '''Number ''' x '''Number'''<br>
 
| Game Modes = '''Bullet list, see: [[:Category:Game Modes|Game Modes]]'''<br>
 
| Available = '''First [[MWLL]] version in which map was available, Number only'''<br>
 
| Mech = '''Yes or blank'''<br>
 
| Tank = '''Yes or blank'''<br>
 
| VTOL = '''Yes or blank'''<br>
 
| Aero = '''Yes or blank'''<br>
 
| Base Defenses = '''Yes or blank'''<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>
 
| Map  = File:'''Name Of Image'''.jpg<br>
 
}}
 
 
 
==Template==
 
<pre>
 
{{Map
 
| Image =
 
| ImageSize =
 
| Environment =
 
| Temperature =
 
| Planet =
 
| Coords =
 
| Size =
 
| Game Modes =
 
| Available =
 
| Mech =
 
| Tank =
 
| VTOL =
 
| Aero =
 
| Base Defenses =
 
| BaseIS =
 
| BaseCL =
 
| Map  =
 
}}
 
</pre>
 
 
 
==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 <nowiki><ul> and <li></nowiki> to function properly as unordered lists.
 
[[Category:Infoboxes]]
 
</noinclude>
 

Latest revision as of 23:07, 8 August 2019

Documentation icon Template documentation[view] [edit] [history] [purge]

This infobox template is for Maps.

Usage

Map
Thunder-Rift.jpg
Latest Version: -
Environment: Forest
Size: 8192 x 8192
Game Modes:
First Available In: Beta 1.0
Assets
Assets:
Tactical Map

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Some parameters are not required and will not be displayed when left blank or omitted.

Blank Template

{{Map
| Image = 
| ImageSize = 
| Version = 
| Created By = 
| Environment = 
| Temperature = 
| Planet = 
| Coords = 
| Size = 
| Game Modes = 
| Available = 
| Download = 
| Mech = 
| Tank = 
| VTOL = 
| Aero = 
| BaseIS = 
| BaseCL = 
| Map  = 

| Clan_X = 
| Clan_Y = 
| Clan_Mech_1_X = 
| Clan_Mech_1_Y = 
| Clan_Mech_2_X = 
| Clan_Mech_2_Y = 
| Clan_ASF_1_X = 
| Clan_ASF_1_Y = 
| Clan_ASF_2_X = 
| Clan_ASF_2_Y = 

| IS_X = 
| IS_Y = 
| IS_Mech_1_X = 
| IS_Mech_1_Y = 
| IS_Mech_2_X = 
| IS_Mech_2_Y = 
| IS_ASF_1_X = 
| IS_ASF_1_Y = 
| IS_ASF_2_X = 
| IS_ASF_2_Y = 

| Neutral_Mech_1_X = 
| Neutral_Mech_1_Y = 
| Neutral_Mech_2_X = 
| Neutral_Mech_2_Y = 
| Neutral_Mech_3_X = 
| Neutral_Mech_3_Y = 
| Neutral_Mech_4_X = 
| Neutral_Mech_4_Y = 
| Neutral_Mech_5_X = 
| Neutral_Mech_5_Y = 
| Neutral_Mech_6_X = 
| Neutral_Mech_6_Y = 

| Neutral_ASF_1_X = 
| Neutral_ASF_1_Y = 
| Neutral_ASF_2_X = 
| Neutral_ASF_2_Y = 

| Neutral_Cap_1_X = 
| Neutral_Cap_1_Y = 
| Neutral_Cap_2_X = 
| Neutral_Cap_2_Y = 
| Neutral_Cap_3_X = 
| Neutral_Cap_3_Y = 
| Neutral_Cap_4_X = 
| Neutral_Cap_4_Y = 
| Neutral_Cap_5_X = 
| Neutral_Cap_5_Y = 
| Neutral_Cap_6_X = 
| Neutral_Cap_6_Y = 
| Neutral_Cap_7_X = 
| Neutral_Cap_7_Y = 
| Neutral_Cap_8_X = 
| Neutral_Cap_8_Y = 
}}

Parameters

As noted before some 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. Primary image should be pictured from default camera location before starting the match (if camera is misplaced - random location may be chosen)3
ImageSize No Image size is the width of the image. Will also determine the width of the infobox. Defaults to 350px when omitted.
Version No The latest version that is available for this map.
Created By No Credit to the person or people who made the map.
Environment No A descriptor of the environment in which the map is set. eg: Desert, Forest, Tundra, etc.
Temperature No Ambient temperature of the map in °C. If multiple, separate them with a slash. eg: +55 / -2
Planet No The name of the planet on which the map is set. Typically on the map loading screen.
Coords No Coordinates of the planet on which the map is found. Typically on the map loading screen.
Size No The size of the map. eg: 8192 x 8192
Game Modes No List of the game modes that are playable on the map. Multiple game modes require <ul> and <li> to function properly as unordered lists.
Available No The first version of MWLL in which the map was available.
Download No The link to the MWLL map archive where this map can be downloaded.
Mech No Whether or not Mechs are available on this map. Should be blank or omitted if none.
Tank No Whether or not Tanks/Vehicles are available on this map. Should be blank or omitted if none.
VTOL No Whether or not VTOLs are available on this map. Should be blank or omitted if none.
Aero No Whether or not Aerospace Fighters are available on this map. Should be blank or omitted if none.
BaseIS No The number of Inner Sphere bases on the map.
BaseCL No The number of Clan bases on the map.
BaseNtl No The number of Neutral bases on the map.
Map No An image showing the minimap/map overview. Map image needs to be minimap.dds converted to JPG file and downsized to 1024 before the upload.