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

From blackwiki
Jump to navigation Jump to search
imported>Debresser
m (Standardize.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
__NOTOC__
+
{{Wikidata property|P590|P804}}
  
 
This [[Wikipedia:Citation templates|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).
 
This [[Wikipedia:Citation templates|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).
Line 15: Line 15:
 
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
{{cite gnis
 
{{cite gnis
| type =  
+
| type=
| id =  
+
| id=
| name =
+
| name=
| accessdate =  
+
| access-date=
| entrydate =
+
| entry-date=
| ref =
+
| ref=
| links =
+
| links=
 
}}</pre>
 
}}</pre>
 
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
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>access-date</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 |entry-date=January 21, 2008 |access-date=May 5, 2014 |links=off |ref=test}}</nowiki></kbd> → {{cite gnis |type=antarid |id=19152 |name=Raney Peak |entry-date=January 21, 2008 |access-date=May 6, 2014 |links=off |ref=test}}
  
 
== See also ==
 
== See also ==
Line 78: Line 78:
 
* {{tl|Cite web}}
 
* {{tl|Cite web}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Citation Style 1 specific-source templates]]
 
[[Category:Citation Style 1 specific-source templates]]
 
[[Category:United States government external link templates]]
 
[[Category:United States government external link templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 20:21, 30 August 2020

Template:Wikidata property

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=
| access-date=
| entry-date=
| 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 access-date 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 |entry-date=January 21, 2008 |access-date=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