Location map/sandbox quick (آمريڪا جون گڏيل رياستون)
Location map/sandbox quick (آمريڪا جون گڏيل رياستون)
Documentation icon دستاويز سانچو[نمائش] [سنواريو] [تاريخچو] [تطهير]

The Template:Location map/sandbox quick displays a location map as a composite image of an existing map, plus a marker and an optional label superimposed onto it, in a quick manner (MediaWiki depth 5). By default, the size of the map is defaulted as 240px wide. Otherwise, set width=200 or such.

Maps used here are not just images alone. Instead, maps are selected by mapper-template suffixes "XX" (to use each template "Location map XX"). Maps here use only squared or equirectangular projections. So, use {{Location_map}} to show curved latitude or longitude lines, to skew the location of the marker symbol, as in Module:Location map/data/Africa. That mapper for Africa uses sine/cosine factors to shift the marker x/y to fit the curved lines. Each mapper template sets its own map borders and decides if skewing x/y for curved lines.

Note:

  • The image is always framed, so use {{Location map}} to show an unframed image.
  • The coordinates are not checked. If the coordinates fall outside the map, then the marker will try to appear outside the map-image, overlaying the page text.
  • For a map with no marker, set marksize=1.
  • Do not use "px". Using width=200px causes maps to cover a page, use: width=200 (no "px").
  • To create a map with more than one marker, refer below to: See also.
  • To display a map that uses a non-equirectangular projection (i.e. has curved latitude or longitude lines), use skew factors for x/y as in Module:Location map/data/Africa or try Template:Location map+.