Difference between revisions of "Module:Location map/data/Namibia/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Plastikspork
(→‎See also: Now deleted)
blackwiki>Frietjes
(No difference)

Revision as of 22:10, 12 March 2018

File:Namibia map.png
Map of Namibia

Template:Location map Namibia is a location map definition used to overlay markers and labels on an equirectangular projection map of Namibia. 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 "Namibia":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Namibia) 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/Namibia) 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)

Windhoek (Namibia)
{{Location map | Namibia
| width   = 250
| lat_deg = -22.57
| lon_deg = 17.084
| label   = Windhoek
}}

Location map many, using relief map (image1)

Three locations in Namibia
{{Location map many | Namibia
| relief   = yes
| width    = 250
| caption  = Three locations in Namibia
| lat1_deg = -22.57
| lon1_deg = 17.084
| label1   = Windhoek
| lat2_deg = -28.552
| lon2_deg = 16.426
| label2   = Oranjemund
| lat3_deg = -17.504
| lon3_deg = 24.275
| label3   = Katima Mulilo
}}

Location map+, using AlternativeMap

Three locations in Namibia
{{Location map+ | Namibia
| AlternativeMap = Namibia relief location map.jpg
| width   = 250
| caption = Three locations in Namibia
| places  =
  {{Location map~ | Namibia
  | lat_deg = -22.57
  | lon_deg = 17.084
  | label   = Windhoek
  }}
  {{Location map~ | Namibia
  | lat_deg = -28.552
  | lon_deg = 16.426
  | label   = Oranjemund
  }}
  {{Location map~ | Namibia
  | lat_deg = -17.504
  | lon_deg = 24.275
  | label   = Katima Mulilo
  }}
}}

See also

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