Template:Location map Australia/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

File:As-map.png
Map of Australia

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 = Australia
    Name used in the default map caption
  • bottom = -44.5
    Latitude at bottom edge of map, in decimal degrees
  • left = 111.5
    Longitude at left edge of map, in decimal degrees
  • right = 155
    Longitude at right edge of map, in decimal degrees

Alternative map

The map defined as image1 (Australia relief map.jpg) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Australia location map grey.svg) 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)

Canberra (Australia)
{{Location map | Australia
| width   = 200
| lat_deg = -35.31
| lon_deg = 149.12
| label   = Canberra
}}

Location map many, using relief map (image1)

<div class="thumbinner" style="width:Expression error: Unrecognised punctuation character "{".px; ">

Location map Australia/doc is located in Australia
Canberra
Perth
Two locations in Australia
{{Location map many | Australia
| relief   = yes
| width    = 200
| caption  = Two locations in Australia
| lat1_deg = -35.31
| lon1_deg = 149.12
| label1   = Canberra
| lat2_deg = -31.95
| lon2_deg = 115.86
| label2   = Perth
}}

Location map+, using AlternativeMap

<div class="thumbinner" style="width:Expression error: Unrecognised punctuation character "{".px; ">

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

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template