Changes

Jump to navigation Jump to search
m
fix id
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Template shortcut|GPN|gpn}}
{{Uses Wikidata|P2824}}

This template generates external links into the [[United States Geological Survey]]'s '''G'''azetteer of '''P'''lanetary '''N'''omenclature.

== Usage ==

; First parameter (id)
: The first parameter specifies the feature's identifying number. Alternatively, the number can be specified using <code>id=</code>.
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }}
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> }}

; 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 <code>name=</code>. 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.
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }}
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }}

; Without parameters
: If used with out parameters, the template will fetch the ID from [[Wikidata]] property {{property|2824}}. The <code>name=</code> parameter may be used if the feature name is different than the article name.
: {{tlcw|{{BASEPAGENAME}} }}
: {{tlcw|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }}

== Examples ==

=== ID in template ===
''URL:''
: <kbd>https://<nowiki/>planetarynames.wr.usgs.gov/Feature/{{hilite|5948}}</kbd>
''Usage in the article [[Tharsis Montes]], with article name as link text:''
: {{tlcw|{{BASEPAGENAME}} | 5948 }}
: {{tlcw|{{BASEPAGENAME}} | id{{=}} 5948 }}
''Usage with name parameter as link text:''
: {{tlcw|{{BASEPAGENAME}} | 5948 | Tharsis Montes }}
: {{tlcw|{{BASEPAGENAME}} | id{{=}} 5948 | name{{=}} Tharsis Montes }}
''Output:''
: {{{{BASEPAGENAME}} | 5948 | Tharsis Montes }}
: {{{{BASEPAGENAME}} | id= 5948 | name= Tharsis Montes }}

=== No ID in template or Wikidata ===
''Usage:''
: {{tlcw|{{BASEPAGENAME}} }}
''Output:''
: {{{{BASEPAGENAME}} }}

== Tracking category ==
* {{clc|Gazetteer of Planetary Nomenclature template missing ID and not in Wikidata}}

== See also ==
{{Minor planet templates/See also}}
; Others
* {{tl|GNIS}}, physical and cultural features in the United States

== External links ==
* [http://planetarynames.wr.usgs.gov/index.html Gazetteer of Planetary Nomenclature]

<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Astronomy external link templates]]
[[Category:United States government external link templates]]
[[Category:Specific-source templates]]
[[Category:External link templates using Wikidata]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
Anonymous user

Navigation menu