Module:Location map/data/Australia South Australia/doc

From blackwiki
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/Australia South Australia

File:SouthAustraliaRoads.png
Map of South Australia

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

Map definition

Alternative map

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

Precision

Longitude: from West to East this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image width of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image width of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Latitude: from North to South this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image height of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image height of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Adelaide (South Australia)
{{Location map | Australia South Australia
| width = 200
| label = Adelaide
| lat_deg = 34  | lat_min = 55 | lat_sec = 44 | lat_dir = S
| lon_deg = 138 | lon_min = 36 | lon_sec = 04 | lon_dir = E
}}

Location map many, using relief map (image1)

{{Location map many | Australia South Australia
| relief   = yes
| width    = 200
| caption  = Locations in South Australia
| lat1 = -26.11 | long1 = 129.15 | label1 = Kalka
| lat2 = -37.83 | long2 = 140.78 | label2 = Mount Gambier
| lat3 = -31.64 | long3 = 129.00 | label3 = Border Village
| lat4 = -32.07 | long4 = 140.98 | label4 = Cockburn
}}

Location map+, using AlternativeMap

{{Location map+ | Australia South Australia
| AlternativeMap=Australia South Australia location map blank.svg
| width   = 200
| caption = Locations in South Australia
| places  =
  {{Location map~ | Australia South Australia
  | lat = -26.11 | long = 129.15 | label = Kalka
  }}
  {{Location map~ | Australia South Australia
  | lat = -37.83 | long = 140.78 | label = Mount Gambier
  }}
  {{Location map~ | Australia South Australia
  | lat = -31.64 | long = 129.00 | label = Border Village
  }}
  {{Location map~ | Australia South Australia
  | lat = -32.07 | long = 140.98 | label = Cockburn
  }}
}}

See also

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