Changes
Jump to navigation
Jump to search
m
update heading text
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{TOC right}}
{{Tl|GEOnet}} generates an external link to a specific geographic feature name from the [[GEOnet Names Server]] (GNS), published by the [[National Geospatial-Intelligence Agency]] (NGA). This template uses the GEOnet [[Unique Feature Identifier]] (UFI).
<big>'''NOTE: The external links generated by this template no longer work. Please use {{Tl|GEOnet2}} (which requires a Name_GUID instead of a UFI) or {{Tl|GEOnet3}}.'''</big>
== Usage ==
<code>{{Tlx|GEOnet|''UFI''|''Name''}}</code>
== TemplateData ==
{{TemplateDataHeader}}
<templatedata>{
"description": "This template generates an external link to a specific geographic feature name from the GEOnet Names Server (GNS), published by the National Geospatial-Intelligence Agency (NGA).",
"params": {
"1": {
"label": "UFI",
"description": "GEOnet Unique Feature Identifier (UFI), which is the value assigned to Feature__Unique_Feature_ID in the http://gnswww.nga.mil/geonames/Gazetteer/Search/Results.jsp URL.",
"type": "number",
"default": "",
"required": true
},
"2": {
"label": "Name",
"description": "Name or other descriptive text. If not given it defaults to the Wikipedia article name",
"type": "string",
"default": "{{PAGENAME}}",
"required": false
}
}}</templatedata>
== Examples ==
{| class="wikitable"
|+ {{Tl|GEOnet}} examples
! Code
! Produces
|-
| <code>{{Tlx|GEOnet|-2705195}}</code>
| {{GEOnet|-2705195}}
|-
| <code>{{Tlx|GEOnet|-2705195|Baku, Azerbaijan}}</code>
| {{GEOnet|-2705195|Baku, Azerbaijan}}
|}
The examples shown above generate a link to:
* http://gnswww.nga.mil/geonames/Gazetteer/Search/Results.jsp?Feature__Unique_Feature_ID=-2705195&Diacritics=Yes&reload=1
== See also ==
{{Special:PrefixIndex/Template:GEOnet}}
Similar templates:
* {{tl|GNIS}} and {{tl|Cite GNIS}} – for links to U.S. geographic feature names from [[Geographic Names Information System]] (GNIS)
List of pages linking to [[Special:Linksearch/gnswww.nga.mil|gnswww.nga.mil]]:
* [[Special:Linksearch/gnswww.nga.mil/geonames/Gazetteer/Search/Results.jsp]]
== External links ==
* [http://earth-info.nga.mil/gns/html/index.html NGA GEOnet Names Server (GNS)]
** [http://geonames.nga.mil/namesgaz/ GNS Search - Text Based Page]
** [http://geonames.nga.mil/namesviewer GNS Search - Open Geospatial Consortium (OGC) Viewer Page]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:United States government attribution templates]]
[[Category:United States military templates|Navy, USGovernment]]
}}</includeonly>
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{TOC right}}
{{Tl|GEOnet}} generates an external link to a specific geographic feature name from the [[GEOnet Names Server]] (GNS), published by the [[National Geospatial-Intelligence Agency]] (NGA). This template uses the GEOnet [[Unique Feature Identifier]] (UFI).
<big>'''NOTE: The external links generated by this template no longer work. Please use {{Tl|GEOnet2}} (which requires a Name_GUID instead of a UFI) or {{Tl|GEOnet3}}.'''</big>
== Usage ==
<code>{{Tlx|GEOnet|''UFI''|''Name''}}</code>
== TemplateData ==
{{TemplateDataHeader}}
<templatedata>{
"description": "This template generates an external link to a specific geographic feature name from the GEOnet Names Server (GNS), published by the National Geospatial-Intelligence Agency (NGA).",
"params": {
"1": {
"label": "UFI",
"description": "GEOnet Unique Feature Identifier (UFI), which is the value assigned to Feature__Unique_Feature_ID in the http://gnswww.nga.mil/geonames/Gazetteer/Search/Results.jsp URL.",
"type": "number",
"default": "",
"required": true
},
"2": {
"label": "Name",
"description": "Name or other descriptive text. If not given it defaults to the Wikipedia article name",
"type": "string",
"default": "{{PAGENAME}}",
"required": false
}
}}</templatedata>
== Examples ==
{| class="wikitable"
|+ {{Tl|GEOnet}} examples
! Code
! Produces
|-
| <code>{{Tlx|GEOnet|-2705195}}</code>
| {{GEOnet|-2705195}}
|-
| <code>{{Tlx|GEOnet|-2705195|Baku, Azerbaijan}}</code>
| {{GEOnet|-2705195|Baku, Azerbaijan}}
|}
The examples shown above generate a link to:
* http://gnswww.nga.mil/geonames/Gazetteer/Search/Results.jsp?Feature__Unique_Feature_ID=-2705195&Diacritics=Yes&reload=1
== See also ==
{{Special:PrefixIndex/Template:GEOnet}}
Similar templates:
* {{tl|GNIS}} and {{tl|Cite GNIS}} – for links to U.S. geographic feature names from [[Geographic Names Information System]] (GNIS)
List of pages linking to [[Special:Linksearch/gnswww.nga.mil|gnswww.nga.mil]]:
* [[Special:Linksearch/gnswww.nga.mil/geonames/Gazetteer/Search/Results.jsp]]
== External links ==
* [http://earth-info.nga.mil/gns/html/index.html NGA GEOnet Names Server (GNS)]
** [http://geonames.nga.mil/namesgaz/ GNS Search - Text Based Page]
** [http://geonames.nga.mil/namesviewer GNS Search - Open Geospatial Consortium (OGC) Viewer Page]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:United States government attribution templates]]
[[Category:United States military templates|Navy, USGovernment]]
}}</includeonly>