Template:Wy/syl/Mapframe

{{mapmask}} – used to create a mask using manually entered latitude/longitude pairs; useful for drawing city or region borders that aren't available from OpenStreetMap.

ERROR: This page is using an unprefixed version of template {{Tl}}

Use {{Wy/syl/Tl}} instead and replace all occurences of {{Tl}} in Wy/syl/ prefixed pages by that.

You may like to check 3 templates in Category:Wy/syl/Templates using unprefixed template Tl first to remove all occurences from those templates which will fix the pages containing those templates too.

{{maplayers}} – list of maplayer names, to facilitate adding a custom layer.

Code

  • Module:Map used to create <mapframe> tag with all of the parameters

Template Data

This template acts as a frame for an external map. Javascript is used to replace "mapdiv" with an iframe. See [[Wikivoyage:How to use dynamic maps]] and [[Wikivoyage:Dynamic maps Expedition]] for more information.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Latitude1

Latitude of the map's centre, -90 to 90

Example
51.47766
Numbersuggested
Longitude2

Longitude of the map's centre, -180 to 180

Example
0.00115
Numbersuggested
Zoom levelzoom

Zoom level from 0-18 (0=Earth, 18=city block, auto=fit all markers)

Example
14
Numbersuggested
Widthwidth

Width of map frame

Default
420
Example
400
Numberoptional
Heightheight

Height of map frame

Default
420
Example
400
Numberoptional
Namename

Name of the location as you want it to appear in the caption

Default
Article title
Example
the Binnenstad
Unknownoptional
Alignmentalign

Alignment of the map frame, left/right/center

Suggested values
left right center
Default
right
Example
center
Stringoptional
Layerlayer

List of layers to show, see [[Wikivoyage:How to use dynamic maps#Mapframe]]

Example
MLSCG
Stringoptional
Static map imagestaticmap

A PNG or SVG file to serve as the static map image

Example
map.png
Fileoptional