Teamplaid:Location map Scotland/doc
This is a documentation subpage for Teamplaid:Location map Scotland. It contains usage information, categories and other content that is not part of the original teamplaid page. |
Location map UK 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
deasaichThese definitions are used by the following templates when invoked with parameter "Scotland":
- {{location map| UK Scotland | ...}}
- {{location map many| UK Scotland | ...}}
- {{location map+| UK Scotland | ...}}
- {{location map~| UK Scotland | ...}}
Map definition
deasaich- name = Alba
- Name used in the default map caption
- image = Scotland location map.svg
- The default map image, without "Image:" or "File:"
- image1 = Scotland relief location map.jpg
- An alternative map image, usually a relief map, can be displayed via the relief or AlternativeMap parameters
- top = 61
- Latitude at top edge of map, in decimal degrees
- bottom = 54.5
- Latitude at bottom edge of map, in decimal degrees
- left = -8.8
- Longitude at left edge of map, in decimal degrees
- right = -0.4
- Longitude at right edge of map, in decimal degrees
Alternative map
The map defined as image1 (Scotland relief location map.jpg) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The use of these two parameters is shown in the examples below. Additional examples can be found at:
Examples using location map templates
deasaichLocation map, using default map (image)
deasaichLua error in Mòideal:Location_map at line 291: Unable to find the specified location map definition. Neither "Module:Location map/data/UK Scotland" nor "Template:Location map UK Scotland" exists.
{{Location map | UK Scotland | width = 200 | lat_deg = 55.953 | lon_deg = -3.189 | label = Edinburgh }}
Location map many, using relief parameter (image1)
deasaichLua error in Mòideal:Location_map at line 350: Unable to find the specified location map definition. Neither "Module:Location map/data/UK Scotland" nor "Template:Location map UK Scotland" exists.
{{Location map many | UK 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
deasaichLua error in Mòideal:Location_map at line 195: Unable to find the specified location map definition. Neither "Module:Location map/data/UK Scotland" nor "Template:Location map UK Scotland" exists.
{{Location map+ | UK Scotland | AlternativeMap = Scotland relief location map.jpg | width = 200 | caption = Two locations in Scotland | places = {{Location map~ | UK Scotland | lat_deg = 55.953 | lon_deg = -3.189 | label = Edinburgh }} {{Location map~ | UK Scotland | lat_deg = 58.981 | lon_deg = -2.96 | label = Kirkwall }} }}
See also
deasaich- Location map templates
- Teamplaid:Location map, to display one mark and label using latitude and longitude
- Teamplaid:Location map many, to display up to nine marks and labels
- Teamplaid:Location map+, to display an unlimited number of marks and labels
- Infobox templates incorporating (passing values to) the Location map template