Module:Location map/data/Denmark/doc

From blackwiki
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/Denmark

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

Map definition

Alternative map

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

Copenhagen (Denmark)
{{Location map | Denmark
| width   = 250
| lat_deg = 55.676 
| lon_deg = 12.568
| label   = Copenhagen
}}

Location map many, using relief map (image1)

{{Location map many | Denmark
| relief   = yes
| width    = 250
| caption  = Two locations in Denmark
| lat1_deg = 55.676 
| lon1_deg = 12.568
| label1   = Copenhagen
| lat2_deg = 57.717
| lon2_deg = 10.583
| label2   = Skagen
}}

Location map+, using AlternativeMap

{{Location map+ | Denmark
| AlternativeMap = Denmark physical map.svg
| width   = 250
| caption = Two locations in Denmark
| places  =
  {{Location map~ | Denmark
  | lat_deg = 55.676
  | lon_deg = 12.568
  | label   = Copenhagen
  }}
  {{Location map~ | Denmark
  | lat_deg = 57.717
  | lon_deg = 10.583
  | label   = Skagen
  }}
}}

See also

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