Difference between revisions of "Template:GNIS 3/doc"
imported>Zyxw (created documentation, included updated version of TemplateData) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
+ | {{Wikidata property|P590|P804}} | ||
[[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]]. | [[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]]. | ||
Line 41: | Line 42: | ||
== Instructions == | == Instructions == | ||
− | # Go to the [ | + | # Go to the [https://geonames.usgs.gov/apex/f?p=gnispq 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 '<code>mount foo</code>' in the Feature Name box and select 'Summit' from the Feature Class list. | # Search for the name, location, and/or class of the feature desired, e.g., to find a mountain called 'Mt. Foo', type '<code>mount foo</code>' 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 <code><nowiki>{{</nowiki>GNIS 3|...}}</code> template. | # Copy the 'ID' number for the desired feature and insert it into the <code><nowiki>{{</nowiki>GNIS 3|...}}</code> template. | ||
Line 104: | Line 105: | ||
Similar templates: | Similar templates: | ||
− | * [[Template:Mountain index row]] | + | * [[Template:Mountain index row]] – includes an optional GNIS link |
− | * [[Template:Cite cgndb]] | + | * [[Template:Cite cgndb]] – for links to [[Canadian Geographical Names Data Base]] |
− | ** [[Template:Cite bcgnis]] | + | ** [[Template:Cite bcgnis]] – for links to [[BC Geographical Names]] for British Columbia |
− | * [[Template:GPN]] | + | * [[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]] | ||
− | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
− | [[Category: | + | [[Category:United States government external link templates]] |
}}</includeonly> | }}</includeonly> |
Latest revision as of 15:29, 25 April 2020
![]() | This is a documentation subpage for Template:GNIS 3. It contains usage information, categories and other content that is not part of the original template page. |
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.
Contents
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
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.
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 3|...}}
template. - 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]
- Result: Wheeler Lake
Usage: [{{GNIS 3| 112837 }} 112837]
- Result: 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.
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 4 – link with GNIS Feature ID number as the 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