Difference between revisions of "Template:Auto globalhash coordinates"
From Geohashing
imported>Rs (attempt to fix auto template thing) |
imported>Rs (shorten the title to just Globalhash so it fits better into the day-page template) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{PAGENAME}} | <includeonly>{{#switch: {{PAGENAME}} | ||
− | | Current events = === Today's Globalhash | + | | Current events = === Today's Globalhash === || #default = === Globalhash === |
}} | }} | ||
− | {{: | + | {{:Globalhash/Todays Coordinates|{{{1|{{PAGENAME}}}}} }}</includeonly><noinclude> |
== Usage == | == Usage == | ||
<code><nowiki>{{auto globalhash coordinates}}</nowiki></code> gives full globalhash coordinates, as given by [[Globalhash/Coordinates]]. | <code><nowiki>{{auto globalhash coordinates}}</nowiki></code> gives full globalhash coordinates, as given by [[Globalhash/Coordinates]]. |
Latest revision as of 00:31, 11 December 2009
Usage
{{auto globalhash coordinates}}
gives full globalhash coordinates, as given by Globalhash/Coordinates.
- For use only on date pages, e.g., 2008-07-07.
Defaults to the date from the page name if not passed a date, although this should be avoided. Otherwise, transclusion onto pages like 2009-02 will default to taking the "current" day of the month from the server time and will apply that day to all days in the desired month.