Difference between revisions of "Template:Auto globalhash coordinates"

From Geohashing
imported>Rs
imported>Rs
(shorten the title to just Globalhash so it fits better into the day-page template)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{PAGENAME}}
 
<includeonly>{{#switch: {{PAGENAME}}
  | Current events = === Today's Globalhash Coordinates === || #default = === Globalhash Coordinates ===
+
  | Current events = === Today's Globalhash === || #default = === Globalhash ===
 
}}
 
}}
{{Globalhash/Todays_coordinates date|{{{1|{{PAGENAME}}}}} }}</includeonly><noinclude>
+
{{: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.

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.