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

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create documentation)
 
blackwiki>Zyxw
(add categories moved from main template)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
 
[[File:Denmark-CIA WFB Map.png|thumb|250px|Map of Denmark]]
 
[[File:Denmark-CIA WFB Map.png|thumb|250px|Map of Denmark]]
  
Line 152: Line 152:
 
; Infobox templates incorporating (passing values to) the Location map template
 
; Infobox templates incorporating (passing values to) the Location map template
 
{{Location map/doc/See also infobox templates}}
 
{{Location map/doc/See also infobox templates}}
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
  
</includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 +
<!-- Categories below this line; interwikis at Wikidata -->
 +
[[Category:Location map by country templates|Denmark]]
 +
[[Category:Denmark location map templates| ]]
 +
}}</includeonly>

Revision as of 07:46, 27 August 2015

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