Difference between revisions of "Template:Cite gnis/doc"
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
|||
Line 45: | Line 45: | ||
|} | |} | ||
− | For Antarctic locations, specify < | + | For Antarctic locations, specify <kbd>{{!}}type=antarid</kbd>. |
− | To disable links to the publisher, when the template is used multiple times in an article, use < | + | To disable links to the publisher, when the template is used multiple times in an article, use <kbd>{{!}}links=off</kbd>. |
− | If < | + | If <kbd>antarid</kbd> or <kbd>links</kbd> is specified, then named parameters should be used. |
− | Since the GNIS site is very stable, the < | + | Since the GNIS site is very stable, the <kbd>accessdate</kbd> is not necessary. |
− | For the usage of < | + | For the usage of <kbd>ref</kbd>, see [[Template:Cite web#Anchor]]. |
== Examples == | == Examples == | ||
Used with named parameters: | Used with named parameters: | ||
− | :< | + | :<kbd><nowiki>{{cite gnis |id= 269051 |name= Mount Whitney}}</nowiki></kbd> → {{cite gnis |id= 269051 |name= Mount Whitney}} |
Used with unnamed parameters: | Used with unnamed parameters: | ||
− | :< | + | :<kbd><nowiki>{{cite gnis | 269051 | Mount Whitney | 2008-10-31 }}</nowiki></kbd> → {{cite gnis | 269051 | Mount Whitney | 2008-10-31 }} |
Antarctic locations: | Antarctic locations: | ||
− | :< | + | :<kbd><nowiki>{{cite gnis |type= antarid |id= 15152 |name= Mount Terror}}</nowiki></kbd> → {{cite gnis |type= antarid |id= 15152 |name= Mount Terror}} |
Publisher links off: | Publisher links off: | ||
− | :< | + | :<kbd><nowiki>{{cite gnis |id= 269051 |name= Mount Whitney |links= off}}</nowiki></kbd> → {{cite gnis |id= 269051 |name= Mount Whitney |links= off}} |
All parameters: | All parameters: | ||
− | :< | + | :<kbd><nowiki>{{cite gnis |type= antarid |id= 19152 |name= Raney Peak |entrydate = January 21, 2008 |accessdate= May 5, 2014 |links= off |ref= test}}</nowiki></kbd> → {{cite gnis |type= antarid |id= 19152 |name= Raney Peak |entrydate = January 21, 2008 |accessdate= May 6, 2014 |links= off |ref= test}} |
== See also == | == See also == |
Revision as of 06:24, 5 August 2018
![]() | This is a documentation subpage for Template:Cite gnis. It contains usage information, categories and other content that is not part of the original template page. |
This citation template is used to cite a Feature Detail Report from the Geographic Names Information System (GNIS) published by the United States Geological Survey (USGS).
Usage
A search engine can be found here. Select the search type from the menu on the right. Note that links to specific records in the database will not work (as stated on the interface itself).
Parameter | Value | Notes |
---|---|---|
{{cite gnis | type = | id = | name = | accessdate = | entrydate = | ref = | links = }} |
antarid feature ID (number) feature name (text) access date entry date anchor off |
for Antarctic data required required optional seldom of interest optional optional |
For Antarctic locations, specify |type=antarid.
To disable links to the publisher, when the template is used multiple times in an article, use |links=off.
If antarid or links is specified, then named parameters should be used.
Since the GNIS site is very stable, the accessdate is not necessary.
For the usage of ref, see Template:Cite web#Anchor.
Examples
Used with named parameters:
- {{cite gnis |id= 269051 |name= Mount Whitney}} → "Mount Whitney". Geographic Names Information System. United States Geological Survey.
Used with unnamed parameters:
- {{cite gnis | 269051 | Mount Whitney | 2008-10-31 }} → "Mount Whitney". Geographic Names Information System. United States Geological Survey. Retrieved 2008-10-31.
Antarctic locations:
- {{cite gnis |type= antarid |id= 15152 |name= Mount Terror}} → "Mount Terror". Geographic Names Information System. United States Geological Survey.
Publisher links off:
- {{cite gnis |id= 269051 |name= Mount Whitney |links= off}} → "Mount Whitney". Geographic Names Information System. United States Geological Survey.
All parameters:
- {{cite gnis |type= antarid |id= 19152 |name= Raney Peak |entrydate = January 21, 2008 |accessdate= May 5, 2014 |links= off |ref= test}} → "Raney Peak". Geographic Names Information System. United States Geological Survey. January 21, 2008. Retrieved May 6, 2014.
See also
- {{GNIS}}, {{GNIS 2}}, {{GNIS 3}}, {{GNIS 4}} – for same external link in other formats
- {{GEOnet2}} and {{Cite gns}} – for links to non-U.S. geographic feature names from GEOnet Names Server
- {{Cite ngs}} – for links to U.S. National Geodetic Survey
- {{Cite gvp}} – for links to Global Volcanism Program
- {{Cite web}}