Module:Location map/data/USA New York/doc: Difference between revisions

Content deleted Content added
create documentation
 
 
(11 intermediate revisions by 8 users not shown)
Line 1:
{{high-use| 9160 }}
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<includeonly>{{high-use| 5,800+ }}</includeonly>
{{Module:Location map/data/doc|image=[[File:Map of New York NA.png|thumb|400px|Map of New York (click on map to see larger image)]]|name=the [[U.S. state]] of [[New York (state)|New York]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
|examples=
 
[[File:Map of New York NA.png|thumb|400px|Map of New York (click on map to see larger image)]]
 
'''Template:Location map USA New York''' is a ___location map definition used to overlay markers and labels on an [[equirectangular projection]] map of the [[U.S. state]] of [[New York]]. 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 New York":
* {{tlx|Location map | USA New York&nbsp;| ...}}
* {{tlx|Location map many | USA New York&nbsp;| ...}}
* {{tlx|Location map+ | USA New York&nbsp;| ...}}
* {{tlx|Location map~ | USA New York&nbsp;| ...}}
 
== Map definition ==
* <tt>'''name''' = {{{{BASEPAGENAME}}|name}}</tt>
*: Name used in the default map caption
 
* <tt>'''image''' = [[:File:{{{{BASEPAGENAME}}|image}}|{{{{BASEPAGENAME}}|image}}]]</tt>
*: The default map image, without "Image:" or "File:"
 
* <tt>'''top''' = {{{{BASEPAGENAME}}|top}}</tt>
*: [[Latitude]] at top edge of map, in [[decimal degrees]]
 
* <tt>'''bottom''' = {{{{BASEPAGENAME}}|bottom}}</tt>
*: Latitude at bottom edge of map, in decimal degrees
 
* <tt>'''left''' = {{{{BASEPAGENAME}}|left}}</tt>
*: [[Longitude]] at left edge of map, in decimal degrees
 
* <tt>'''right''' = {{{{BASEPAGENAME}}|right}}</tt>
*: Longitude at right edge of map, in decimal degrees
{{#if:{{{{BASEPAGENAME}}|x}}{{{{BASEPAGENAME}}|y}}|
 
* <tt>'''x''' = {{{{BASEPAGENAME}}|x}}</tt>
*: 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
 
* <tt>'''y''' = {{{{BASEPAGENAME}}|y}}</tt>
*: 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
}}
== Examples using ___location map templates ==
 
=== Location map ===
{{Location map | USA New York
Line 64 ⟶ 25:
| caption = Locations in New York
| lat1 = 44.930 | long1 = -74.893 | label1 = Massena
| lat2 = 4240.085517 | long2 = -7674.809250 | label2 = ElmiraTottenville
| lat3 = 42.905119 | long3 = -7879.849733 | label3 = BuffaloFindley Lake
| lat4 = 41.038 | long4 = -71.951 | label4 = Montauk
}}
Line 73 ⟶ 34:
| caption = Locations in New York
| lat1 = 44.930 | long1 = -74.893 | label1 = Massena
| lat2 = 4240.085517 | long2 = -7674.809250 | label2 = ElmiraTottenville
| lat3 = 42.905119 | long3 = -7879.849733 | label3 = BuffaloFindley Lake
| lat4 = 41.038 | long4 = -71.951 | label4 = Montauk
}}
Line 89 ⟶ 50:
}}
{{Location map~ | USA New York
| lat = 4240.085517 | long = -7674.809250 | label = ElmiraTottenville
}}
{{Location map~ | USA New York
| lat = 42.905119 | long = -7879.849733 | label = BuffaloFindley Lake
}}
{{Location map~ | USA New York
Line 107 ⟶ 68:
}}
{{Location map~ | USA New York
| lat = 4240.085517 | long = -7674.809250 | label = ElmiraTottenville
}}
{{Location map~ | USA New York
| lat = 42.905119 | long = -7879.849733 | label = BuffaloFindley Lake
}}
{{Location map~ | USA New York
Line 117 ⟶ 78:
}}
</pre>
|see also=
{{clear}}
* [[Module:Location map/data/USA]]
 
* [[Module:Location map/data/USA New York inset]] includes an inset image showing the ___location of New York within the United States
== See also ==
}}
* [[Template:Location map USA]]
* [[Template:Location map USA2]]
 
; Location map templates
* [[Template:Location map]], to display one mark and label using latitude and longitude
* [[Template:Location map many]], to display up to nine marks and labels
* [[Template:Location map+]], to display an unlimited number of marks and labels
 
; Infobox templates incorporating (passing values to) the Location map template
{{Location map/doc/See also infobox templates}}
<includeonly>
<!-- Categories go here, and interwikis go here:in Wikidata -->
{{DEFAULTSORT:New York, Location map USA}}
[[Category:UnitedNew StatesYork (state) ___location mapsmap modules| ]]
 
[[be:Шаблон:На карце/ЗША Штат Нью-Ёрк]]
[[be-x-old:Шаблён:Лякалізацыйная мапа ЗША (Нью-Ёрк)]]
[[bn:টেমপলেট:Location map New York]]
[[ca:Plantilla:Location map USA New York]]
[[cs:Šablona:LocMap New York (rozcestník)]]
[[de:Vorlage:Positionskarte USA New York]]
[[es:Plantilla:Mapa de localización de Nueva York]]
[[fa:الگو:Location map USA New York]]
[[fr:Modèle:Géolocalisation/New York (État)]]
[[gv:Clowan:Caslys-çheerey soiaghey York Noa]]
[[he:תבנית:מפת מיקום/ניו יורק]]
[[hy:Կաղապար:Տեղորոշման քարտեզ ԱՄՆ Նյու Յորք]]
[[hu:Sablon:Pozíciós térkép New York (állam)]]
[[ja:Template:Location map USA New York]]
[[jv:Cithakan:Location map New York]]
[[ka:თარგი:პოზრუკა აშშ ნიუ-იორკი]]
[[ko:틀:위치 지도 미국 뉴욕 주]]
[[ku:Şablon:Nexşeya cihan New York]]
[[lt:Šablonas:Location map JAV Niujorkas (valstija)]]
[[ml:ഫലകം:Location map USA New York]]
[[mr:साचा:Location map नय यॉरक]]
[[ms:Templat:Location map New York]]
[[nl:Sjabloon:Positiekaart New York]]
[[nn:Mal:Kartposisjon New York]]
[[os:Шаблон:ПозКартæ АИШ Нью-Йорк]]
[[no:Mal:Kartposisjon New York]]
[[pl:Szablon:Mapa lokalizacyjna/USA-NY]]
[[pt:Predefinição:Mapa de localização/Nova Iorque]]
[[ro:Format:Harta de localizare SUA New York]]
[[ru:Шаблон:ПозКарта США Нью-Йорк]]
[[simple:Template:Location map USA New York]]
[[sv:Mall:Kartposition USA New York]]
[[th:แมแบบ:Location map New York]]
[[vi:Bản mẫu:Location map New York]]
[[yo:Àdàkọ:Location map USA New York]]
[[zh:Template:Location map USA New York]]
[[zh-min-nan:Template:Location map USA New York]]
</includeonly>