Template:Cite gnis2/doc
This is a documentation subpage for Template:Cite gnis2. It contains usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 2 template based on {{Cite gnis}}. For centralised Citation Style 2 discussions, see Help talk:Citation Style 2. |
{{cite gnis2}} generates a CS2 citation with a link to a Feature Detail Report from the Geographic Names Information System (GNIS), published by the United States Geological Survey (USGS). The citation is displayed as
where Place name is either the Wikipedia article name or an optionally specified name.
The CS2 citation includes a {{harvid}} anchor with format "Place_name_USGS".
Usage
The citation may be placed in the article text with code like:
Some article text.<ref>{{cite gnis2|ID|Name}}</ref>
It may also be placed in a list of sources near the foot of the article, and referenced from the article text by code like:
Some article text.{{sfn|Name USGS}}
- ...
* {{cite gnis2|ID|Name}}
The only required parameter is the GNIS Feature ID number (optionally, this parameter can be named id
). The template then uses the Wikipedia article name as part of the anchor text.
{{cite gnis2|ID}} {{cite gnis2|id=ID}}
If desired, a feature name other than the article name can be specified in a second unnamed parameter (optionally, this can be named name
). This can be used if the article name contains disambiguation or when the GNIS feature name is different than the article name.
{{cite gnis2|ID|Name}} {{cite gnis2|id=ID|name=Name}}
For GNIS features in Antarctica, add |type=antarid
.
{{cite gnis2|ID|type=antarid}} {{cite gnis2|id=ID|type=antarid}} {{cite gnis2|ID|Name|type=antarid}} {{cite gnis2|id=ID|name=Name|type=antarid}}
To format the citation using CS1 style, rather than the default CS2 style, specify |mode=cs1
{{cite gnis2|ID|Name|mode=cs1}}
TemplateData
TemplateData for Cite gnis2
This template generates an external link to a Feature Detail Report from the Geographic Names Information System (GNIS), published by the United States Geological Survey (USGS). The link is displayed as 'U.S. Geological Survey Geographic Names Information System: Name', where Name is either the Wikipedia article name ({{PAGENAME}}) or an optionally specified name.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 id | GNIS Feature ID, a number without leading zeros.
| Number | required |
Name | 2 name | GNIS Feature Name or other descriptive text. If not given it defaults to the Wikipedia article name
| String | optional |
Mode | mode | Use the value 'cs1' (mode=cs1) to override the default cs2 format.
| String | optional |
Type | type | Use the value 'antarid' (type=antarid) for features in Antarctica.
| String | optional |
Instructions
- Go to the GNIS Feature Search page.
- Search for the name, location, and/or class of the feature desired, e.g., to find a mountain called 'Mt. Foo', type '
mount foo
' in the Feature Name box and select 'Summit' from the Feature Class list. - Copy the 'ID' number for the desired feature and insert it into the
{{cite gnis2|...}}
template. - The latitude and longitude can also be copied and used in the
{{coord}}
template, inserting the '|
' vertical bar between degrees, minutes, seconds, and direction, e.g.: 441613N 0711812W →{{coord|44|16|13|N|071|18|12|W|region:US}}
- But note that latitude, longitude and elevation may be somewhat inaccurate. It is best to confirm this data by viewing the location on a map. If necessary use more reliable sources.
Examples
Long footnote style
Your text.<ref>{{cite gnis2|871352|Mount Washington}}</ref>
{{Reflist}}
Result
Your text.[1]
Long footnote style; CS1
Your text.<ref>{{cite gnis2|871352|Mount Washington|mode=cs1}}</ref>
{{Reflist}}
Result
Your text.[1]
Short footnote + sources style
Your text.{{sfn|Mt Washington USGS}}
{{Reflist}}
*{{cite gnis2|871352| Mt Washington}}
Result:
Your text.[1]
All parameters
{{cite gnis2|871352|Mount Washington |mode=cs1 |links=off |entry-date=27 August 1980 |accessdate=3 May 2021}}
Result:
"Mount Washington". Geographic Names Information System. United States Geological Survey. 27 August 1980. Retrieved 3 May 2021.
See also
- Other GNIS templates
- {{GNIS}} – Basic link with name
- {{GNIS 2}} – link with anchor text "[1]" or "Name"
- {{GNIS 3}} – link as bare URL only, without anchor text
- {{GNIS 4}} – link with GNIS Feature ID number as the anchor text
- {{Cite gnis}} – link using the {{Cite web}} template, for use as a reference
- List of pages linking to geonames.usgs.gov
- Special:Linksearch/geonames.usgs.gov/apex/f?p=gnispq (current format)
- Special:Linksearch/geonames.usgs.gov/pls/gnispublic/f?p=gnispq (old format)
- Similar templates
- {{Mountain index row}} – includes an optional GNIS link
- Canadian features (Canadian Geographical Names Data Base, BC Geographical Names)
- {{Cite cgndb}} – all of Canada
- {{Cite bcgnis}} – British Columbia
- Non-U.S. geographic features (GEOnet Names Server)
- On Solar System features (Gazetteer of Planetary Nomenclature)
- {{Gazetteer of Planetary Nomenclature}} – inline citations
- {{WGPSN}} – external links