Difference between revisions of "Template:Map"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (Added 10px margin to left side of infobox to prevent crowding with fluff text.)
m (Fix bug where removing the line for an available asset would still show the asset in the infobox.)
Line 39: Line 39:
 
| 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:
 
| Base Defenses:

Revision as of 17:35, 17 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.