Difference between revisions of "Template:Gazetteer of Planetary Nomenclature"
Jump to navigation
Jump to search
imported>Zyxw (Update handling of missing ID, previous placement of category prevented it from being included. If Wikidata property has multiple values, only use first one. Add fix for empty parameters. Trim any leading spaces in ID that would break URL.) |
imported>MusikBot II m (Protected "Template:Gazetteer of Planetary Nomenclature": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
(No difference)
|
Latest revision as of 23:52, 18 February 2019
"{{{name}}}". Gazetteer of Planetary Nomenclature. USGS Astrogeology Research Program.
![]() | This template is used on approximately 840 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
This template generates external links into the United States Geological Survey's Gazetteer of Planetary Nomenclature.
Contents
Usage
- First parameter (id)
- The first parameter specifies the feature's identifying number. Alternatively, the number can be specified using
id=
. - Template:Tlcw
- Template:Tlcw
- 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. - Template:Tlcw
- Template:Tlcw
- Without parameters
- If used with out parameters, the template will fetch the ID from Wikidata property Template:Property. The
name=
parameter may be used if the feature name is different than the article name. - Template:Tlcw
- Template:Tlcw
Examples
ID in template
URL:
- https://planetarynames.wr.usgs.gov/Feature/5948
Usage in the article Tharsis Montes, with article name as link text:
Usage with name parameter as link text:
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:
Output:
- "Gazetteer of Planetary Nomenclature". Gazetteer of Planetary Nomenclature. USGS Astrogeology Research Program.
Tracking category
See also
- {{GNIS}}, physical and cultural features in the United States
Template:Minor planet link templates/See also
External links
The above documentation is transcluded from Template:Gazetteer of Planetary Nomenclature/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |