Module:Location map/data/Afghanistan/doc
Appearance
![]() | This is a documentation subpage for Module:Location map/data/Afghanistan. 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/Afghanistan. It may contain usage information, categories and other content that is not part of the original module page. |
Template:Location map Afghanistan is a location map definition used to overlay markers and labels on an equirectangular projection map of Afghanistan. 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 "Afghanistan":
{{Location map|Afghanistan |...}}
{{Location map many|Afghanistan |...}}
{{Location map+|Afghanistan |...}}
{{Location map~|Afghanistan |...}}
Map definition
- name
- used in default map caption (Template:Location map/data/Afghanistan)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Afghanistan|Template:Location map/data/Afghanistan]])
- image1
- an alternative map image, usually a relief map ([[:File:Template:Location map/data/Afghanistan|Template:Location map/data/Afghanistan]])
- top
- latitude at top edge of map, in decimal degrees (Template:Location map/data/Afghanistan)
- bottom
- latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Afghanistan)
- left
- longitude at left edge of map, in decimal degrees (Template:Location map/data/Afghanistan)
- right
- longitude at right edge of map, in decimal degrees (Template:Location map/data/Afghanistan)
Alternative map
The map shown above as image1 (Template:Location map/data/Afghanistan) 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 | Afghanistan | width = 200 | lat = 34.53 | long = 69.16 | label = Kabul }}
Location map, using relief map (image1)
{{Location map | Afghanistan | relief = yes | width = 200 | lat = 34.53 | long = 69.16 | label = Kabul }}
Location map many, using default map
Two locations in Afghanistan
{{Location map many | Afghanistan | caption = Two locations in Afghanistan | width = 200 | lat = 34.53 | long = 69.16 | label = Kabul | lat2 = 31.62 | long2 = 65.72 | label2 = Kandahar }}
Location map+, using AlternativeMap
Two locations in Afghanistan
{{Location map+ | Afghanistan | AlternativeMap = Afghanistan physical map.svg | caption = Two locations in Afghanistan | width = 200 | places = {{Location map~ | Afghanistan | lat = 34.53 | long = 69.16 | label = Kabul }} {{Location map~ | Afghanistan | lat = 31.62 | long = 65.72 | label = Kandahar }} }}