Template:GEOnet2/doc
This is a documentation subpage for Template:GEOnet2. It may contain usage information, categories and other content that is not part of the original template page. |
{{GEOnet2}} provides a reference link to a GEOnet G_NAME a.k.a. Name_GUID search index or key.
Syntax
change{{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
changeCode | Produces | Description |
---|---|---|
|
GEOnet2/doc at GEOnet Names Server | Baku, Azerbaijan Name_GUID |
|
Baku, Azerbaijan at GEOnet Names Server | Baku, Azerbaijan Name_GUID |
Parameters
changeParameter | 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
changeTemplates
changeOther websites
change- http://geonames.nga.mil/ggmagaz/
- http://earth-info.nga.mil/gns/html/gettingstarted.htm
- http://earth-info.nga.mil/gns/html/index.html