Jump to content

Module:Location map/data/Argentina/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 07:19, 15 August 2011 (create documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

Map definition

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

Alternative map

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

Buenos Aires is located in Argentina
Buenos Aires
Buenos Aires
Buenos Aires (Argentina)
{{Location map | Argentina
| width = 150
| lat   = -34.60
| long  = -58.38
| label = Buenos Aires
}}

Location map, using relief map (image1)

Buenos Aires is located in Argentina
Buenos Aires
Buenos Aires
Buenos Aires (Argentina)
{{Location map | Argentina
| relief = yes
| width  = 150
| lat    = -34.60
| long   = -58.38
| label  = Buenos Aires
}}

Location map many, using default map

Location map/data/Argentina/doc is located in Argentina
Buenos Aires
Buenos Aires
San Miguel de Tucumán
San Miguel de Tucumán
Two locations in Argentina
{{Location map many | Argentina
| caption = Two locations in Argentina
| width   = 150
| lat     = -34.60
| long    = -58.38
| label   = Buenos Aires
| lat2    = -26.82
| long2   = -65.22
| label2  = San Miguel de Tucumán
}}

Location map+, using AlternativeMap

Location map/data/Argentina/doc is located in Argentina
Buenos Aires
Buenos Aires
San Miguel de Tucumán
San Miguel de Tucumán
Two locations in Argentina
{{Location map+ | Argentina
| AlternativeMap = Relief Map of Argentina.jpg
| caption = Two locations in Argentina
| width   = 150
| places  =
  {{Location map~ | Argentina
  | lat   = -34.60
  | long  = -58.38
  | label = Buenos Aires
  }}
  {{Location map~ | Argentina
  | lat   = -26.82
  | long  = -65.22
  | label = San Miguel de Tucumán
  }}
}}

See also