Jump to content

Module:Location map/data/Eswatini/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frietjes (talk | contribs) at 19:44, 22 March 2018 (Frietjes moved page Template:Location map Swaziland/doc to Module:Location map/data/Swaziland/doc). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Map of Swaziland

Template:Location map Swaziland is a location map definition used to overlay markers and labels on an equirectangular projection map of Swaziland. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Swaziland":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Eswatini) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/Eswatini) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

Location map, using default map (image)

Mbabane is located in Eswatini
Mbabane
Mbabane
Mbabane (Eswatini)
{{Location map | Swaziland
| width   = 200
| lat_deg = -26.32
| lon_deg = 31.13
| label   = Mbabane
}}

Location map many, using relief map (image1)

Location map/data/Eswatini/doc is located in Eswatini
Mbabane
Mbabane
Big Bend
Big Bend
Two locations in Swaziland
{{Location map many | Swaziland
| relief   = yes
| width    = 200
| caption  = Two locations in Swaziland
| lat1_deg = -26.32
| lon1_deg = 31.13
| label1   = Mbabane
| pos1     = right
| lat2_deg = -26.82
| lon2_deg = 31.93
| label2   = Big Bend
| pos2     = left
}}

Location map+, using AlternativeMap

Location map/data/Eswatini/doc is located in Eswatini
Mbabane
Mbabane
Big Bend
Big Bend
Two locations in Swaziland
{{Location map+ | Swaziland
| AlternativeMap = Swaziland relief location map.svg
| width   = 200
| caption = Two locations in Swaziland
| places  =
  {{Location map~ | Swaziland
  | lat_deg = -26.32
  | lon_deg = 31.13
  | label   = Mbabane
  | position = right
  }}
  {{Location map~ | Swaziland
  | lat_deg  = -26.82
  | lon_deg  = 31.93
  | label    = Big Bend
  | position = left
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List