Template:Cite gnis2/sandbox
"Cite gnis2/sandbox", . {{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 {{ The citation may be placed in the article text with code like:
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:
Note that the Harvard ref is automatically generated by the template, with an anchor "Name USGS". If a different anchor name is desired, it can be set via
The only required parameter is the GNIS Feature ID number (optionally, this parameter can be named If desired, a feature name other than the article name can be specified in a second unnamed parameter (optionally, this can be named For GNIS features in Antarctica, add For feature types retired in 2021, add To format the citation using CS1 style, rather than the default CS2 style, specify 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. GNIS Feature ID, a number without leading zeros. GNIS Feature Name or other descriptive text. If not given it defaults to the Wikipedia article name Use the value 'cs1' (mode=cs1) to override the default cs2 format. Use the value 'antarid' for features in Antarctica. Use 'retired' for types retired in 2021. Use ref={{harvid|anchor}} to provide a target for an {{sfn}} short footnote . Result
Your text.[1]
Result
Your text.[1]
Result:
Your text.[1]
Result:
"Mount Washington". Geographic Names Information System. United States Geological Survey. 27 August 1980. Retrieved 3 May 2021.
This template is a Citation Style 2 template based on {{Cite gnis}}. For centralised Citation Style 2 discussions, see Help talk:Citation Style 2. Usage
Some article text.<ref>{{cite gnis2|ID|Name}}</ref>
Some article text.{{sfn|Name USGS}}
* {{cite gnis2|ID|Name}}
* {{cite gnis2|ID|Name|ref={{harvid|Anchor}}}}
id
). The template then uses the Wikipedia article name as part of the anchor text.
{{cite gnis2|ID}}
{{cite gnis2|id=ID}}
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}}
|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}}
|type=retired
.
{{cite gnis2|ID|type=retired}}
{{cite gnis2|id=ID|type=retired}}
{{cite gnis2|ID|Name|type=retired}}
{{cite gnis2|id=ID|name=Name|type=retired}}
|mode=cs1
{{cite gnis2|ID|Name|mode=cs1}}
TemplateData
Parameter Description Type Status ID 1
id
Number required Name 2
name
String optional Mode mode
String optional Type type
String optional Ref ref
String optional Instructions
mount foo
' in the Feature Name box and select 'Summit' from the Feature Class list.{{cite gnis2|...}}
template.{{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}}
Examples
Long footnote style
Your text.<ref>{{cite gnis2|871352|Mount Washington}}</ref>
{{Reflist}}Long footnote style; CS1
Your text.<ref>{{cite gnis2|871352|Mount Washington|mode=cs1}}</ref>
{{Reflist}}Short footnote + sources style
Your text.{{sfn|Mt Washington USGS}}
{{Reflist}}
*{{cite gnis2|871352| Mt Washington}}All parameters
{{cite gnis2|871352|Mount Washington |mode=cs1 |links=off |entry-date=27 August 1980 |accessdate=3 May 2021|ref={{harvid|Mt Washington USGS}} }}
See also