Template:GNIS 2/doc

Template:GNIS 2 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 displayed as a footnote style link ( [1] ) or with an optionally specified name as the anchor text.

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

If desired, the template can display the feature name as the anchor text, which can be specified in a second unnamed parameter (optionally, this parameter name can be named ):

For GNIS features in Antarctica, add.

TemplateData
{ "description": "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 displayed as a footnote style link ( [1] ) or with an optionally specified name as the anchor text.", "params": { "1": {   "label": "ID", "aliases": ["id"], "description": "GNIS Feature ID, a number without leading zeros.", "type": "number", "default": "", "required": true }, "2": {    "label": "Name", "aliases": ["name"], "description": "GNIS Feature Name or other descriptive text.", "type": "string", "default": "", "required": false }, "type": { "label": "Type", "description": "Use the value 'antarid' (type=antarid) for features in Antarctica.", "type": "string", "default": "", "required": false } }}

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 ' ' 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   template.
 * 4) The latitude and longitude can also be copied and used in the  template, inserting the 'undefined' vertical bar between degrees, minutes, seconds, and direction, e.g.: 441613N  0711812W →

ID only
URL: https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:871352
 * Usage:
 * Result:
 * Usage:
 * Result:

URL: https://geonames.usgs.gov/apex/f?p=gnispq:5:::NO::P5_ANTAR_ID:2828
 * Usage:
 * Result:
 * Usage:
 * Result:

ID and Name
URL: https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:871352
 * Usage:
 * Result:
 * Usage:
 * Result:

URL: https://geonames.usgs.gov/apex/f?p=gnispq:5:::NO::P5_ANTAR_ID:2828
 * Usage:
 * Result:
 * Usage:
 * Result: