Difference between revisions of "User talk:Tjtrumpet2323"

From Geohashing
imported>Tjtrumpet2323
m
imported>Ahecht
(Bot for writing current coordinates: new section)
Line 2: Line 2:
  
 
----
 
----
 +
 +
== Bot for writing current coordinates ==
 +
 +
I saw that you are responsable for automatically updating the front page. I assume this means that you have a bot which calculates the coordinates and inserts them onto the front page. Would it be possible to have your bot also create a template that contains just the coordinates for a given day? For examply, it could create Template:Coords06-13-2008 that would take Lat and Long as input. That way, for setting up pages about a specific graticule on a specific day, we could just put in a string that is something like <nowiki>{{Coords2008-06-13|Lat=42|Long=71}}</nowiki> instead of having to copy and paste from the reference implementation. If you wanted to get fancy, you could even have the bot update a master template that uses if statements to lookup a certain day's coordinates, so that we would just have to call <nowiki>{{Coordinates|Date=2008-06-13|Lat=42|Long=71}}</nowiki>.--[[User:Ahecht|Ahecht]] 15:38, 13 June 2008 (UTC)

Revision as of 15:38, 13 June 2008

Talk to me! Just be sure to sign with "~~~~" when you do... --Tim P 02:21, 25 May 2008 (UTC)


Bot for writing current coordinates

I saw that you are responsable for automatically updating the front page. I assume this means that you have a bot which calculates the coordinates and inserts them onto the front page. Would it be possible to have your bot also create a template that contains just the coordinates for a given day? For examply, it could create Template:Coords06-13-2008 that would take Lat and Long as input. That way, for setting up pages about a specific graticule on a specific day, we could just put in a string that is something like {{Coords2008-06-13|Lat=42|Long=71}} instead of having to copy and paste from the reference implementation. If you wanted to get fancy, you could even have the bot update a master template that uses if statements to lookup a certain day's coordinates, so that we would just have to call {{Coordinates|Date=2008-06-13|Lat=42|Long=71}}.--Ahecht 15:38, 13 June 2008 (UTC)