Jump to content

Module:Location map/data/Australia/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 07:34, 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 Australia is a location map definition used to overlay markers and labels on an equirectangular projection map of Australia. 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 "Australia":

Map definition

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

Alternative map

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

Canberra is located in Australia
Canberra
Canberra
Canberra (Australia)
{{Location map | Australia
| width = 200
| lat   = -35.31
| long  = 149.12
| label = Canberra
}}

Location map, using relief map (image1)

Canberra is located in Australia
Canberra
Canberra
Canberra (Australia)
{{Location map | Australia
| relief = yes
| width  = 200
| lat    = -35.31
| long   = 149.12
| label  = Canberra
}}

Location map many, using default map

Location map/data/Australia/doc is located in Australia
Canberra
Canberra
Perth
Perth
Two locations in Australia
{{Location map many | Australia
| caption = Two locations in Australia
| width   = 200
| lat     = -35.31
| long    = 149.12
| label   = Canberra
| lat2    = -31.95
| long2   = 115.86
| label2  = Perth
}}

Location map+, using AlternativeMap

Location map/data/Australia/doc is located in Australia
Canberra
Canberra
Perth
Perth
Two locations in Australia
{{Location map+ | Australia
| AlternativeMap = Australia relief map.jpg
| caption = Two locations in Australia
| width   = 200
| places  =
  {{Location map~ | Australia
  | lat   = -35.31
  | long  = 149.12
  | label = Canberra
  }}
  {{Location map~ | Australia
  | lat   = -31.95
  | long  = 115.86
  | label = Perth
  }}
}}

See also