Module:Location map/data/USA Alaska/doc: Difference between revisions

Content deleted Content added
update documentation
m top: {{High-use}}
 
(13 intermediate revisions by 8 users not shown)
Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{High-use}}
 
{{Module:Location map/data/doc|image=[[File:Map of Alaska NA.png|thumb|400px|Map of Alaska (click on map to see larger image)]]|name=the [[U.S. state]] of [[Alaska]]
'''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.
|examples=
 
== Usage ==
These definitions are used by the following templates when invoked with parameter "USA Alaska":
* {{tlx|Location map | USA Alaska&nbsp;| ...}}
* {{tlx|Location map many | USA Alaska&nbsp;| ...}}
* {{tlx|Location map+ | USA Alaska&nbsp;| ...}}
* {{tlx|Location map~ | USA Alaska&nbsp;| ...}}
 
== Map definition ==
; name
: used in default map caption (<tt>{{{{BASEPAGENAME}}|name}}</tt>)
; image
: the default map image, without "Image:" or "File:" (<tt>[[:File:{{{{BASEPAGENAME}}|image}}|{{{{BASEPAGENAME}}|image}}]]</tt>)
; x
: 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
: 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 ===
{{Location map/modulo math details|top = 72 |bottom = 51 |left = 172 |right = -129}}
 
== Examples ==
=== Location map: Eastern hemisphere, Deg/Min/Sec coordinates ===
{{Location map | USA Alaska
| width = 200250
| float = right
| label = Attu Island
Line 34 ⟶ 12:
| lon_deg = 172 | lon_min= 54 | lon_sec = 34 | lon_dir = E
}}
<pre style="width:40em">
{{Location map | USA Alaska
| width = 200250
| float = right
| label = Attu Island
Line 48 ⟶ 26:
=== Location map: Eastern hemisphere, Decimal coordinates ===
{{Location map | USA Alaska
| width = 200250
| float = right
| label = Attu Island
Line 55 ⟶ 33:
| long = 172.909444
}}
<pre style="width:40em">
{{Location map | USA Alaska
| width = 200250
| float = right
| label = Attu Island
Line 67 ⟶ 45:
{{clear}}
 
=== Location map: Western hemisphere, Deg/Min/Sec coordinates, Relief map ===
{{Location map | USA Alaska
| widthrelief = 200yes
| width = 200250
| float = right
| label = Ketchikan
Line 77 ⟶ 56:
| lon_deg = 131 | lon_min= 40 | lon_sec = 24 | lon_dir = W
}}
<pre style="width:40em">
{{Location map | USA Alaska
| widthrelief = 200yes
| width = 200250
| float = right
| label = Ketchikan
Line 90 ⟶ 70:
{{clear}}
 
=== Location map: Western hemisphere, Decimal coordinates, AlternativeMap ===
{{Location map | USA Alaska
| AlternativeMap = 800x598 Carte Alaska R3.jpg
| width = 200
| width = 250
| float = right
| label = Ketchikan
Line 100 ⟶ 81:
| long = -131.673333
}}
<pre style="width:40em">
{{Location map | USA Alaska
| AlternativeMap = 800x598 Carte Alaska R3.jpg
| width = 200
| width = 250
| float = right
| label = Ketchikan
Line 113 ⟶ 95:
{{clear}}
 
=== Location map many: Deg/Min/Sec coordinates ===
{{Location map many | USA Alaska
| float = right | width = 200300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
Line 124 ⟶ 106:
| lon2_deg = 131 | lon2_min= 40 | lon2_sec = 24 | lon2_dir = W
}}
<pre style="width:40em">
{{Location map many | USA Alaska
| float = right | width = 200300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
Line 140 ⟶ 122:
=== Location map many: Decimal coordinates ===
{{Location map many | USA Alaska
| float = right | width = 200300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
Line 149 ⟶ 131:
| long2 = -131.673333
}}
<pre style="width:40em">
{{Location map many | USA Alaska
| float = right | width = 200300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
Line 161 ⟶ 143:
}}
</pre>
== See|see also ==
{{clear}}
* [[TemplateModule:Location map /data/USA]]
 
}}
== See also ==
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
* [[Template:Location map]]
* [[Template:Location map+]]
* [[Template:Location map many]]
* [[Template:Location map USA]]
* [[Template:Location map USA2]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:Alaska, Location map USA}}
[[Category:UnitedAlaska States state ___location maps|Alaskatemplates]]
[[Category:Location map templatesmodules crossing the 180th meridian|USA Alaska]]
[[Category:Alaska ___location map modules| ]]
 
[[an:Plantilla:Mapa de localización Alaska]]
[[az:Şablon:Yer xəritəsi Alyaska]]
[[be-x-old:Шаблён:Лякалізацыйная мапа ЗША (Аляска)]]
[[bg:Шаблон:ПК САЩ Аляска]]
[[ca:Plantilla:Location map USA Alaska]]
[[de:Vorlage:Positionskarte USA Alaska]]
[[es:Plantilla:Mapa de localización de Alaska]]
[[eu:Txantiloi:Kokapen mapa/Alaska]]
[[fr:Modèle:Géolocalisation/Alaska]]
[[ko:틀:위치 지도 미국 알래스카 주]]
[[os:Шаблон:ПозКартæ АИШ Аляскæ]]
[[is:Snið:Location map Alaska]]
[[he:תבנית:מפת מיקום/אלסקה]]
[[ka:თარგი:პოზრუკა აშშ ალასკა]]
[[lt:Šablonas:Location map JAV Aliaska]]
[[hu:Sablon:Pozíciós térkép/Alaszka]]
[[ml:ഫലകം:Location map USA Alaska]]
[[nl:Sjabloon:Positiekaart Alaska]]
[[ja:Template:Location map USA Alaska]]
[[no:Mal:Kartposisjon Alaska]]
[[pl:Szablon:Mapa lokalizacyjna/USA-AK]]
[[pt:Predefinição:Mapa de localização/Alasca]]
[[ru:Шаблон:ПозКарта США Аляска]]
[[simple:Template:Location map USA Alaska]]
[[szl:Szablon:Mapa lokalizacyjno/USA-AK]]
[[sv:Mall:Kartposition USA Alaska]]
[[uk:Шаблон:Карта розташування Аляска]]
[[zh:Template:Location map USA Alaska]]
 
}}</includeonly>