Template:USGS gazetteer/doc: Difference between revisions
added to documentation |
→Examples: use live template (via qid) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> |
|||
{{Uses Wikidata|P804}} |
|||
{{Lua|Module:EditAtWikidata}} |
|||
{{high-use}} |
|||
This template is designed for use in the references section of articles which incorporate public domain material from the [[United States Geological Survey]] (USGS) ''[[Geographic Names Information System]]'' (GNIS) for features in Antarctica. |
|||
''The template will categorize articles that include it into [[:Category:Wikipedia articles incorporating text from the USGS Geographic Names Information System]].'' |
|||
To use this template: |
|||
⚫ | |||
⚫ | |||
⚫ | The '''Antarctica ID''' and '''Feature name''' can be found in the |
||
⚫ | |||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|id=<var>Antarctica ID</var><nowiki>}}</nowiki></code> |
|||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> |
|||
⚫ | The '''Antarctica ID''' and '''Feature name''' can be found in the GNIS entry. If the {{para|name}} parameter is not specified, then the template will use the pagename by default. If the {{para|id}} parameter is not specified, the template will use an ID from Wikidata or link to the [https://geonames.usgs.gov/apex/f?p=138:1:0::NO:1:P1_SHOW_ANTAR,P1_SHOW_ADV,P1_SHOW_FIPS55:Y,, GNIS Query Form For Antarctica]. |
||
⚫ | |||
⚫ | |||
⚫ | |||
*<nowiki>{{usgs-gazetteer}}</nowiki> -- for reference section where GNIS Antarctic ID is unknown |
|||
*<nowiki>{{usgs-gazetteer|GNIS_Antarctic_ID}}</nowiki> --- for reference section where GNIS Antarctic ID is known |
|||
*<nowiki>{{usgs-gazetteer|GNIS_Antarctic_ID|Feature_name}}</nowiki> --- where article title has disambiguation: use true feature name as second parameter |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
|||
== Examples == |
|||
⚫ | |||
{{Nowiki template demo|code=<nowiki>{{USGS gazetteer|id=2250|name=Byrd Glacier}}</nowiki>}} |
|||
{{Nowiki template demo|code=<nowiki>{{USGS gazetteer|id=2250}}</nowiki>}} |
|||
{{Nowiki template demo|code=<nowiki>{{USGS gazetteer}}</nowiki>}} |
|||
''If used in the article [[Aagaard Glacier]], where Wikidata item {{Q|3108261}} has a value for {{Property|804}}:'' |
|||
{{{{BASEPAGENAME}}|qid=3108261|name=Aagaard Glacier}} |
|||
== See also == |
|||
This template uses the following: |
|||
* {{tl|Include-USGov}} |
|||
* {{tl|GNIS 3}} |
|||
Other GNIS templates: |
|||
* {{tl|GNIS}} |
|||
* {{tl|GNIS 2}} |
|||
* {{tl|GNIS 4}} |
|||
* {{tl|Cite GNIS}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Latest revision as of 16:13, 6 October 2022
This is a documentation subpage for Template:USGS gazetteer. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template is used on approximately 5,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is designed for use in the references section of articles which incorporate public domain material from the United States Geological Survey (USGS) Geographic Names Information System (GNIS) for features in Antarctica.
The template will categorize articles that include it into Category:Wikipedia articles incorporating text from the USGS Geographic Names Information System.
Usage
[edit]{{USGS gazetteer|id=Antarctica ID|name=Feature name}}
{{USGS gazetteer|id=Antarctica ID}}
{{USGS gazetteer}}
The Antarctica ID and Feature name can be found in the GNIS entry. If the |name=
parameter is not specified, then the template will use the pagename by default. If the |id=
parameter is not specified, the template will use an ID from Wikidata or link to the GNIS Query Form For Antarctica.
- See also {{USGS}}
Examples
[edit]{{USGS gazetteer|id=2250|name=Byrd Glacier}}
This article incorporates public domain material from "Byrd Glacier". Geographic Names Information System. United States Geological Survey.
{{USGS gazetteer|id=2250}}
This article incorporates public domain material from "USGS gazetteer/doc". Geographic Names Information System. United States Geological Survey.
{{USGS gazetteer}}
This article incorporates public domain material from "USGS gazetteer/doc". Geographic Names Information System. United States Geological Survey.
If used in the article Aagaard Glacier, where Wikidata item Aagaard Glacier (Q3108261) has a value for GNIS Antarctica ID (P804):
This article incorporates public domain material from "Aagaard Glacier". Geographic Names Information System. United States Geological Survey.
See also
[edit]This template uses the following:
- {{Include-USGov}}
- {{GNIS 3}}
Other GNIS templates: