Difference between revisions of "Template:Coordinates graticule"

From Geohashing
imported>Tjtrumpet2323
(categorising)
imported>Joannac
m (Protected "Template:Coordinates graticule": Excessive spamming ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
<includeonly>{{Coordinates graticule/latOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}}, {{Coordinates graticule/lonOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}}</includeonly><noinclude>
 
<includeonly>{{Coordinates graticule/latOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}}, {{Coordinates graticule/lonOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
<code><nowiki>{{coordinates graticule|2008-06-24|lat=40|lon=-79}}</nowiki></code> gives meetup coordinates for {{date link|2008-06-24}} in [[40,-79]].
+
<code><nowiki>{{coordinates graticule|2008-06-24|lat=40|lon=-79}}</nowiki></code> gives meetup coordinates for {{date link|2008-06-24}} in [[40,-79]] out to seven decimal places.  Must be passed a date in '''YYYY-MM-DD''' format.
 +
* Takes any latitude and longitude values literally.  ''Please use only integers, otherwise strange output will result!''
 +
* Handles the [[-0 Issue]] just fine.
 
* Automatically adjusts for the [[30W Time Zone Rule]]; this adjustment has no effect prior to the enactment of the rule on 27 May 2008.
 
* Automatically adjusts for the [[30W Time Zone Rule]]; this adjustment has no effect prior to the enactment of the rule on 27 May 2008.
  
[[Category:Coordinate calculation templates]]
+
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:05, 25 December 2009

Usage

{{coordinates graticule|2008-06-24|lat=40|lon=-79}} gives meetup coordinates for Tuesday 24 June 2008 in 40,-79 out to seven decimal places. Must be passed a date in YYYY-MM-DD format.

  • Takes any latitude and longitude values literally. Please use only integers, otherwise strange output will result!
  • Handles the -0 Issue just fine.
  • Automatically adjusts for the 30W Time Zone Rule; this adjustment has no effect prior to the enactment of the rule on 27 May 2008.