Jump to content

Module:Location map/data/UK Scotland/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Plastikspork (talk | contribs) at 00:29, 29 May 2013 (Plastikspork moved page Template:Location map Scotland/doc to Template:Location map UK Scotland/doc without leaving a redirect: Wikipedia:Templates_for_discussion/Log/2013_May_21#Template:Location_map_UK_Scotland). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Map of Scotland

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

Map definition

Alternative map

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

Edinburgh is located in Scotland
Edinburgh
Edinburgh
Edinburgh (Scotland)
{{Location map | Scotland
| width   = 200
| lat_deg = 55.953
| lon_deg = -3.189
| label   = Edinburgh
}}

Location map many, using relief parameter (image1)

Location map/data/UK Scotland/doc is located in Scotland
Edinburgh
Edinburgh
Kirkwall
Kirkwall
Two locations in Scotland
{{Location map many | Scotland
| relief   = yes
| width    = 200
| caption  = Two locations in Scotland
| lat1_deg = 55.953
| lon1_deg = -3.189
| label1   = Edinburgh
| lat2_deg = 58.981
| lon2_deg = -2.96
| label2   = Kirkwall
}}

Location map+, using AlternativeMap

Location map/data/UK Scotland/doc is located in Scotland
Edinburgh
Edinburgh
Kirkwall
Kirkwall
Two locations in Scotland
{{Location map+ | Scotland
| AlternativeMap = Scotland relief location map.jpg
| width   = 200
| caption = Two locations in Scotland
| places  =
  {{Location map~ | Scotland
  | lat_deg = 55.953
  | lon_deg = -3.189
  | label   = Edinburgh
  }}
  {{Location map~ | Scotland
  | lat_deg = 58.981
  | lon_deg = -2.96
  | label   = Kirkwall
  }}
}}

See also

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