Difference between revisions of "Template:Meetup links"

From Geohashing
imported>Tjtrumpet2323
imported>Tjtrumpet2323
m
Line 1: Line 1:
<includeonly>[http://irc.peeron.com/xkcd/map/map.html?date={{#time:Y-m-d|{{{date|2008-05-14}}}}}&lat={{{lat}}}&long={{{lon}}}&zoom=8 peeron]&#160;[http://maps.google.com/maps?f=q&hl=en&q={{Coordinates graticule/latOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}},+{{Coordinates graticule/lonOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}}+(Geohashing+for+{{#time:j+M+Y|{{{1}}}}}+in+{{{lat}}},{{{lon}}})&ie=UTF8&t=h google]</includeonly><noinclude>
+
<includeonly>[http://irc.peeron.com/xkcd/map/map.html?date={{#time:Y-m-d|{{{date|2008-05-14}}}}}&lat={{{lat}}}&long={{{lon}}}&zoom=8 peeron] [http://maps.google.com/maps?f=q&hl=en&q={{Coordinates graticule/latOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}},+{{Coordinates graticule/lonOnly|{{{1}}}|lat={{{lat}}}|lon={{{lon}}}}}+(Geohashing+for+{{#time:j+M+Y|{{{1}}}}}+in+{{{lat}}},{{{lon}}})&ie=UTF8&t=h google]</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
<code><nowiki>{{meetup links|2008-06-24|lat=40|lon=-79}}</nowiki></code> gives links to the [http://irc.peeron.com/xkcd/map/ reference implementation] and [http://maps.google.com/ Google Maps] for {{date link|2008-06-24}} in [[40,-79]].  Must be passed a date in '''YYYY-MM-DD''' format.
 
<code><nowiki>{{meetup links|2008-06-24|lat=40|lon=-79}}</nowiki></code> gives links to the [http://irc.peeron.com/xkcd/map/ reference implementation] and [http://maps.google.com/ Google Maps] for {{date link|2008-06-24}} in [[40,-79]].  Must be passed a date in '''YYYY-MM-DD''' format.

Revision as of 02:28, 4 July 2008

Usage

{{meetup links|2008-06-24|lat=40|lon=-79}} gives links to the reference implementation and Google Maps for Tuesday 24 June 2008 in 40,-79. 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.