Module:Location map/data/Chile/doc
Appearance
![]() | This is a documentation subpage for Module:Location map/data/Chile. It may contain usage information, categories and other content that is not part of the original module page. |
![]() | This is a documentation subpage for Module:Location map/data/Chile. It may contain usage information, categories and other content that is not part of the original module page. |
Template:Location map Chile is a location map definition used to overlay markers and labels on an equirectangular projection map of Chile. 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 "Chile":
{{Location map|Chile |...}}
{{Location map many|Chile |...}}
{{Location map+|Chile |...}}
{{Location map~|Chile |...}}
Map definition
- name
- used in default map caption (Template:Location map/data/Chile)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Chile|Template:Location map/data/Chile]])
- image1
- an alternative map image, usually a relief map ([[:File:Template:Location map/data/Chile|Template:Location map/data/Chile]])
- top
- latitude at top edge of map, in decimal degrees (Template:Location map/data/Chile)
- bottom
- latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Chile)
- left
- longitude at left edge of map, in decimal degrees (Template:Location map/data/Chile)
- right
- longitude at right edge of map, in decimal degrees (Template:Location map/data/Chile)
Alternative map
The map shown above as image1 (Template:Location map/data/Chile) 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)
{{Location map | Chile | width = 125 | lat = -33.44 | long = -70.65 | label = Santiago }}
Location map, using relief map (image1)
{{Location map | Chile | relief = yes | width = 125 | lat = -33.44 | long = -70.65 | label = Santiago }}
Location map many, using default map
Two locations in Chile
{{Location map many | Chile | caption = Two locations in Chile | width = 125 | lat = -33.44 | long = -70.65 | label = Santiago | lat2 = -53.17 | long2 = -70.93 | label2 = Punta Arenas }}
Location map+, using AlternativeMap
Two locations in Chile
{{Location map+ | Chile | AlternativeMap = Relief Map of Chile.jpg | caption = Two locations in Chile | width = 125 | places = {{Location map~ | Chile | lat = -33.44 | long = -70.65 | label = Santiago }} {{Location map~ | Chile | lat = -53.17 | long = -70.93 | label = Punta Arenas }} }}