Difference between revisions of "Template:Todays Geohash Link"

From Geohashing
imported>Ryan the leach
m (Replacing Peeron with Geohashing.info)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[http://irc.peeron.com/xkcd/map/map.html?date={{LOCALYEAR}}-{{LOCALMONTH}}-{{LOCALDAY2}}&lat={{{lat|42}}}&long={{{long|-71}}}&zoom={{{zoom|9}}}&abs=1 Most Recent Geohash For {{{lat|42}}} {{{long|-71}}}]]
+
[https://geohashing.info/s/{{LOCALYEAR}}-{{LOCALMONTH}}-{{LOCALDAY2}}/{{{lat|42}}},{{{long|-71}}}/z:{{{zoom|9}}} Geohash Link For {{LOCALDAYNAME}}, {{LOCALMONTHNAME}} {{LOCALDAY}}, {{LOCALYEAR}} ({{{lat|42}}}, {{{long|-71}}})]
  
 
<!-- Note: this template uses the most recent date that has had dow data
 
<!-- Note: this template uses the most recent date that has had dow data
Line 5: Line 5:
 
what i need to do,
 
what i need to do,
  
1, make a template that allows you to automatically create a link for todays link
+
1, make a template that allows you to automatically create a link for todays or yesterdays link depending on dow availability
 +
 
 
2, make a template that does the same except for next saturdays and warns that it will not be available until such and such time.
 
2, make a template that does the same except for next saturdays and warns that it will not be available until such and such time.
 
3, make the templates have default values probably randalls graticule
 
3, make the templates have default values probably randalls graticule
Line 13: Line 14:
 
<noinclude>
 
<noinclude>
  
 +
<nowiki>
 +
Use: {{Todays Geohash Link:lat=12 | long=12 | zoom = 5}}
 +
</nowiki>
 +
 +
 +
gives
  
 +
{{Todays Geohash Link|lat=12 | long=12 | zoom = 5}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:10, 19 January 2022