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

Content deleted Content added
DixonDBot (talk | contribs)
m Migrating 37 interwiki links, now provided by Wikidata on d:Q2884456
 
(9 intermediate revisions by 7 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 117 ⟶ 78:
}}
</pre>
== See|see also ==
{{clear}}
* [[TemplateModule: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| ]]
 
</includeonly>