Difference between revisions of "Template:MPC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rfassbind
m (→‎See also: {{Minor planet link templates/See also}})
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 34: Line 34:
 
{{Minor planet link templates/See also}}
 
{{Minor planet link templates/See also}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Astronomy external link templates]]
 
[[Category:Astronomy external link templates]]
 
[[Category:Minor planet templates]]
 
[[Category:Minor planet templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 01:38, 26 April 2020

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.

This template accepts 2 unnamed parameters. The required first parameter is the minor planet's unique identifier. The optional second parameter is replacement wikilink text.

Examples

Numbered minor planets

For numbered minor planets, simply use its number:

Unnumbered minor planets

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

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

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:

See also

Template:Minor planet link templates/See also