Difference between revisions of "Template:Cite gnis/doc"

From blackwiki
Jump to navigation Jump to search
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 <tt>{{!}}type=antarid</tt>.
+
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 <tt>{{!}}links=off</tt>.
+
To disable links to the publisher, when the template is used multiple times in an article, use <kbd>{{!}}links=off</kbd>.
  
If <tt>antarid</tt> or <tt>links</tt> is specified, then named parameters should be used.
+
If <kbd>antarid</kbd> or <kbd>links</kbd> is specified, then named parameters should be used.
  
Since the GNIS site is very stable, the <tt>accessdate</tt> is not necessary.
+
Since the GNIS site is very stable, the <kbd>accessdate</kbd> is not necessary.
  
For the usage of <tt>ref</tt>, see [[Template:Cite web#Anchor]].
+
For the usage of <kbd>ref</kbd>, see [[Template:Cite web#Anchor]].
  
 
== Examples ==
 
== Examples ==
 
Used with named parameters:
 
Used with named parameters:
:<tt><nowiki>{{cite gnis |id= 269051 |name= Mount Whitney}}</nowiki></tt> → {{cite gnis |id= 269051 |name= Mount Whitney}}
+
:<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:
:<tt><nowiki>{{cite gnis | 269051 | Mount Whitney | 2008-10-31 }}</nowiki></tt> → {{cite gnis | 269051 | Mount Whitney | 2008-10-31 }}
+
:<kbd><nowiki>{{cite gnis | 269051 | Mount Whitney | 2008-10-31 }}</nowiki></kbd> → {{cite gnis | 269051 | Mount Whitney | 2008-10-31 }}
  
 
Antarctic locations:
 
Antarctic locations:
:<tt><nowiki>{{cite gnis |type= antarid |id= 15152 |name= Mount Terror}}</nowiki></tt> → {{cite gnis |type= antarid |id= 15152 |name= Mount Terror}}
+
:<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:
:<tt><nowiki>{{cite gnis |id= 269051 |name= Mount Whitney |links= off}}</nowiki></tt> → {{cite gnis |id= 269051 |name= Mount Whitney |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:
:<tt><nowiki>{{cite gnis |type= antarid |id= 19152 |name= Raney Peak |entrydate = January 21, 2008 |accessdate= May 5, 2014 |links= off |ref= test}}</nowiki></tt> → {{cite gnis |type= antarid |id= 19152 |name= Raney Peak |entrydate = January 21, 2008 |accessdate= May 6, 2014 |links= off |ref= test}}
+
:<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 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