Difference between revisions of "Template:Gazetteer of Planetary Nomenclature/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (fix name)
imported>Rfassbind
m (+{{High-use|836}})
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{High-use|836}}
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
{{Template shortcut|GPN|gpn}}
 
{{Template shortcut|GPN|gpn}}
Line 27: Line 28:
 
=== ID in template ===
 
=== ID in template ===
 
''URL:''
 
''URL:''
: <kbd>https://<nowiki/>planetarynames.wr.usgs.gov/Feature/{{hilite|160142}}</kbd>
+
: <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}} | 160142 | Tharsis Montes }}
+
: {{tlcw|{{BASEPAGENAME}} | 5948 | Tharsis Montes }}
: {{tlcw|{{BASEPAGENAME}} | id{{=}} 160142 | name{{=}} Tharsis Montes }}
+
: {{tlcw|{{BASEPAGENAME}} | id{{=}} 5948 | name{{=}} Tharsis Montes }}
 
''Output:''
 
''Output:''
: {{{{BASEPAGENAME}} | 160142 | Tharsis Montes }}
+
: {{{{BASEPAGENAME}} | 5948 | Tharsis Montes }}
: {{{{BASEPAGENAME}} | id= 160142 | name= Tharsis Montes }}
+
: {{{{BASEPAGENAME}} | id= 5948 | name= Tharsis Montes }}
  
 
=== No ID in template or Wikidata ===
 
=== No ID in template or Wikidata ===
Line 48: Line 49:
  
 
== See also ==
 
== See also ==
{{Minor planet templates/See also}}
 
; Others
 
 
* {{tl|GNIS}}, physical and cultural features in the United States
 
* {{tl|GNIS}}, physical and cultural features in the United States
 +
 +
{{Minor planet link templates/See also}}
  
 
== External links ==
 
== External links ==

Latest revision as of 22:23, 12 October 2020

Template:Uses Wikidata

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=.
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:

Template:Tlcw
Template:Tlcw

Usage with name parameter as link text:

Template:Tlcw
Template:Tlcw

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:

Template:Tlcw

Output:

"Gazetteer of Planetary Nomenclature/doc". 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