සැකිල්ල:GEOnet2

විකිපීඩියා, නිදහස් විශ්වකෝෂය වෙතින්
Jump to navigation Jump to search

GEOnet2 at GEOnet 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 documentation for this template used by VisualEditor and other tools.

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

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}} GEOnet2 at GEOnet Names Server
{{GEOnet2|32FA88151D7D3774E0440003BA962ED3|Baku, Azerbaijan}} Baku, Azerbaijan at GEOnet 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]

  • Chrome – Left click on the name then right click anywhere on pop-up. Select "Open frame in new tap". A URL without a protocol will be displayed in the Omnibox at the top of the screen.
  • Firefox – While pressing the control key, left click on the name. A new tab will be created with a JavaScript function in the URL box.
  • Internet Explorer – Right click on the name and select "Properties". A Javascript function, identified as the URL, will be displayed in the pop-up.
  • Opera – Right click on the name and select "Open in New Tab". A new tab will be created with A Javascript function in the URL box.
  • Safari – Right click on the name and select "Copy Link". Paste location into a text box (right click and select Paste).

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[සංස්කරණය]

Similar templates:

List of pages linking to geonames.nga.mil:

External links[සංස්කරණය]

"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:GEOnet2&oldid=343127" වෙතින් සම්ප්‍රවේශනය කෙරිණි