<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ▼
{{Documentation subpage}}
<includeonly>{{high-use| 3,900+4157 }}<{{Module:Location map/data/includeonly>doc
|image=[[File:Map of West Virginia NA.png|thumb|400px|Map of West Virginia (click on map to see larger image)]] ▼
▲<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
|examples=
▲[[File:Map of West Virginia NA.png|thumb|400px|Map of West Virginia (click on map to see larger image)]]
'''Template:Location map USA West Virginia''' is a ___location map definition used to overlay markers and labels on an [[equirectangular projection]] map of the [[U.S. state]] of [[West Virginia]]. 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 West Virginia":
* {{tlx|Location map | USA West Virginia | ...}}
* {{tlx|Location map many | USA West Virginia | ...}}
* {{tlx|Location map+ | USA West Virginia | ...}}
* {{tlx|Location map~ | USA West Virginia | ...}}
== 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 West Virginia
</pre>
{{clear}}
* [[ TemplateModule:Location map /data/USA]] ▼
▲* [[Template:Location map USA]]
; 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 -->
{{DEFAULTSORT:West Virginia, Location map USA}}
[[Category:UnitedWest States stateVirginia ___location mapsmap modules| ]]
</includeonly>
|