Jump to content

Module:Location map/data/USA Alaska/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jackmcbarn (talk | contribs) at 02:16, 14 March 2014 (fix math details). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Location map of Alaska
name Alaska
border
coordinates
72
172 ←↕→ -129
51
map center 61°30′N 158°30′W / 61.5°N 158.5°W / 61.5; -158.5
image USA Alaska location map.svg
image1 Relief map of USA Alaska.png
Map of Alaska (click on map to see larger image)

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

Map definition

  • name = Lua error in package.lua at line 80: module 'main' not found.
    Name used in the default map caption
  • image = [[:File:Lua error in package.lua at line 80: module 'main' not found.|Lua error in package.lua at line 80: module 'main' not found.]]
    The default map image, without "Image:" or "File:"
  • image1 = [[:File:Lua error in package.lua at line 80: module 'main' not found.|Lua error in package.lua at line 80: module 'main' not found.]]
    An alternative map image, usually a relief map, can be displayed via the relief or AlternativeMap parameters
  • image2 = [[:File:Lua error in package.lua at line 80: module 'main' not found.|Lua error in package.lua at line 80: module 'main' not found.]]
    A second alternative map image, can be displayed via the AlternativeMap parameter only
  • mark = [[:File:Lua error in package.lua at line 80: module 'main' not found.]] ( [[File:Lua error in package.lua at line 80: module 'main' not found.|8px]] )
    A location marker image to be used for this map, in place of the default image File:Red pog.svg ( )
  • top = Lua error in package.lua at line 80: module 'main' not found.
    Latitude at top edge of map, in decimal degrees
  • bottom = Lua error in package.lua at line 80: module 'main' not found.
    Latitude at bottom edge of map, in decimal degrees
  • left = Lua error in package.lua at line 80: module 'main' not found.
    Longitude at left edge of map, in decimal degrees
  • right = Lua error in package.lua at line 80: module 'main' not found.
    Longitude at right edge of map, in decimal degrees
  • x = Lua error in package.lua at line 80: module 'main' not found.
    An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
  • y = Lua error in package.lua at line 80: module 'main' not found.
    An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge

Technical details

Script error: The function "moduloMathDetails" does not exist.

Alternative map

The map defined as image1 (Lua error in package.lua at line 80: module 'main' not found.) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Lua error in package.lua at line 80: module 'main' not found.) 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: Eastern hemisphere, Deg/Min/Sec coordinates

Attu Island is located in Alaska
Attu Island
Attu Island
Attu Island (Alaska)
{{Location map | USA Alaska
| width = 250
| float = right
| label = Attu Island
| position = right
| lat_deg =  52 | lat_min= 54 | lat_sec = 09 | lat_dir = N
| lon_deg = 172 | lon_min= 54 | lon_sec = 34 | lon_dir = E
}}

Location map: Eastern hemisphere, Decimal coordinates

Attu Island is located in Alaska
Attu Island
Attu Island
Attu Island (Alaska)
{{Location map | USA Alaska
| width = 250
| float = right
| label = Attu Island
| position = right
| lat = 52.9025
| long = 172.909444
}}

Location map: Western hemisphere, Deg/Min/Sec coordinates, Relief map

Ketchikan is located in Alaska
Ketchikan
Ketchikan
Location of Ketchikan in Alaska
{{Location map | USA Alaska
| relief = yes
| width = 250
| float = right
| label = Ketchikan
| position = left
| caption = Location of [[Ketchikan]] in Alaska
| lat_deg =  55 | lat_min= 21 | lat_sec = 00 | lat_dir = N
| lon_deg = 131 | lon_min= 40 | lon_sec = 24 | lon_dir = W
}}

Location map: Western hemisphere, Decimal coordinates, AlternativeMap

Ketchikan is located in Alaska
Ketchikan
Ketchikan
Location of Ketchikan in Alaska
{{Location map | USA Alaska
| AlternativeMap = 800x598 Carte Alaska R3.jpg
| width = 250
| float = right
| label = Ketchikan
| position = left
| caption = Location of [[Ketchikan]] in Alaska
| lat = 55.35
| long = -131.673333
}}

Location map many: Deg/Min/Sec

Location map/data/USA Alaska/doc is located in Alaska
Attu Island
Attu Island
Ketchikan
Ketchikan
{{Location map many | USA Alaska
| float = right | width = 300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
| lat_deg =  52 | lat_min= 54 | lat_sec = 09 | lat_dir = N
| lon_deg = 172 | lon_min= 54 | lon_sec = 34 | lon_dir = E
| label2 = Ketchikan | label2_size = 90 | pos2 = left
| lat2_deg =  55 | lat2_min= 21 | lat2_sec = 00 | lat2_dir = N
| lon2_deg = 131 | lon2_min= 40 | lon2_sec = 24 | lon2_dir = W
}}

Location map many: Decimal coordinates

Location map/data/USA Alaska/doc is located in Alaska
Attu Island
Attu Island
Ketchikan
Ketchikan
{{Location map many | USA Alaska
| float = right | width = 300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
| lat = 52.9025
| long = 172.909444
| label2 = Ketchikan | label2_size = 90 | pos2 = left
| lat2 = 55.35
| long2 = -131.673333
}}

See also

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