Template talk:USGS gazetteer

(Redirected from Template talk:USGS gazetteer/testcases)
Latest comment: 8 years ago by Izno in topic Use Wikidata

I'm planning to use this template on descriptions of Antarctic features, from the gazetteer available at http://geonames.usgs.gov/stategaz/ . I assume that this gazetteer is public domain, as a work of the US government. Eugene van der Pijll 16:46, 27 September 2005 (UTC)Reply

This template seems to be broken- it gives a weird web citation. Lurker (said · done) 11:12, 26 January 2008 (UTC)Reply
I've made an attempt at a fix. Lurker (said · done) 11:41, 26 January 2008 (UTC)Reply
Most uses of it need "|sourceURL=[http://geonames.usgs.gov/pls/gnispublic/f?p=gnispq:5:::NO::P5_ANTAR_ID:nnn <optional name>]". nnn can be found in the Antarctic search at http://geonames.usgs.gov/pls/gnispublic. Finavon (talk) 13:58, 26 January 2008 (UTC)Reply
now changed to "|id=nnn|name=<required name>". It would be good if the name attribute could default to the pagename. I will stop editing pages using this template until I know it is stable. Although probably not in use, the template also had access to the rest of the US GNIS (ie non-Antarctic); presumably that would no longer work. Finavon (talk) 15:39, 26 January 2008 (UTC)Reply

The name and id fields should remain optional, since many of the pages on which the template is used predate this innovation. Silly rabbit (talk) 17:23, 26 January 2008 (UTC)Reply

Edit request from Pointillist, 29 October 2010

edit

{{edit protected}} Problem: Substitution of the id parameter is broken: instead of ending with the id (e.g. http://geonames.usgs.gov/pls/gnispublic/f?p=gnispq:5:::NO::P5_ANTAR_ID:15753) the URL ends with P5_ANTAR_ID:{{{1}}}. The links on Commonwealth Glacier and Mount Ulla are examples. Not sure whether the bug is in this template or {{GNIS 3}} which this uses.

Tentative solution: Remove id= from the template, so the id parameter to gnis3 is unnamed (e.g. {{gnis3|15753|type=antarid}} which seems to work (e.g. https://web.archive.org/web/2020/https://geonames.usgs.gov/apex/f?p=gnispq:5:::NO::P5_ANTAR_ID:15753) rather than {{gnis3|id=15753|type=antarid}}, which doesn't (e.g. https://web.archive.org/web/2020/https://geonames.usgs.gov/apex/f?p=gnispq:5:::NO::P5_ANTAR_ID:15753). Pointillist (talk) 15:49, 29 October 2010 (UTC)Reply

done. —TheDJ (talkcontribs) 19:05, 29 October 2010 (UTC)Reply

Template-protected edit request on 12 November 2014

edit

Please add ---- both above and below the template so as to produce lines to better differentiate it from the article text. It would appear like this:


  This article incorporates public domain material from "USGS gazetteer". Geographic Names Information System. United States Geological Survey.


Thank you, G S Palmer (talkcontribs) 01:29, 12 November 2014 (UTC)Reply

  Not done: please establish a consensus for this alteration before using the {{edit template-protected}} template. Do other attribution templates, such as {{EB1911}} and {{PlanetMath attribution}} have these lines? --Redrose64 (talk) 15:43, 12 November 2014 (UTC)Reply
Well, it needs some kind of alternation to differentiate it from the actual article content. As it is now, it's in no way clear that it's not just part of the article. Italics and indentation, as we do with most templates that are attached at the end of an article, would help. /Julle (talk) 00:38, 4 January 2015 (UTC)Reply
I see what happened. This template uses {{Include-USGov}}. Until 2013, if any PD-related USGov attribution template was used standalone, it was automatically italicized. User:PBS proposed stripping italics from all such templates. Since then, none of these templates have had formatting to make them stand out from the article content.
I support adding some sort of formatting to make it stand out: I would suggest that italics is preferable to lines, because it is milder. If you agree, then I would recommend going to Template talk:Include-USGov and proposing a revert of the 2013-05-07 edit. —hike395 (talk) 09:19, 4 January 2015 (UTC)Reply

Use Wikidata

edit

Please change from the form

{{Include-USGov|agency=United States Geological Survey|comment=content from the [[Geographic Names Information System]]|article={{#if:{{{name| }}}|{{{name}}}|{{PAGENAME}}}}|url={{#if:{{{id|}}}|{{GNIS 3|{{{id|}}}|type=antarid}}}}}}

into the form

{{Include-USGov|agency=United States Geological Survey|comment=content from the [[Geographic Names Information System]]|article={{#if:{{{name| }}}|{{{name}}}|{{PAGENAME}}}}|url={{#if:{{{id|{{#property:P804}}}}}|{{GNIS 3|{{{id|{{#property:P804}}}}}|type=antarid}}}}}}

Thank you! Jeblad (talk) 12:33, 17 April 2016 (UTC)Reply

  Done Izno (talk) 12:55, 17 April 2016 (UTC)Reply