Difference between revisions of "Template:GEOnet/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update TemplateData description)
imported>Andrybak
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
<code>{{Tlx|GEOnet|''UFI''|''Name''}}</code>
 
<code>{{Tlx|GEOnet|''UFI''|''Name''}}</code>
  
== Parameters ==
+
== TemplateData ==
 
{{TemplateDataHeader}}
 
{{TemplateDataHeader}}
 
<templatedata>{
 
<templatedata>{
Line 60: Line 60:
 
** [http://geonames.nga.mil/namesviewer GNS Search - Open Geospatial Consortium (OGC) Viewer Page]
 
** [http://geonames.nga.mil/namesviewer GNS Search - Open Geospatial Consortium (OGC) Viewer Page]
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:United States government attribution templates]]
 
[[Category:United States government attribution templates]]
 
[[Category:United States military templates|Navy, USGovernment]]
 
[[Category:United States military templates|Navy, USGovernment]]
 +
[[Category:United States geography templates|Net]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:53, 1 November 2020

{{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}}

TemplateData

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