Template:GNIS URL
Appearance
https://edits.nationalmap.gov/apps/gaz-domestic/public/summary/
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Warning | This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Generate the URL for a GNIS query
Usage[change]
The only required parameter is the GNIS Feature ID number (optionally, this parameter can be named id
).
{{GNIS URL|ID}} {{GNIS URL|id=ID}}
For GNIS features in Antarctica, add |type=antarid
.
{{GNIS URL|ID|type=antarid}} {{GNIS URL|id=ID|type=antarid}}
TemplateData[change]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:GNIS URL in articles based on its TemplateData.
TemplateData for GNIS URL
<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 }, "type": { "label": "Type", "description": "Use the value 'antarid' (type=antarid) for features in Antarctica.", "type": "string", "default": "", "required": false }
}}</templatedata>