Module:Location map/data/Chad/doc

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 10:13, 11 August 2011 (update documentation and add example using Template:Location map+). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Map definition

name
used in default map caption (Template:Location map/data/Chad)
image
the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Chad|Template:Location map/data/Chad]])
image1
an alternative map image, usually a relief map ([[:File:Template:Location map/data/Chad|Template:Location map/data/Chad]])
top
latitude at top edge of map, in decimal degrees (Template:Location map/data/Chad)
bottom
latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Chad)
left
longitude at left edge of map, in decimal degrees (Template:Location map/data/Chad)
right
longitude at right edge of map, in decimal degrees (Template:Location map/data/Chad)

Alternative map

The map shown above as image1 (Template:Location map/data/Chad) 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)

 
 
N'Djamena
N'Djamena (Chad)
{{Location map | Chad
| width  = 150
| lat    = 12.112
| long   = 15.035
| label  = N'Djamena
}}

Location map, using relief map (image1)

 
 
N'Djamena
N'Djamena (Chad)
{{Location map | Chad
| relief = yes
| width  = 150
| lat    = 12.112
| long   = 15.035
| label  = N'Djamena
}}

Location map many, using default map

 
 
N'Djamena
 
Doba
Two locations in Chad
{{Location map many | Chad
| caption = Two locations in Chad
| width   = 150
| lat     = 12.112
| long    = 15.035
| label   = N'Djamena
| lat2    = 8.66
| long2   = 16.85
| label2  = Doba
}}

Location map+, using AlternativeMap

 
 
N'Djamena
 
Doba
Two locations in Chad
{{Location map+ | Chad
| AlternativeMap = Chad relief ___location map.jpg
| caption = Two locations in Chad
| width   = 150
| places  =
  {{Location map~ | Chad
  | lat   = 12.112
  | long  = 15.035
  | label = N'Djamena
  }}
  {{Location map~ | Chad
  | lat   = 8.66
  | long  = 16.85
  | label = Doba
  }}
}}

See also