Difference between revisions of "Template:Map"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) m (Fix bug where removing the line for an available asset would still show the asset in the infobox.) |
m (swapped is&clan mech and asf icon layers) |
||
(13 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" |
− | {| | + | ! colspan="3" style="background:#2a2a2a; text-align:center; width: 350px; font-size:12pt" | {{PAGENAME}} |
− | ! colspan="3" style="background:#2a2a2a; text-align:center; width: | ||
|- | |- | ||
− | | colspan="3" style="text-align:center" | [[{{{Image}}} | {{#if: {{{ | + | | 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 43: | Line 62: | ||
{{#if:{{{VTOL|}}} | * [[VTOLs]] |}} | {{#if:{{{VTOL|}}} | * [[VTOLs]] |}} | ||
{{#if:{{{Aero|}}} | * [[Aerospace Fighters]] |}} | {{#if:{{{Aero|}}} | * [[Aerospace Fighters]] |}} | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
{{#if: {{{BaseIS|}}} | | {{#if: {{{BaseIS|}}} | | ||
Line 56: | Line 71: | ||
|- | |- | ||
{{#if: {{{Map|}}} | | {{#if: {{{Map|}}} | | ||
− | {{!}} colspan="3" style="text-align:center" {{!}} | + | {{!}} 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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </noinclude> |
Latest revision as of 23:07, 8 August 2019
This infobox template is for Maps.
Usage
Map | ||
---|---|---|
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. |
The above documentation is transcluded from Template:Map/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |