Changes
m
Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
__NOTOC____NOEDITSECTION__
This external link template can be used to cite a specific geographic feature name from the [[GEOnet Names Server]] (GNS), published by the [[National Geospatial-Intelligence Agency]] (NGA).
== Usage ==
{| class="wikitable"
|- style="vertical-align:top;"
! Parameter !! Notes
|- style="vertical-align:top;"
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
{{cite gns
| id =
| name =
| accessdate =
}}</pre>
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
Alphanumeric value described below
"Name (Reading Order)" from search results
Full date
</pre>
|}
The fields '''<kbd>id</kbd>''' and '''<kbd>name</kbd>''' must be specified. The '''<kbd>accessdate</kbd>''' is optional.
== Finding the ID ==
A search engine can be found [http://geonames.nga.mil/namesgaz/ here]. Select a country name to reduce the number of matches. Finding the required <kbd>id</kbd> is browser specific.<ref>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 [[Template talk:Cite gns/doc|discussion page]] or try the [[Wikipedia:Help desk|Help desk]].</ref>
* [[Google Chrome|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 (web browser)|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 (web browser)|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 <kbd>id</kbd> is the [[alphanumeric]] value between the single quotes. For example, the <kbd>id</kbd> for Mount Logan is 32FA8842BEDB3774E0440003BA962ED3.
=== Note ===
{{reflist}}
== Examples ==
;with named parameters:
<kbd><nowiki>{{cite gns |id=32FA8842BEDB3774E0440003BA962ED3 |name=Mount Logan}}</nowiki></kbd> → {{cite gns |id=32FA8842BEDB3774E0440003BA962ED3 |name=Mount Logan}}
;with unnamed parameters:
<kbd><nowiki>{{cite gns |32FA8842BEDB3774E0440003BA962ED3 |Mount Logan |2011-05-22}}</nowiki></kbd> → {{cite gns |32FA8842BEDB3774E0440003BA962ED3 |Mount Logan |2011-05-22}}
== See also ==
Similar templates:
* {{tl|GEOnet2}} – for same link in different format
* {{tl|GNIS}} and {{tl|Cite GNIS}} – for links to U.S. geographic feature names from [[Geographic Names Information System]] (GNIS)
* {{tl|Cite web}}
List of pages linking to [[Special:Linksearch/geonames.nga.mil|geonames.nga.mil]]:
* [[Special:Linksearch/geonames.nga.mil/namesgaz/detaillinksearch.asp]] (current format)
* [[Special:Linksearch/geonames.nga.mil/ggmagaz/detaillinksearch.asp]] (old format)
== External links ==
* [http://earth-info.nga.mil/gns/html/index.html NGA GEOnet Names Server (GNS)]
** [http://geonames.nga.mil/namesgaz/ GNS Search - Text Based Page]
** [http://geonames.nga.mil/namesviewer GNS Search - Open Geospatial Consortium (OGC) Viewer Page]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:United States government external link templates]]
[[Category:Specific-source templates]]
}}</includeonly>
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
__NOTOC____NOEDITSECTION__
This external link template can be used to cite a specific geographic feature name from the [[GEOnet Names Server]] (GNS), published by the [[National Geospatial-Intelligence Agency]] (NGA).
== Usage ==
{| class="wikitable"
|- style="vertical-align:top;"
! Parameter !! Notes
|- style="vertical-align:top;"
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
{{cite gns
| id =
| name =
| accessdate =
}}</pre>
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
Alphanumeric value described below
"Name (Reading Order)" from search results
Full date
</pre>
|}
The fields '''<kbd>id</kbd>''' and '''<kbd>name</kbd>''' must be specified. The '''<kbd>accessdate</kbd>''' is optional.
== Finding the ID ==
A search engine can be found [http://geonames.nga.mil/namesgaz/ here]. Select a country name to reduce the number of matches. Finding the required <kbd>id</kbd> is browser specific.<ref>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 [[Template talk:Cite gns/doc|discussion page]] or try the [[Wikipedia:Help desk|Help desk]].</ref>
* [[Google Chrome|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 (web browser)|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 (web browser)|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 <kbd>id</kbd> is the [[alphanumeric]] value between the single quotes. For example, the <kbd>id</kbd> for Mount Logan is 32FA8842BEDB3774E0440003BA962ED3.
=== Note ===
{{reflist}}
== Examples ==
;with named parameters:
<kbd><nowiki>{{cite gns |id=32FA8842BEDB3774E0440003BA962ED3 |name=Mount Logan}}</nowiki></kbd> → {{cite gns |id=32FA8842BEDB3774E0440003BA962ED3 |name=Mount Logan}}
;with unnamed parameters:
<kbd><nowiki>{{cite gns |32FA8842BEDB3774E0440003BA962ED3 |Mount Logan |2011-05-22}}</nowiki></kbd> → {{cite gns |32FA8842BEDB3774E0440003BA962ED3 |Mount Logan |2011-05-22}}
== See also ==
Similar templates:
* {{tl|GEOnet2}} – for same link in different format
* {{tl|GNIS}} and {{tl|Cite GNIS}} – for links to U.S. geographic feature names from [[Geographic Names Information System]] (GNIS)
* {{tl|Cite web}}
List of pages linking to [[Special:Linksearch/geonames.nga.mil|geonames.nga.mil]]:
* [[Special:Linksearch/geonames.nga.mil/namesgaz/detaillinksearch.asp]] (current format)
* [[Special:Linksearch/geonames.nga.mil/ggmagaz/detaillinksearch.asp]] (old format)
== External links ==
* [http://earth-info.nga.mil/gns/html/index.html NGA GEOnet Names Server (GNS)]
** [http://geonames.nga.mil/namesgaz/ GNS Search - Text Based Page]
** [http://geonames.nga.mil/namesviewer GNS Search - Open Geospatial Consortium (OGC) Viewer Page]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:United States government external link templates]]
[[Category:Specific-source templates]]
}}</includeonly>