Module:Location map/data/Barbados/doc
This is the documentation page for Module:Location map/data/Barbados
| 40px | This is a documentation subpage for Module:Location map/data/Barbados. It contains usage information, categories and other content that is not part of the original module page. |
Template:Location map Barbados is a location map definition used to overlay markers and labels on an equirectangular projection map of Barbados. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "Barbados":
{{Location map | Barbados | ...}}{{Location map many | Barbados | ...}}{{Location map+ | Barbados | ...}}{{Location map~ | Barbados | ...}}
Map definition
- name
- used in default map caption (Template:Location map/data/Barbados)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Barbados|Template:Location map/data/Barbados]])
- image1
- an alternative map image, usually a relief map ([[:File:Template:Location map/data/Barbados|Template:Location map/data/Barbados]])
- top
- latitude at top edge of map, in decimal degrees (Template:Location map/data/Barbados)
- bottom
- latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Barbados)
- left
- longitude at left edge of map, in decimal degrees (Template:Location map/data/Barbados)
- right
- longitude at right edge of map, in decimal degrees (Template:Location map/data/Barbados)
Alternative map
The map defined as image1 (Template:Location map/data/Barbados) 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 | Barbados
| width = 150
| lat = 13.106
| long = -59.613
| label = Bridgetown
}}
Location map, using relief map (image1)
{{Location map | Barbados
| relief = yes
| width = 150
| lat = 13.106
| long = -59.613
| label = Bridgetown
}}
Location map many, using default map
{{Location map many | Barbados
| caption = Two locations in Barbados
| width = 150
| lat = 13.106
| long = -59.613
| label = Bridgetown
| lat2 = 13.254
| long2 = -59.641
| label2 = Speightstown
}}
Location map+, using AlternativeMap
{{Location map+ | Barbados
| AlternativeMap = Barbados physical map.svg
| caption = Two locations in Barbados
| width = 150
| places =
{{Location map~ | Barbados
| lat = 13.106
| long = -59.613
| label = Bridgetown
}}
{{Location map~ | Barbados
| lat = 13.254
| long = -59.641
| label = Speightstown
}}
}}