Difference between revisions of "Template:Gazetteer of Planetary Nomenclature/doc"
Jump to navigation
Jump to search
imported>Zyxw m (fix name) |
imported>Zyxw m (fix id) |
||
Line 27: | Line 27: | ||
=== ID in template === | === ID in template === | ||
''URL:'' | ''URL:'' | ||
− | : <kbd>https://<nowiki/>planetarynames.wr.usgs.gov/Feature/{{hilite| | + | : <kbd>https://<nowiki/>planetarynames.wr.usgs.gov/Feature/{{hilite|5948}}</kbd> |
''Usage in the article [[Tharsis Montes]], with article name as link text:'' | ''Usage in the article [[Tharsis Montes]], with article name as link text:'' | ||
: {{tlcw|{{BASEPAGENAME}} | 5948 }} | : {{tlcw|{{BASEPAGENAME}} | 5948 }} | ||
: {{tlcw|{{BASEPAGENAME}} | id{{=}} 5948 }} | : {{tlcw|{{BASEPAGENAME}} | id{{=}} 5948 }} | ||
''Usage with name parameter as link text:'' | ''Usage with name parameter as link text:'' | ||
− | : {{tlcw|{{BASEPAGENAME}} | | + | : {{tlcw|{{BASEPAGENAME}} | 5948 | Tharsis Montes }} |
− | : {{tlcw|{{BASEPAGENAME}} | id{{=}} | + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} 5948 | name{{=}} Tharsis Montes }} |
''Output:'' | ''Output:'' | ||
− | : {{{{BASEPAGENAME}} | | + | : {{{{BASEPAGENAME}} | 5948 | Tharsis Montes }} |
− | : {{{{BASEPAGENAME}} | id= | + | : {{{{BASEPAGENAME}} | id= 5948 | name= Tharsis Montes }} |
=== No ID in template or Wikidata === | === No ID in template or Wikidata === |
Revision as of 00:41, 14 August 2018
![]() | This is a documentation subpage for Template:Gazetteer of Planetary Nomenclature. It contains usage information, categories and other content that is not part of the original template page. |
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/doc". Gazetteer of Planetary Nomenclature. USGS Astrogeology Research Program.
Tracking category
See also
Template:Minor planet templates/See also
- Others
- {{GNIS}}, physical and cultural features in the United States
External links