Difference between revisions of "Template:Coordinates"

From Geohashing
imported>Tjtrumpet2323
m (last few edits should no longer apply 30W incorrectly before 2008-05-27)
imported>Tjtrumpet2323
m (Usage)
Line 7: Line 7:
 
* <code><nowiki>{{coordinates|2008-06-24}}</nowiki></code> gives non-adjusted coordinates for {{date link|2008-06-24}}.
 
* <code><nowiki>{{coordinates|2008-06-24}}</nowiki></code> gives non-adjusted coordinates for {{date link|2008-06-24}}.
 
* <code><nowiki>{{coordinates|2008-06-24|30w=1}}</nowiki></code> gives [[30W]]-adjusted coordinates for the same day.
 
* <code><nowiki>{{coordinates|2008-06-24|30w=1}}</nowiki></code> gives [[30W]]-adjusted coordinates for the same day.
 +
** 30W adjustment has no effect prior to the enactment of the rule on 27 May 2008.
 
</noinclude>
 
</noinclude>

Revision as of 23:17, 2 July 2008

Usage

{{coordinates}} gives coordinate fractions out to seven decimal places. Must be passed a date in YYYY-MM-DD format.

  • {{coordinates|2008-06-24}} gives non-adjusted coordinates for Tuesday 24 June 2008.
  • {{coordinates|2008-06-24|30w=1}} gives 30W-adjusted coordinates for the same day.
    • 30W adjustment has no effect prior to the enactment of the rule on 27 May 2008.