Difference between revisions of "User talk:Tjtrumpet2323"
imported>Ahecht (→Bot for writing current coordinates: new section) |
imported>Tjtrumpet2323 m (→Bot for writing current coordinates) |
||
Line 6: | Line 6: | ||
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) | 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) | ||
+ | : Unfortunately, I actually edit and create the pages manually (for the time being, it forces me to be up at 09:15). I am planning on eventually programming templates to automate almost all of the calculational stuff you mentioned; however it is all reliant on installation of the [[MediaWiki Implementation]] on this wiki. Please, feel free to bounce ideas off of me... but know that until the MWI is installed, not much can happen. --[[User:Tjtrumpet2323|Tim P]] 15:45, 13 June 2008 (UTC) |
Revision as of 15:45, 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)
- Unfortunately, I actually edit and create the pages manually (for the time being, it forces me to be up at 09:15). I am planning on eventually programming templates to automate almost all of the calculational stuff you mentioned; however it is all reliant on installation of the MediaWiki Implementation on this wiki. Please, feel free to bounce ideas off of me... but know that until the MWI is installed, not much can happen. --Tim P 15:45, 13 June 2008 (UTC)