Difference between revisions of "Template talk:Meetup graticule"
imported>M5rammy m (→Chrono-Navigation and Geo-Navigation links) |
m (Eliminating redlinks) |
||
(15 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
+ | ==Comments== | ||
+ | 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) | ||
+ | |||
+ | ===Optional <code>map=...</code> Parameter=== | ||
+ | |||
+ | 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, lon, and date parameters. --[[User:Mattyk|Matty]] December 2008 | ||
+ | |||
== Chrono-Navigation and Geo-Navigation links == | == Chrono-Navigation and Geo-Navigation links == | ||
Line 25: | Line 38: | ||
{| border="1" style="text-align:center" | {| border="1" style="text-align:center" | ||
|- | |- | ||
− | | rowspan="3" | | + | | rowspan="3" | {{egl|2008-06-21|39|-84|text=Prev Sat}}<br>Today<br>{{egl|2008-07-05|39|-84|text=Next Sat}} |
| rowspan="3" | Neighboring<br>Meetups<br>today → | | rowspan="3" | Neighboring<br>Meetups<br>today → | ||
− | | | + | | {{egl|2008-06-28|40|-85|text=NW}} |
− | | | + | | {{egl|2008-06-28|40|-84|text=N}} |
− | | | + | | {{egl|2008-06-28|40|-83|text=NE}} |
|- | |- | ||
− | | | + | | {{egl|2008-06-28|39|-85|text=W}} |
| us | | us | ||
− | | | + | | {{egl|2008-06-28|39|-83|text=E}} |
|- | |- | ||
− | | | + | | {{egl|2008-06-28|38|-85|text=SW}} |
− | | | + | | {{egl|2008-06-28|38|-84|text=S}} |
− | | | + | | {{egl|2008-06-28|38|-83|text=SE}} |
|} | |} | ||
+ | :[Note: I replaced the redlinks with <code>{{[[template:egl|egl]]}}</code> --[[User:Fippe|Fippe]] ([[User talk:Fippe|talk]]) 13:54, 21 March 2020 (UTC)] | ||
− | + | 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) | Here is a the asp/vbscript code and a ReadMe file: [[NaviCodeGen]] (NAVIgational CODE GENerator) | ||
[[User:M5rammy|m5rammy]] 19:23, 30 June 2008 (UTC) | [[User:M5rammy|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 [[1951-11-02 35 -106|here]]. The text below the map contains a number of errors and it thinks the date is 1 Jan 1970. --[[User:Bishop Wash|Bishop_Wash]] 04:51, 4 November 2008 (UTC) | ||
+ | |||
+ | == Changing <map> to <mapimg>? == | ||
+ | |||
+ | Would anyone get really tweaked out if I changed the default map parameter from <map> to <mapimg>? The iframe generated by the former always takes longer to load, and often include blue "alternate location" markers that obscure the red "official location" marker. -- [[User:Phyzome|Phyzome]] 15:40, 23 January 2009 (UTC) | ||
+ | |||
+ | == Possible Problem == | ||
+ | |||
+ | What if I make a retro expedition and there is already an expedition report? If I toggle the retro parameter, will that not break the original expedition? What categories need to be set manually to get the page to show up in expeditions *and* retros. --[[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 12:31, 30 July 2015 (EDT) | ||
+ | |||
+ | :I've retro-visited a couple of hashpoints that I'd already been to on the correct day, but it was so long ago I had to look back at the pages to see how I wrote it up. I see that I just added another (dated) expedition report without any retro tags. However, if you want to categorise it manually, it's quite easy. Don't add the retro parameter to the meetup template -- as you say, that will remove the original expedition categories. Instead, simply add the categories [[:Category:Retro meetup]] and [[:Category:Retro coordinates reached]] (or, indeed, not reached). The other category that should go on retro expeditions is "Category:Meetup in LAT LON", but that will already have been added by the original expedition template so you don't need to add that one again. — <span style="text-shadow:grey 0.2em 0.2em 0.1em; class=texhtml">[[User:Benjw|Benjw]]</span> <sub>{[[User talk:Benjw|talk]]}</sub> 16:47, 30 July 2015 (EDT) | ||
+ | |||
+ | ::Makes sense - thanks. I might edit the relevant page/s to clarify this and add copy and paste-able categories. --[[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 11:16, 2 August 2015 (EDT) | ||
+ | |||
+ | == Deprecated API == | ||
+ | Apparently the Staticmap API was deprecated as of 2009 and turned down in January of 2016, and our wiki now needs Staticmap API v2. Volunteers? --[[User:Thomcat|Thomcat]] ([[User talk:Thomcat|talk]]) 10:10, 15 January 2016 (EST) | ||
+ | :Interestingly, if you specify the "map=" parameter to the Meetup template, it works. --[[User:Thomcat|Thomcat]] ([[User talk:Thomcat|talk]]) 10:22, 15 January 2016 (EST) |
Latest revision as of 13:54, 21 March 2020
Contents
Comments
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)
Optional map=...
Parameter
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, lon, 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)
Changing <map> to <mapimg>?
Would anyone get really tweaked out if I changed the default map parameter from <map> to <mapimg>? The iframe generated by the former always takes longer to load, and often include blue "alternate location" markers that obscure the red "official location" marker. -- Phyzome 15:40, 23 January 2009 (UTC)
Possible Problem
What if I make a retro expedition and there is already an expedition report? If I toggle the retro parameter, will that not break the original expedition? What categories need to be set manually to get the page to show up in expeditions *and* retros. --Sourcerer (talk) 12:31, 30 July 2015 (EDT)
- I've retro-visited a couple of hashpoints that I'd already been to on the correct day, but it was so long ago I had to look back at the pages to see how I wrote it up. I see that I just added another (dated) expedition report without any retro tags. However, if you want to categorise it manually, it's quite easy. Don't add the retro parameter to the meetup template -- as you say, that will remove the original expedition categories. Instead, simply add the categories Category:Retro meetup and Category:Retro coordinates reached (or, indeed, not reached). The other category that should go on retro expeditions is "Category:Meetup in LAT LON", but that will already have been added by the original expedition template so you don't need to add that one again. — Benjw {talk} 16:47, 30 July 2015 (EDT)
Deprecated API
Apparently the Staticmap API was deprecated as of 2009 and turned down in January of 2016, and our wiki now needs Staticmap API v2. Volunteers? --Thomcat (talk) 10:10, 15 January 2016 (EST)