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

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(add categories moved from main template)
blackwiki>Lam-ang
m (recat)
Line 169: Line 169:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<!-- Categories below this line; interwikis at Wikidata -->
 
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Location map by country templates|Colombia]]
 
 
[[Category:Colombia location map templates| ]]
 
[[Category:Colombia location map templates| ]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 18:25, 16 March 2017

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

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Colombia) 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/Colombia) 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)

Bogotá (Colombia)
{{Location map | Colombia
| width   = 200
| lat_deg = 4.6
| lon_deg = -74.08
| label   = Bogotá
}}

Location map many, using relief map (image1)

{{Location map many | Colombia
| relief   = yes
| width    = 200
| caption  = Three locations in Colombia
| lat1_deg = 4.6
| lon1_deg = -74.08
| label1   = Bogotá
| lat2_deg = 10.96
| lon2_deg = -74.8
| label2   = Barranquilla
| lat3_deg = -4.22
| lon3_deg = -69.93
| label3   = Leticia
}}

Location map+, using AlternativeMap

{{Location map+ | Colombia
| AlternativeMap = Colombia relief location map.jpg
| width = 200
| caption = Three locations in Colombia
| places =
  {{Location map~ | Colombia
  | lat_deg = 4.6
  | lon_deg = -74.08
  | label   = Bogotá
  }}
  {{Location map~ | Colombia
  | lat_deg = 10.96
  | lon_deg = -74.8
  | label   = Barranquilla
  }}
  {{Location map~ | Colombia
  | lat_deg = -4.22
  | lon_deg = -69.93
  | label   = Leticia
  }}
}}

See also

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