Difference between revisions of "Template talk:Meetup graticule"
imported>Bishop Wash (→Bugs: new section) |
imported>Mattyk (moved ''Comments'' section from the template documentation page to here. Added a bit about the optional map=... parameter.) |
||
Line 1: | Line 1: | ||
+ | Hopefully, the author of this template checks here periodically... There are two things that don't work right with this. First, the <code>graticule_link</code> doesn't product a link when there is a comma in the name (even though the example shows a comma!). If it doesn't change, look at the [[Melbourne, Florida]] page for an example. Second, it is very sad that the use of magic words (such as <code><nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}</nowiki></code>) for the date doesn't work within the <code><nowiki><map /></nowiki></code> part. Perhaps a special symbol for TODAY could be used for people who would like the map to always show the current location. -- [[User:Nurbles|Nurbles]] 14 Jun 2008 | ||
+ | |||
+ | :I also wonder if there is a way to not only create the categories ''Meetup in ...'' and ''Meetup on ...'', as it does, but to categorise ''those'' categories as ''Meetup by location'' and ''Meetup in YEAR-MONTH''. It's not too much work to do that manually: once per graticule for the former and once a day for the latter, but it would be cool. -[[User:Robyn|Robyn]] 19:12, 12 August 2008 (UTC) | ||
+ | |||
+ | ::Such YYYY-MM and YYYY categories are generally unnecessary, as the YYYY-MM-DD categories are subcategories of the former. --[[User:Tjtrumpet2323|Tim P]] 02:44, 1 September 2008 (UTC) | ||
+ | |||
+ | :::Yes, I know. I wasn't requesting them to be added to the page using the meetup graticule template. I was asking that they be ''created'', such that the ''do'' contain their subcategories. As it is, someone (mostly me) categorizes them. -[[User:Robyn|Robyn]] 17:12, 26 September 2008 (UTC) | ||
+ | |||
+ | Don't know if people noticed, but I worked out how to get <code><nowiki>{{#tag}}</nowiki></code> to work, so now if you leave out the <code>map=...</code> part it automagically generates it for you, based on the lat, long, and date parameters. --[[User:Matty|Matty]] December 2008 | ||
+ | |||
== Chrono-Navigation and Geo-Navigation links == | == Chrono-Navigation and Geo-Navigation links == | ||
Revision as of 04:02, 9 December 2008
Hopefully, the author of this template checks here periodically... There are two things that don't work right with this. First, the graticule_link
doesn't product a link when there is a comma in the name (even though the example shows a comma!). If it doesn't change, look at the Melbourne, Florida page for an example. Second, it is very sad that the use of magic words (such as {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}
) for the date doesn't work within the <map />
part. Perhaps a special symbol for TODAY could be used for people who would like the map to always show the current location. -- Nurbles 14 Jun 2008
- I also wonder if there is a way to not only create the categories Meetup in ... and Meetup on ..., as it does, but to categorise those categories as Meetup by location and Meetup in YEAR-MONTH. It's not too much work to do that manually: once per graticule for the former and once a day for the latter, but it would be cool. -Robyn 19:12, 12 August 2008 (UTC)
- Such YYYY-MM and YYYY categories are generally unnecessary, as the YYYY-MM-DD categories are subcategories of the former. --Tim P 02:44, 1 September 2008 (UTC)
- Yes, I know. I wasn't requesting them to be added to the page using the meetup graticule template. I was asking that they be created, such that the do contain their subcategories. As it is, someone (mostly me) categorizes them. -Robyn 17:12, 26 September 2008 (UTC)
Don't know if people noticed, but I worked out how to get {{#tag}}
to work, so now if you leave out the map=...
part it automagically generates it for you, based on the lat, long, and date parameters. --Matty December 2008
On the meetup pages for my grat (Cincinnati, Ohio), I've added the following code directly after the Map code and before the About section, modifying the dates, for each week's page:
{| border="1" style="text-align:center" |-<br> | rowspan="3" | [[2008-06-21 39 -84|Prev Sat]]<br>Today<br>[[2008-07-05 39 -84|Next Sat]] | rowspan="3" | Neighboring<br>Meetups<br>today → | [[2008-06-28 40 -85|NW]] | [[2008-06-28 40 -84|N]] | [[2008-06-28 40 -83|NE]] |- | [[2008-06-28 39 -85|W]] | us | [[2008-06-28 39 -83|E]] |- | [[2008-06-28 38 -85|SW]] | [[2008-06-28 38 -84|S]] | [[2008-06-28 38 -83|SE]] |}
which gives ...
Prev Sat Today Next Sat |
Neighboring Meetups today → |
NW | N | NE |
W | us | E | ||
SW | S | SE |
I wrote a script (outside of the wiki) to generate the code for any day and grat (with options). In any case I'd be honored if you want to adopt this code for your grat pages too.
Here is a the asp/vbscript code and a ReadMe file: NaviCodeGen (NAVIgational CODE GENerator)
m5rammy 19:23, 30 June 2008 (UTC)
Bugs
The code doesn't like dates before 1 Jan 1970, Unix epoch. I performed a retro geohash this weekend and documented the expedition here. The text below the map contains a number of errors and it thinks the date is 1 Jan 1970. --Bishop_Wash 04:51, 4 November 2008 (UTC)