Template:GEOnet/doc

From blackwiki
< Template:GEOnet
Revision as of 02:14, 30 May 2014 by imported>Zyxw (→‎Examples: update examples and table formatting)
Jump to navigation Jump to search

{{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). The template uses the GEOnet Feature__Unique_Feature_ID (Unique Feature Identifier or UFI).

Intended to interface with the JavaScripts at: http://gnswww.nga.mil/geonames/Gazetteer/Search/ Which now apparently requires a NGA login account?

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

Usage

{{GEOnet|UFI|link-label-name}}

Unnamed parameters:

  1. UFI (required) – a Unique_Feature_ID, Feature__Unique_Feature_ID in the http://gnswww.nga.mil/geonames/Gazetteer/Search/Results.jsp URL.
  2. link-label-name (optional) – name used in the reference link, otherwise defaults to {{PAGENAME}}.

Parameters

{{GEOnet}} parameters
Parameter Mandatory or Optional Default Description
{1} Mandatory Undefined Feature__Unique_Feature_ID search key
{2} Optional {{PAGENAME}} Link-label-name

Examples

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

See also

Similar templates:

List of pages linking to gnswww.nga.mil:

External links