Template talk:Gnis
From Wikipedia, the free encyclopedia
[edit] Generated link
If one reads the FAQ page at GNIS, they state that using the session information as a bookmark (which is kind of what the template currently uses) is NOT guaranted to work in the future. However, I do not currently see another way to implement this. RedWolf 19:46, 30 April 2007 (UTC)
[edit] Thanks
Thanks for this template. I haven't tried it yet, but it looks useful. I link to GNIS entries all the time. Pfly 17:31, 20 June 2007 (UTC)
[edit] AntarID
Some features are identified by Antarctic ID. Sample "9763" on McNish Island (currently a dead link). http://geonames.usgs.gov/pls/gnispublic offers a specific form to "Search Antarctica Data". To fix the dead links, we could either include a way to enter those ids on this template or create another one. -- User:Docu
- Just add a conditional parameter to this way. Egads, we already have 3 different versions of this one. no need for a 4th. RedWolf 03:36, 27 June 2007 (UTC)
- I added the possibility (type=antarid) to {{gnis3}}. Using http://geonames.usgs.gov/pls/gnispublic/f?p=179:3:::NO::P3_ANTAR_ID: doesn't appear to work though.
- {{gnis3|9763|type=antarid}} renders:
- http://geonames.usgs.gov/pls/gnispublic/f?p=179:3:::NO::P3_ANTAR_ID:9763 (dynamic: http://geonames.usgs.gov/pls/gnispublic/f?p=gnispq:5:::NO::P5_ANTAR_ID:9763 )
- We'd probably need to leave a session id in the url. -- User:Docu
- Session IDs don't work in general, they only work once. I'll investigate hike395 04:08, 28 June 2007 (UTC)
- I'm stuck: I don't know how to make this work. hike395 04:53, 28 June 2007 (UTC)
- Ah! Got it to work (from FAQ at GNIS, pointed to by Wwods, thanks!) hike395 08:23, 17 July 2007 (UTC)
- Looks like the FAQ was updated. Thanks for updating the links. I added the option "type=antarid" to the other two templates. -- User:Docu
- Ah! Got it to work (from FAQ at GNIS, pointed to by Wwods, thanks!) hike395 08:23, 17 July 2007 (UTC)
- I'm stuck: I don't know how to make this work. hike395 04:53, 28 June 2007 (UTC)
- Session IDs don't work in general, they only work once. I'll investigate hike395 04:08, 28 June 2007 (UTC)
I fixed the remaining AntarIDs in articles on Special:Linksearch. -- User:Docu

