Difference between revisions of "Template:MPC/doc"
imported>Rfassbind (expand on comets) |
imported>Rfassbind m (→Comets: fix example) |
||
| Line 20: | Line 20: | ||
==== Comets ==== | ==== Comets ==== | ||
For comets, also a plus sign (+) instead of white spaces: | For comets, also 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: | ||
* <code><nowiki>{{MPCdb|46P}}</nowiki></code> produces {{MPCdb|46P}}, an external link to MPC's corresponding page for [[46P/Wirtanen]] | * <code><nowiki>{{MPCdb|46P}}</nowiki></code> produces {{MPCdb|46P}}, an external link to MPC's corresponding page for [[46P/Wirtanen]] | ||
Revision as of 21:02, 20 September 2016
| This is a documentation subpage for Template:MPC. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 a plus sign (+) instead of white spaces:
{{MPCdb|P/2011+NO1}}produces MPC, an external link to MPC's corresponding page for P/2011 NO1 (Elenin) (i.e. P/2011 NO1)
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
- {{JPL small body}}
- {{MPCit JPL}}
- {{MPCit MPES}}