Template:GEOnet2

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

GEOnet2 at GEOnet Names Server

Template documentation[view] [edit] [history] [purge]

{{GEOnet2}} provides a reference link to a GEOnet G_NAME a.k.a. Name_GUID search index or key.

Syntax[change source]

{{GEOnet2|Name_GUID|Link-label-name}}

Where:

  • Name_GUID is the corresponding index or key field from the GEOnet Names Database
  • Optional Link-label-name can be used to label the reference link, otherwise defaults to {{PAGENAME}}.
sDCValue = 'DC'
sId = "'" + UNI + "'"
URL:	
'http://geonames.nga.mil/ggmagaz/detaillinksearch.asp?G_NAME='+sId+'&Diacritics='+sDCValue

Examples[change source]

{{GEOnet2}} examples
Code Produces Description
{{GEOnet2|32FA88151D7D3774E0440003BA962ED3}} GEOnet2 at GEOnet Names Server Baku, Azerbaijan Name_GUID
{{GEOnet2|32FA88151D7D3774E0440003BA962ED3|Baku, Azerbaijan}} Baku, Azerbaijan at GEOnet Names Server Baku, Azerbaijan Name_GUID

Parameters[change source]

{{GEOnet2}} parameters
Parameter Mandatory or Optional Default Description
{1} Mandatory Undefined G_NAME in detaillinksearch.asp URL a.k.a. Name_GUID database search key
{2} Optional {{PAGENAME}} Link-label-name

Related pages[change source]

Templates[change source]

Other websites[change source]