Difference between revisions of "Template:MPC/doc"
imported>Rfassbind m (→Description: c/e) |
imported>Rfassbind (expand on comets) |
||
| 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]]) --> | ||
== Description == | == 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 in astronomy#Minor planets|provisional designation]]. The MPC object page is a summary page of a body's discovery, orbital and observational data. It is displayed when using the [http://www.minorplanetcenter.net/db_search MPC Database Search] engine for a single object search. | + | 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 in astronomy#Minor planets|provisional designation]]. The template can also be used for [[comet]]s. The MPC object page is a summary page of a body's discovery, orbital and observational data. It is displayed when using the [http://www.minorplanetcenter.net/db_search MPC Database Search] engine for a single object search. |
== Usage == | == Usage == | ||
| + | |||
| + | Note: not replacing white spaces with a plus sign (+) may result in URL corruption or a link to an erroneous object view. | ||
=== Examples === | === Examples === | ||
| − | For numbered minor planets, simply use its number | + | ==== Numbered minor planets ==== |
| + | 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}} | * <code><nowiki>{{MPCdb|75482}}</nowiki></code> produces {{MPCdb|75482}}, a link to MPC's corresponding page for {{mpl|(75482) 1999 XC|173}} | ||
| + | ==== Unnumbered minor planets ==== | ||
For unnumbered minor planets, use a plus-sign (+) between the numeric and alphanumeric part of the [[Provisional designation in astronomy#Minor planets|provisional designation]]: | 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}} | * <code><nowiki>{{MPCdb|2010+JL88}}</nowiki></code> produces {{MPCdb|2010+JL88}} a link to MPC's corresponding page for {{mpl|2010 JL|88}} | ||
| + | |||
| + | ==== Comets ==== | ||
| + | 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]]) | ||
| + | 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]] | ||
== See also == | == See also == | ||
Revision as of 16:01, 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 NO1 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}}