Difference between revisions of "Template:GNIS 4"
en>Primefac m (Changed protection level for "Template:GNIS 4": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
(No difference)
|
Revision as of 18:02, 23 February 2018
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}}
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 id | GNIS Feature ID, a number without leading zeros.
| Number | required |
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
{{GNIS 4|...}}
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}}
Examples
URL: https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:871352
URL: https://geonames.usgs.gov/apex/f?p=gnispq:5:::NO::P5_ANTAR_ID:2828
- Usage:
{{GNIS 4 | 2828 |type= antarid }}
- Result: 2828
- Usage:
{{GNIS 4 |id= 2828 |type= antarid }}
- Result: 2828
See also
Other GNIS templates:
- Template:GNIS – link with anchor text "U.S. Geological Survey Geographic Names Information System: Name"
- Template:GNIS 2 – link with anchor text "[1]" or "Name"
- Template:GNIS 3 – link as bare URL only, without anchor text
- Template: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:
- Template:Mountain index row – includes an optional GNIS link
- Template:Cite cgndb – for links to Canadian Geographical Names Data Base
- Template:Cite bcgnis – for links to BC Geographical Names for British Columbia
- Template:GPN – for links to Gazetteer of Planetary Nomenclature
- Template:GEOnet2 and Template:Cite GNS – for links to non-U.S. geographic feature names from GEOnet Names Server
The above documentation is transcluded from Template:GNIS 4/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |