Module:Location map/data/USA Tennessee/doc

MyWikiBiz, Author Your Legacy — Monday November 18, 2024
< Module:Location map‎ | data/USA Tennessee
Revision as of 03:46, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Location map/data/USA Tennessee

Lua error: expandTemplate: template "coord" does not exist.

File:Map of Tennessee NA.png
Map of Tennessee (click on map to see larger image)

Module:Location map/data/USA Tennessee is a location map definition used to overlay markers and labels on an equirectangular projection map of the U.S. state of Tennessee. 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 "USA Tennessee":

Map definition

  • name = Tennessee
    Name used in the default map caption
  • bottom = 33.6
    Latitude at bottom edge of map, in decimal degrees
  • left = -90.5
    Longitude at left edge of map, in decimal degrees
  • right = -81.4
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

Longitude: from West to East this map definition covers 9.1 degrees.

  • At an image width of 200 pixels, that is 0.0455 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0091 degrees per pixel.

Latitude: from North to South this map definition covers 4.5 degrees.

  • At an image height of 200 pixels, that is 0.0225 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0045 degrees per pixel.

Examples using location map templates

Location map

Template:Location map

{{Location map | USA Tennessee
| width   = 200
| lat_deg =  36 | lat_min = 10 | lat_sec = 00 | lat_dir = N 
| lon_deg = 086 | lon_min = 47 | lon_sec = 00 | lon_dir = W
| label   = Nashville
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | USA Tennessee
| width    = 200
| caption  = Locations in Tennessee
| lat1 = 36.6328 | long1 = -86.5392 | label1 = Mitchellville
| lat2 = 35.0047 | long2 = -86.8514 | label2 = Ardmore
| lat3 = 35.5164 | long3 = -89.8886 | label3 = Randolph
| lat4 = 36.1450 | long4 = -82.4108 | label4 = Erwin
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | USA Tennessee
| width   = 200
| caption = Locations in Tennessee
| places  =
  {{Location map~ | USA Tennessee
  | lat = 36.6328 | long = -86.5392 | label = Mitchellville
  }}
  {{Location map~ | USA Tennessee
  | lat = 35.0047 | long = -86.8514 | label = Ardmore
  }}
  {{Location map~ | USA Tennessee
  | lat = 35.5164 | long = -89.8886 | label = Randolph
  }}
  {{Location map~ | USA Tennessee
  | lat = 36.1450 | long = -82.4108 | label = Erwin
  }}
}}

Template:Clear

Location map, one location on three maps

Template:Location map

{{Location map | USA Tennessee#USA#North America
| relief  = yes
| width   = 200
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
}}

Template:Clear

Location map, three maps and three captions

Template:Location map

{{Location map | USA Tennessee#USA#North America
| relief  = yes
| width   = 200
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
| caption = Location in [[Tennessee]]##Location in the [[United States]]##Location in [[North America]]
}}

Template:Clear

See also

Location map templates

Creating new map definitions