Difference between revisions of "Module:Location map/data/USA Tennessee/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
m (formatting)
blackwiki>Zyxw
(formatting)
Line 5: Line 5:
 
=== Location map ===
 
=== Location map ===
 
{{Location map | USA Tennessee
 
{{Location map | USA Tennessee
| width  = 250
+
| width  = 200
 
| lat_deg =  36 | lat_min = 10 | lat_sec = 00 | lat_dir = N  
 
| lat_deg =  36 | lat_min = 10 | lat_sec = 00 | lat_dir = N  
 
| lon_deg = 086 | lon_min = 47 | lon_sec = 00 | lon_dir = W
 
| lon_deg = 086 | lon_min = 47 | lon_sec = 00 | lon_dir = W
 
| label  = Nashville
 
| label  = Nashville
 
}}
 
}}
<pre style="width:36em">
+
<pre style="width:38em">
 
{{Location map | USA Tennessee
 
{{Location map | USA Tennessee
| width  = 250
+
| width  = 200
 
| lat_deg =  36 | lat_min = 10 | lat_sec = 00 | lat_dir = N  
 
| lat_deg =  36 | lat_min = 10 | lat_sec = 00 | lat_dir = N  
 
| lon_deg = 086 | lon_min = 47 | lon_sec = 00 | lon_dir = W
 
| lon_deg = 086 | lon_min = 47 | lon_sec = 00 | lon_dir = W
Line 22: Line 22:
 
=== Location map many ===
 
=== Location map many ===
 
{{Location map many | USA Tennessee
 
{{Location map many | USA Tennessee
| width    = 250
+
| width    = 200
 
| caption  = Locations in Tennessee
 
| caption  = Locations in Tennessee
 
| lat1 = 36.6328 | long1 = -86.5392 | label1 = Mitchellville
 
| lat1 = 36.6328 | long1 = -86.5392 | label1 = Mitchellville
Line 29: Line 29:
 
| lat4 = 36.1450 | long4 = -82.4108 | label4 = Erwin
 
| lat4 = 36.1450 | long4 = -82.4108 | label4 = Erwin
 
}}
 
}}
<pre style="width:36em">
+
<pre style="width:38em">
 
{{Location map many | USA Tennessee
 
{{Location map many | USA Tennessee
| width    = 250
+
| width    = 200
 
| caption  = Locations in Tennessee
 
| caption  = Locations in Tennessee
 
| lat1 = 36.6328 | long1 = -86.5392 | label1 = Mitchellville
 
| lat1 = 36.6328 | long1 = -86.5392 | label1 = Mitchellville
Line 43: Line 43:
 
=== Location map+ ===
 
=== Location map+ ===
 
{{Location map+ | USA Tennessee
 
{{Location map+ | USA Tennessee
| width  = 250
+
| width  = 200
 
| caption = Locations in Tennessee
 
| caption = Locations in Tennessee
 
| places  =
 
| places  =
Line 59: Line 59:
 
   }}
 
   }}
 
}}
 
}}
<pre style="width:36em">
+
<pre style="width:38em">
 
{{Location map+ | USA Tennessee
 
{{Location map+ | USA Tennessee
| width  = 250
+
| width  = 200
 
| caption = Locations in Tennessee
 
| caption = Locations in Tennessee
 
| places  =
 
| places  =
Line 83: Line 83:
 
{{Location map | USA Tennessee#USA#North America
 
{{Location map | USA Tennessee#USA#North America
 
| relief  = yes
 
| relief  = yes
| width  = 250
+
| width  = 200
 
| lat_deg = 36.167
 
| lat_deg = 36.167
 
| lon_deg = -86.783
 
| lon_deg = -86.783
 
| label  = Nashville
 
| label  = Nashville
 
}}
 
}}
<pre style="width:36em">
+
<pre style="width:38em">
 
{{Location map | USA Tennessee#USA#North America
 
{{Location map | USA Tennessee#USA#North America
 
| relief  = yes
 
| relief  = yes
| width  = 250
+
| width  = 200
 
| lat_deg = 36.167
 
| lat_deg = 36.167
 
| lon_deg = -86.783
 
| lon_deg = -86.783
Line 102: Line 102:
 
{{Location map | USA Tennessee#USA#North America
 
{{Location map | USA Tennessee#USA#North America
 
| relief  = yes
 
| relief  = yes
| width  = 250
+
| width  = 200
 
| lat_deg = 36.167
 
| lat_deg = 36.167
 
| lon_deg = -86.783
 
| lon_deg = -86.783
Line 108: Line 108:
 
| caption = Location in [[Tennessee]]##Location in the [[United States]]##Location in [[North America]]
 
| caption = Location in [[Tennessee]]##Location in the [[United States]]##Location in [[North America]]
 
}}
 
}}
<pre style="width:36em">
+
<pre style="width:38em">
 
{{Location map | USA Tennessee#USA#North America
 
{{Location map | USA Tennessee#USA#North America
 
| relief  = yes
 
| relief  = yes
| width  = 250
+
| width  = 200
 
| lat_deg = 36.167
 
| lat_deg = 36.167
 
| lon_deg = -86.783
 
| lon_deg = -86.783

Revision as of 20:00, 10 February 2019

Location map of Tennessee
name Tennessee
border
coordinates
38.1
-90.5 ←↕→ -81.4
33.6
map center Lua error: callParserFunction: function "#coordinates" was not found.
image USA Tennessee location map.svg
400x400px
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

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

Nashville (Tennessee)
{{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
}}

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
}}

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
  }}
}}

Location map, one location on three maps

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

Location map, three maps and three captions

Location in Tennessee
Location in the United States
Location in North America
{{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]]
}}

See also

Location map templates

Creating new map definitions