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

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create documentation)
 
blackwiki>Zyxw
(add example south of equator)
Line 82: Line 82:
 
| relief  = yes
 
| relief  = yes
 
| width    = 200
 
| width    = 200
| caption  = Two locations in Colombia
+
| caption  = Three locations in Colombia
 
| lat1_deg = 4.6
 
| lat1_deg = 4.6
 
| lon1_deg = -74.08
 
| lon1_deg = -74.08
Line 89: Line 89:
 
| lon2_deg = -74.8
 
| lon2_deg = -74.8
 
| label2  = Barranquilla
 
| label2  = Barranquilla
 +
| lat3_deg = -4.22
 +
| lon3_deg = -69.93
 +
| label3  = Leticia
 
}}
 
}}
 
<pre style="width:30em;">
 
<pre style="width:30em;">
Line 94: Line 97:
 
| relief  = yes
 
| relief  = yes
 
| width    = 200
 
| width    = 200
| caption  = Two locations in Colombia
+
| caption  = Three locations in Colombia
 
| lat1_deg = 4.6
 
| lat1_deg = 4.6
 
| lon1_deg = -74.08
 
| lon1_deg = -74.08
Line 101: Line 104:
 
| lon2_deg = -74.8
 
| lon2_deg = -74.8
 
| label2  = Barranquilla
 
| label2  = Barranquilla
 +
| lat3_deg = -4.22
 +
| lon3_deg = -69.93
 +
| label3  = Leticia
 
}}
 
}}
 
</pre>
 
</pre>
Line 109: Line 115:
 
| AlternativeMap = Colombia relief location map.jpg
 
| AlternativeMap = Colombia relief location map.jpg
 
| width = 200
 
| width = 200
| caption = Two locations in Colombia
+
| caption = Three locations in Colombia
 
| places =
 
| places =
 
   {{Location map~ | Colombia
 
   {{Location map~ | Colombia
Line 120: Line 126:
 
   | lon_deg = -74.8
 
   | lon_deg = -74.8
 
   | label  = Barranquilla
 
   | label  = Barranquilla
 +
  }}
 +
  {{Location map~ | Colombia
 +
  | lat_deg = -4.22
 +
  | lon_deg = -69.93
 +
  | label  = Leticia
 
   }}
 
   }}
 
}}
 
}}
Line 126: Line 137:
 
| AlternativeMap = Colombia relief location map.jpg
 
| AlternativeMap = Colombia relief location map.jpg
 
| width = 200
 
| width = 200
| caption = Two locations in Colombia
+
| caption = Three locations in Colombia
 
| places =
 
| places =
 
   {{Location map~ | Colombia
 
   {{Location map~ | Colombia
Line 137: Line 148:
 
   | lon_deg = -74.8
 
   | lon_deg = -74.8
 
   | label  = Barranquilla
 
   | label  = Barranquilla
 +
  }}
 +
  {{Location map~ | Colombia
 +
  | lat_deg = -4.22
 +
  | lon_deg = -69.93
 +
  | label  = Leticia
 
   }}
 
   }}
 
}}
 
}}

Revision as of 15:49, 9 February 2013

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