Module:Location map/data/Germany/doc
Appearance
| This is a documentation subpage for Module:Location map/data/Germany. It may contain usage information, categories and other content that is not part of the original module page. |
| This is a documentation subpage for Module:Location map/data/Germany. It may contain usage information, categories and other content that is not part of the original module page. |
Template:Location map Germany is a location map definition used to overlay markers and labels on an equirectangular projection map of Germany. 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 "Germany":
{{Location map|Germany |...}}{{Location map many|Germany |...}}{{Location map+|Germany |...}}{{Location map~|Germany |...}}
Map definition
- name
- used in default map caption (Template:Location map/data/Germany)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Germany|Template:Location map/data/Germany]])
- image1
- an alternative map image, usually a relief map ([[:File:Template:Location map/data/Germany|Template:Location map/data/Germany]])
- top
- latitude at top edge of map, in decimal degrees (Template:Location map/data/Germany)
- bottom
- latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Germany)
- left
- longitude at left edge of map, in decimal degrees (Template:Location map/data/Germany)
- right
- longitude at right edge of map, in decimal degrees (Template:Location map/data/Germany)
Alternative map
The map shown above as image1 (Template:Location map/data/Germany) can be displayed by using the AlternativeMap or relief parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. Further instructions can be found at Template:Location map#Using Alternative Map and Template:Location map#Relief, or see the examples below.
Examples
Location map, using default map (image)
{{Location map | Germany
| width = 150
| lat = 52.5
| long = 13.4
| label = Berlin
}}
Location map, using relief map (image1)
{{Location map | Germany
| relief = yes
| width = 150
| lat = 52.5
| long = 13.4
| label = Berlin
}}
Location map many, using default map
Two locations in Germany
{{Location map many | Germany
| caption = Two locations in Germany
| width = 150
| lat = 52.5
| long = 13.4
| label = Berlin
| lat2 = 48.13
| long2 = 11.57
| label2 = Munich
}}
Location map+, using AlternativeMap
Two locations in Germany
{{Location map+ | Germany
| AlternativeMap = Relief Map of Germany.png
| caption = Two locations in Germany
| width = 150
| places =
{{Location map~ | Germany
| lat = 52.5
| long = 13.4
| label = Berlin
}}
{{Location map~ | Germany
| lat = 48.13
| long = 11.57
| label = Munich
}}
}}