Module:Location map/data/Barbados/doc

From blackwiki
< Module:Location map‎ | data/Barbados
Revision as of 20:40, 20 August 2011 by blackwiki>Zyxw (create documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/Barbados

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.

Usage

These definitions are used by the following templates when invoked with parameter "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)

Bridgetown (Barbados)
{{Location map | Barbados
| width = 150
| lat   = 13.106
| long  = -59.613
| label = Bridgetown
}}

Location map, using relief map (image1)

Bridgetown (Barbados)
{{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
  }}
}}

See also