Module:Location map/data/Madagascar/doc
Appearance
![]() | This is a documentation subpage for Module:Location map/data/Madagascar. 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/Madagascar. It may contain usage information, categories and other content that is not part of the original module page. |
Template:Location map Madagascar is a location map definition used to overlay markers and labels on an equirectangular projection map of Madagascar. 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 "Madagascar":
{{Location map|Madagascar |...}}
{{Location map many|Madagascar |...}}
{{Location map+|Madagascar |...}}
{{Location map~|Madagascar |...}}
Map definition
- name
- used in default map caption (Template:Location map/data/Madagascar)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Madagascar|Template:Location map/data/Madagascar]])
- image1
- an alternative map image, usually a relief map ([[:File:Template:Location map/data/Madagascar|Template:Location map/data/Madagascar]])
- top
- latitude at top edge of map, in decimal degrees (Template:Location map/data/Madagascar)
- bottom
- latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Madagascar)
- left
- longitude at left edge of map, in decimal degrees (Template:Location map/data/Madagascar)
- right
- longitude at right edge of map, in decimal degrees (Template:Location map/data/Madagascar)
Alternative map
The map defined as image1 (Template:Location map/data/Madagascar) 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 | Madagascar | width = 150 | lat = -18.93 | long = 47.52 | label = Antananarivo | position = left }}
Location map, using relief map (image1)
{{Location map | Madagascar | relief = yes | width = 150 | lat = -18.93 | long = 47.52 | label = Antananarivo | position = left }}
Location map many, using default map
Two locations in Madagascar
{{Location map many | Madagascar | caption = Two locations in Madagascar | width = 150 | lat = -18.93 | long = 47.52 | label = Antananarivo | pos = left | lat2 = -23.35 | long2 = 43.67 | label2 = Toliara }}
Location map+, using AlternativeMap
Two locations in Madagascar
{{Location map+ | Madagascar | AlternativeMap = Madagascar physical map.svg | caption = Two locations in Madagascar | width = 150 | places = {{Location map~ | Madagascar | lat = -18.93 | long = 47.52 | label = Antananarivo | position = left }} {{Location map~ | Madagascar | lat = -23.35 | long = 43.67 | label = Toliara }} }}
See also
- Template:Location map
- Template:Location map+
- Template:Location map many
- Template:Location map Madagascar relief - a different relief map with different border coordinates