Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 TemplateData  





3 Examples  





4 Instructions  



4.1  Note  







5 See also  





6 External links  














Template:GEOnet2






العربية
Արեւմտահայերէն
Azərbaycanca
تۆرکجه

Ελληνικά
Español
فارسی
Français

Հայերեն
ि
Hrvatski
Ilokano
Bahasa Indonesia

ि


مصرى


Norsk nynorsk
Oʻzbekcha / ўзбекча
Português
Română
Scots
Simple English
Slovenščina
Српски / srpski
 

Türkçe
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


GEOnet2atGEOnet Names Server

{{GEOnet2}} generates 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 Name_GUID search index or key (a.k.a. G_NAME in the URL).

Usage

{{GEOnet2|Name_GUID|Name}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:GEOnet2 in articles based on its TemplateData.

TemplateData for GEOnet2

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[Edit template data]

ParameterDescriptionTypeStatus
Name_GUID1

GEOnet Name_GUID database search key, which is the value assigned to G_NAME in the http://geonames.nga.mil/namesgaz/detaillinksearch.asp URL.

Default
Stringrequired
Name2

Name or other descriptive text. If not given it defaults to the Wikipedia article name

Default
{{PAGENAME}}
Stringoptional

Examples

{{GEOnet2}} examples
Code Produces
{{GEOnet2|32FA88151D7D3774E0440003BA962ED3}} GEOnet2atGEOnet Names Server
{{GEOnet2|32FA88151D7D3774E0440003BA962ED3|Baku, Azerbaijan}} Baku, AzerbaijanatGEOnet Names Server

The examples shown above generate a link to:

Instructions

A search engine can be found here. Select a country name to reduce the number of matches. Finding the required id is browser specific.[1]

The Javascript or URL for Mount Logan contain the string "('32FA8842BEDB3774E0440003BA962ED3', 'DC')" the id is the alphanumeric value between the single quotes. For example, the id for Mount Logan is 32FA8842BEDB3774E0440003BA962ED3.

Note

  1. ^ These instructions were valid, using the latest browser version, at the time this documentation was written. Tests were only done using the Windows versions. If you have a problem leave a note on the discussion page or try the Help desk.

See also

  • GEOnet/doc
  • GEOnet2
  • GEOnet2/doc
  • GEOnet2/sandbox
  • GEOnet2/testcases
  • GEOnet3
  • GEOnet3/doc
  • GEOnetdab
  • GEOnetdab/doc
  • Similar templates:

    List of pages linking to geonames.nga.mil:


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:GEOnet2&oldid=1090461033"

    Categories: 
    United States government attribution templates
    United States military templates
    United States geography templates
    Hidden categories: 
    Wikipedia template-protected templates
    Templates using TemplateData
     



    This page was last edited on 29 May 2022, at 16:53 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki