Difference between revisions of "Template:Coordinates graticule"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
(Usage)
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|{{PAGENAME}}]]
 
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 02:29, 3 July 2008

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.