Template:GEOnet2/doc

< Template:GEOnet2

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

Syntax

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

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

Parameters

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

Templates

Other websites