Difference between revisions of "Template:GEOnet/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update documentation, add TemplateData)
imported>Zyxw
(update TemplateData description)
Line 2: Line 2:
 
<!-- 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. -->
 
{{TOC right}}
 
{{TOC right}}
{{Tl|GEOnet}} provides 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).
+
{{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>
 
<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>
Line 12: Line 12:
 
{{TemplateDataHeader}}
 
{{TemplateDataHeader}}
 
<templatedata>{
 
<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 link is displayed as 'U.S. Geological Survey Geographic Names Information System: Name', where Name is either the Wikipedia article name ({{PAGENAME}}) or an optionally specified name.",
+
"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": {
 
"params": {
 
   "1": {
 
   "1": {

Revision as of 02:35, 30 May 2014

{{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).

NOTE: The external links generated by this template no longer work. Please use {{GEOnet2}} (which requires a Name_GUID instead of a UFI) or {{GEOnet3}}.

Usage

{{GEOnet|UFI|Name}}

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for GEOnet

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).

Template parameters

ParameterDescriptionTypeStatus
UFI1

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.

Default
Numberrequired
Name2

Name or other descriptive text. If not given it defaults to the Wikipedia article name

Default
{{PAGENAME}}
Stringoptional

Examples

{{GEOnet}} examples
Code Produces
{{GEOnet|-2705195}} GEOnet/doc at GEOnet Names Server
{{GEOnet|-2705195|Baku, Azerbaijan}} Baku, Azerbaijan at GEOnet Names Server

The examples shown above generate a link to:

See also

Similar templates:

List of pages linking to gnswww.nga.mil:

External links