Difference between revisions of "Module:Location map/data/Saint Lucia/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create documentation)
 
blackwiki>Frietjes
Line 155: Line 155:
  
 
== See also ==
 
== See also ==
* [[Template:Location map Lesser Antilles]]
+
* [[Module:Location map/data/Lesser Antilles]]
  
 
; Location map templates
 
; Location map templates
Line 167: Line 167:
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
  
 +
[[Category:Location map by country templates|Saint Lucia]]
 
</includeonly>
 
</includeonly>

Revision as of 13:31, 21 March 2018

Template:Location map Saint Lucia is a location map definition used to overlay markers and labels on an equirectangular projection map of Saint Lucia. 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 "Saint Lucia":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Saint Lucia) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/Saint Lucia) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

Location map, using default map (image)

Castries (Saint Lucia)
{{Location map | Saint Lucia
| width   = 220
| lat_deg = 14.02
| lon_deg = -60.98
| label   = Castries
}}

Location map many, using relief map (image1)

{{Location map many | Saint Lucia
| relief   = yes
| width    = 220
| caption  = Two locations in Saint Lucia
| lat1_deg = 14.02
| lon1_deg = -60.98
| label1   = Castries
| pos1     = left
| lat2_deg = 13.75
| lon2_deg = -60.95
| label2   = Vieux Fort
}}

Location map+, using AlternativeMap

{{Location map+ | Saint Lucia
| AlternativeMap = Saint Lucia location map Topographic.png
| width   = 220
| caption = Two locations in Saint Lucia
| places  =
  {{Location map~ | Saint Lucia
  | lat_deg  = 14.02
  | lon_deg  = -60.98
  | label    = Castries
  | position = left
  }}
  {{Location map~ | Saint Lucia
  | lat_deg = 13.75
  | lon_deg = -60.95
  | label   = Vieux Fort
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List