Template:Gazetteer of Planetary Nomenclature/doc

This template generates external links into the United States Geological Survey's Gazetteer of Planetary Nomenclature.

Usage change

First parameter (id)
The first parameter specifies the feature's identifying number. Alternatively, the number can be specified using id=.
{{Gazetteer of Planetary Nomenclature | ID }}
{{Gazetteer of Planetary Nomenclature | id= ID }}
Second parameter (name)
If supplied, the second parameter specifies the feature's name, which is used as the anchor text for the external link. Alternatively, the name can be specified using name=. If no name is supplied, the article name is used. The name parameter is useful to refer to a feature other than the topic of the article.
{{Gazetteer of Planetary Nomenclature | ID | NAME }}
{{Gazetteer of Planetary Nomenclature | id= ID | name= NAME }}
Without parameters
If used with out parameters, the template will fetch the ID from Wikidata property Gazetteer of Planetary Nomenclature ID (P2824). The name= parameter may be used if the feature name is different than the article name.
{{Gazetteer of Planetary Nomenclature}}
{{Gazetteer of Planetary Nomenclature | name= NAME }}
  • Note: This template wraps {{cite encyclopedia}}, and accepts any parameter that it does, e.g., |access-date=

Examples change

ID in template change

URL:

https://planetarynames.wr.usgs.gov/Feature/5948

Usage in the article Tharsis Montes, with article name as link text:

{{Gazetteer of Planetary Nomenclature | 5948 }}
{{Gazetteer of Planetary Nomenclature | id= 5948 }}

Usage with name parameter as link text:

{{Gazetteer of Planetary Nomenclature | 5948 | Tharsis Montes }}
{{Gazetteer of Planetary Nomenclature | id= 5948 | name= Tharsis Montes }}

Output:

"Tharsis Montes". Gazetteer of Planetary Nomenclature. USGS Astrogeology Research Program.
"Tharsis Montes". Gazetteer of Planetary Nomenclature. USGS Astrogeology Research Program.

No ID in template or Wikidata change

Usage:

{{Gazetteer of Planetary Nomenclature}}

Output:

Error: no |id= specified and not present in Wikidata when using {{Gazetteer of Planetary Nomenclature}}

Using cite encyclopedia parameters change

Usage:

{{Gazetteer of Planetary Nomenclature | 5948 | Tharsis Montes | accessdate=2021-06-06 | ref=test }}

Output:

"Tharsis Montes". Gazetteer of Planetary Nomenclature. USGS Astrogeology Research Program. Retrieved 2021-06-06.

See also change

  • {{GNIS}}, physical and cultural features in the United States

External link templates for minor planets

Local link templates for minor planets and on related topics

Link templates on Solar System features

  • {{GPN}} (inline citations)
  • {{WGPSN}} (external links)

Partial list templates (minor planets/meanings/named-MPs)

External links change