Open main menu

Template:GNIS 3/doc

< Template:GNIS 3
Revision as of 10:16, 9 April 2017 by en>Elegie (→‎Instructions: -- Use HTTPS for the geonames.usgs.gov "Feature Search" link to provide increased user privacy/security (the HTTP URL generates a 301 (Moved Permanently) redirect to an HTTPS URL))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:GNIS 3 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 external link is a bare URL, without anchor text.

Usage

The only required parameter is the GNIS Feature ID number (optionally, this parameter can be named id).

{{GNIS 3|ID}}
{{GNIS 3|id=ID}}

For GNIS features in Antarctica, add |type=antarid.

{{GNIS 3|ID|type=antarid}}
{{GNIS 3|id=ID|type=antarid}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for GNIS 3

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 external link is a bare URL, without anchor text.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

GNIS Feature ID, a number without leading zeros.

Default
Numberrequired
Typetype

Use the value 'antarid' (type=antarid) for features in Antarctica.

Default
Stringoptional

Instructions

  1. Go to the GNIS Feature Search page.
  2. 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.
  3. Copy the 'ID' number for the desired feature and insert it into the {{GNIS 3|...}} template.
  4. The latitude and longitude can also be copied and used in the {{coord}} template, inserting the '|' vertical bar in-between degrees, minutes, seconds, and direction, e.g.: 441613N  0711812W → {{coord|44|16|13|N|071|18|12|W|region:US}}

Examples

Usage: {{GNIS 3 | 871352 }}

Usage: {{GNIS 3 |id= 871352 }}

Usage: {{GNIS 3 | 2828 |type= antarid }}

Usage: {{GNIS 3 |id= 2828 |type= antarid }}

Use in a link

Usage: [{{GNIS 3| 112837 }} Wheeler Lake]

Usage: [{{GNIS 3| 112837 }} 112837]

Use in a template

Usage:

{{Cite web
| url = {{GNIS 3 | 112837 }}
| title = Wheeler Lake
| work = [[Geographic Names Information System]]
| publisher = [[United States Geological Survey]]
| accessdate = July 5, 2009
}}

Result:
"Wheeler Lake". Geographic Names Information System. United States Geological Survey. Retrieved July 5, 2009.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>

See also

Other GNIS templates:

List of pages linking to geonames.usgs.gov:

Similar templates: