Difference between revisions of "Template:MPC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
m (ce & wl)
imported>Rfassbind
(Amend description in usage and example)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
Creates a link to the [[International Astronomical Union]] [[Minor Planet Center]] database from the object's number.
+
The template creates an external link to [[Minor Planet Center]] (MPC) object-view page for a specific minor planet, based on its number or [[Provisional designation in astronomy#Minor planets|provisional designation]].
  
For example, <code><nowiki>{{MPCdb|269858}}</nowiki></code> produces: {{MPCdb|269858}}
+
=== Examples ===
 +
For numbered minor planets, simply use its number
 +
* <code><nowiki>{{MPCdb|75482}}</nowiki></code> produces {{MPCdb|75482}}, a link to MPC's corresponding page for {{mpl|(75482) 1999 XC|173}}
 +
 
 +
For unnumbered minor planets, use a plus-sign (+) between the numeric and alphanumeric part of the [[Provisional designation in astronomy#Minor planets|provisional designation]]:  
 +
* <code><nowiki>{{MPCdb|2010+JL88}}</nowiki></code> produces {{MPCdb|2010+JL88}}  a link to MPC's corresponding page for {{mpl|2010 JL|88}}
  
 
== See also ==
 
== See also ==

Revision as of 15:11, 20 September 2016

Usage

The template creates an external link to Minor Planet Center (MPC) object-view page for a specific minor planet, based on its number or provisional designation.

Examples

For numbered minor planets, simply use its number

  • {{MPCdb|75482}} produces MPC, a link to MPC's corresponding page for Template:Mpl

For unnumbered minor planets, use a plus-sign (+) between the numeric and alphanumeric part of the provisional designation:

  • {{MPCdb|2010+JL88}} produces MPC a link to MPC's corresponding page for Template:Mpl

See also