Template:Gazetteer of Planetary Nomenclature/doc

From Nordic Larp Wiki
Jump to navigation Jump to search

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

Usage

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 Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (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 }}

Examples

ID in template

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

Usage:

{{Gazetteer of Planetary Nomenclature}}

Output:

Template:First word "Gazetteer of Planetary Nomenclature/doc". Gazetteer of Planetary Nomenclature. USGS Astrogeology Research Program.

Tracking category

See also

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
Others
  • {{GNIS}}, physical and cultural features in the United States

External links