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

Content deleted Content added
create documentation
 
m top: {{High-use}}
 
(9 intermediate revisions by 6 users not shown)
Line 1:
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
{{High-use}}
[[File:Map of Arkansas NA.png|thumb|400px|Map of Arkansas (click on map to see larger image)]]
{{Module:Location map/data/doc
 
|image=[[File:Map of Arkansas NA.png|thumb|400px|Map of Arkansas (click on map to see larger image)]]
'''Template:Location map USA Arkansas''' is a ___location map definition used to overlay markers and labels on an [[equirectangular projection]] map of the [[U.S. state]] of [[Arkansas]]. 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 Arkansas":
* {{tlx|Location map | USA Arkansas&nbsp;| ...}}
* {{tlx|Location map many | USA Arkansas&nbsp;| ...}}
* {{tlx|Location map+ | USA Arkansas&nbsp;| ...}}
* {{tlx|Location map~ | USA Arkansas&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 Arkansas
| width = 250
| lat_deg = 34.74 | lat_min = 44 | lat_sec = | lat_dir = N
| lon_deg = -92.33 | lon_min = 20 | lon_sec = | lon_dir = W
| label = Little Rock
}}
<pre style="width:30em40em">
{{Location map | USA Arkansas
| width = 250
| lat_deg = 34.74 | lat_min = 44 | lat_sec = | lat_dir = N
| lon_deg = -92.33 | lon_min = 20 | lon_sec = | lon_dir = W
| label = Little Rock
}}
Line 61 ⟶ 25:
| width = 250
| caption = Locations in Arkansas
| lat1 = 3536.3749 | long1 = -9491.3954 | label1 = FortMammoth SmithSpring
| lat2 = 3533.1502 | long2 = -9092.1872 | label2 = WestJunction MemphisCity
| lat3 = 3635.4937 | long3 = -9194.5439 | label3 = MammothFort SpringSmith
| lat4 = 3335.0215 | long4 = -9290.7218 | label4 = JunctionWest CityMemphis
}}
<pre style="width:40em">
Line 70 ⟶ 34:
| width = 250
| caption = Locations in Arkansas
| lat1 = 3536.3749 | long1 = -9491.3954 | label1 = FortMammoth SmithSpring
| lat2 = 3533.1502 | long2 = -9092.1872 | label2 = WestJunction MemphisCity
| lat3 = 3635.4937 | long3 = -9194.5439 | label3 = MammothFort SpringSmith
| lat4 = 3335.0215 | long4 = -9290.7218 | label4 = JunctionWest CityMemphis
}}
</pre>
Line 84 ⟶ 48:
| places =
{{Location map~ | USA Arkansas
| lat = 3536.3749 | long = -9491.3954 | label = FortMammoth SmithSpring
}}
{{Location map~ | USA Arkansas
| lat = 3533.1502 | long = -9092.1872 | label = WestJunction MemphisCity
}}
{{Location map~ | USA Arkansas
| lat = 3635.4937 | long = -9194.5439 | label = MammothFort SpringSmith
}}
{{Location map~ | USA Arkansas
| lat = 3335.0215 | long = -9290.7218 | label = JunctionWest CityMemphis
}}
}}
Line 102 ⟶ 66:
| places =
{{Location map~ | USA Arkansas
| lat = 3536.3749 | long = -9491.3954 | label = FortMammoth SmithSpring
}}
{{Location map~ | USA Arkansas
| lat = 3533.1502 | long = -9092.1872 | label = WestJunction MemphisCity
}}
{{Location map~ | USA Arkansas
| lat = 3635.4937 | long = -9194.5439 | label = MammothFort SpringSmith
}}
{{Location map~ | USA Arkansas
| lat = 3335.0215 | long = -9290.7218 | label = JunctionWest CityMemphis
}}
}}
</pre>
{{clear}}
==| Seesee also ==
 
* [[TemplateModule:Location map /data/USA]]
== 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 and interwikis go here: -->
{{DEFAULTSORT:Arkansas, Location map USA}}
 
[[Category:Arkansas ___location map modules]]
</includeonly>