Difference between revisions of "Template:MPC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rfassbind
m (→‎Comets: fix example)
imported>Rfassbind
m (→‎Comets: c/e)
Line 19: Line 19:
  
 
==== Comets ====
 
==== Comets ====
For comets, also a plus sign (+) instead of white spaces:
+
For comets, also use a plus sign (+) instead of white spaces:
 
* <code><nowiki>{{MPCdb|P/2011+NO1}}</nowiki></code> produces {{MPCdb|P/2011+NO1}}, an external link to MPC's corresponding page for [[P/2011 NO1 (Elenin)]] (i.e. [[P/2011 NO1]])
 
* <code><nowiki>{{MPCdb|P/2011+NO1}}</nowiki></code> produces {{MPCdb|P/2011+NO1}}, an external link to MPC's corresponding page for [[P/2011 NO1 (Elenin)]] (i.e. [[P/2011 NO1]])
 
For [[List of numbered comets|numbered comets]] do not add the name part of the comet's designation:
 
For [[List of numbered comets|numbered comets]] do not add the name part of the comet's designation:

Revision as of 21:05, 20 September 2016

Description

This template creates an external link to the Minor Planet Center's (MPC) object page for a specific minor planet, based on its number or provisional designation. The template can also be used for comets. The MPC object page is a summary page of a body's discovery, orbital and observational data. It is displayed when using the MPC Database Search engine for a single object search.

Usage

Note: not replacing white spaces with a plus sign (+) may result in URL corruption or a link to an erroneous object view.

Examples

Numbered minor planets

For numbered minor planets, simply use its number:

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

Unnumbered minor planets

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

Comets

For comets, also use a plus sign (+) instead of white spaces:

For numbered comets do not add the name part of the comet's designation:

  • {{MPCdb|46P}} produces MPC, an external link to MPC's corresponding page for 46P/Wirtanen

See also