Jump to content

Fyrimynd:Location map Danmark/doc

Frá Wikipedia, hin frælsa alfrøðin
Map of 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.

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

Map definition

[rætta wikitekst]
  • name = Denmark
    Name used in the default map caption
  • bottom = 54.3
    Latitude at bottom edge of map, in decimal degrees
  • left = 7.8
    Longitude at left edge of map, in decimal degrees
  • right = 15.4
    Longitude at right edge of map, in decimal degrees

Alternative map

The map defined as image1 (Denmark physical map.svg) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

[rætta wikitekst]

Location map, using default map (image)

[rætta wikitekst]
Copenhagen liggur í Denmark
Copenhagen
Copenhagen
Copenhagen (Denmark)
{{Location map | Denmark
| width   = 250
| lat_deg = 55.676 
| lon_deg = 12.568
| label   = Copenhagen
}}

Location map many, using relief map (image1)

[rætta wikitekst]
Location map Danmark/doc liggur í Denmark
Copenhagen
Copenhagen
Skagen
Skagen
Two locations in Denmark
{{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

[rætta wikitekst]
Location map Danmark/doc liggur í Denmark
Copenhagen
Copenhagen
Skagen
Skagen
Two locations in Denmark
{{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
  }}
}}
Location map templates
Infobox templates incorporating (passing values to) the Location map template