Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Jump to content

Template:USGS gazetteer/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
added to documentation
Examples: use live template (via qid)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{Documentation subpage}}</noinclude>
<noinclude>{{Documentation subpage}}</noinclude>
{{Uses Wikidata|P804}}
{{Lua|Module:EditAtWikidata}}
{{high-use}}


''This template will categorize articles that include it into [[:Category:Wikipedia articles incorporating text from the USGS Geographic Names Information System]].''
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:
: <tt><nowiki>{{Usgs-gazetteer|id=<Antarctica ID>|name=<Feature name>}}</nowiki></tt>


== Usage ==
The '''Antarctica ID''' and '''Feature name''' can be found in the [[Geographic Names Information System]] entry. If the ''name='' field is not specified, then the template will use the pagename by default. If the ''id='' field is not specified, then the web link will be to the main search page for the GNIS.
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|id=<var>Antarctica ID</var>|name=<var>Feature name</var><nowiki>}}</nowiki></code>
: <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].
*See also [[Template:USGS]]


* See also {{tl|USGS}}
'''Usage:'''
*<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
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:United States government attribution templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->


== Examples ==
</includeonly>
{{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}}

<includeonly>{{Sandbox other||
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:United States government attribution templates|GS gazetteer, US]]
}}</includeonly>

Latest revision as of 16:13, 6 October 2022

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.

Examples

[edit]
{{USGS gazetteer|id=2250|name=Byrd Glacier}}

Public Domain This article incorporates public domain material from "Byrd Glacier". Geographic Names Information System. United States Geological Survey.

{{USGS gazetteer|id=2250}}

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

{{USGS gazetteer}}

Public Domain 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):

Public Domain 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:

Other GNIS templates: