Difference between revisions of "Template:Gazetteer of Planetary Nomenclature"
Jump to navigation
Jump to search
imported>Elegie (Use HTTPS for the Gazetteer of Planetary Nomenclature link in order to provide increased user privacy/security) |
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))) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [https://planetarynames.wr.usgs.gov/Feature/{{{1|{{{id|{{#property:P2824 | + | {{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property:P2824}} |
− | <noinclude>{{Documentation}}</noinclude> | + | |
+ | | [https://planetarynames.wr.usgs.gov/Feature/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2824}}|sep=,}} }} "{{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAME}} }}"]. ''Gazetteer of Planetary Nomenclature''. USGS Astrogeology Research Program. | ||
+ | |||
+ | | <span class="error">{{[[Template:Gazetteer of Planetary Nomenclature|Gazetteer of Planetary Nomenclature]]}} template missing ID and not present in Wikidata.</span>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Gazetteer of Planetary Nomenclature template missing ID and not in Wikidata]]}} | ||
+ | |||
+ | }}<noinclude> | ||
+ | {{Documentation}} | ||
+ | </noinclude> |
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. |