Template:GNIS 4/doc

Template page

Template:GNIS 4 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 anchor text displayed for this external link is the GNIS Feature ID number.

Usage

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

{{GNIS 4|ID}}
{{GNIS 4|id=ID}}

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

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

For [[Template:GNIS/doc#Retired data|features types that were retired in 2021], add |type=retired.

{{GNIS 4|ID|type=retired}}
{{GNIS 4|id=ID|type=retired}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for GNIS 4

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 anchor text displayed for this external link is the GNIS Feature ID number.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

GNIS Feature ID, a number without leading zeros.

Default
Numberrequired
Typetype

Use the value 'antarid' for features in Antarctica. Use 'retired' for features retired in 2021.

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 above the feature name and insert it into the {{GNIS 4|...}} template.
  4. 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}}

Examples

URL: https://edits.nationalmap.gov/apps/gaz-domestic/public/search/names/871352

  • Usage: {{GNIS 4 | 871352 }}
  • Usage: {{GNIS 4 |id= 871352 }}

URL: https://web.archive.org/web/2020/https://geonames.usgs.gov/apex/f?p=gnispq:5:::NO::P5_ANTAR_ID:2828

  • Usage: {{GNIS 4 | 2828 |type= antarid }}
  • Usage: {{GNIS 4 |id= 2828 |type= antarid }}

RL: https://web.archive.org/web/2020/https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:235365

  • Usage: {{GNIS 4 | 235365 |type= retired }}
  • Usage: {{GNIS 4 |id= 235365 |type= retired }}

See also

Other GNIS templates:

List of pages linking to geonames.usgs.gov:

Similar templates: