Difference between revisions of "Template:M+J/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rfassbind
(create doc for {{M+J}}, combining {{MPC}} and {{JPL}} template, for usage on 500+ LoMP pages)
 
imported>Rfassbind
Line 8: Line 8:
  
 
=== Example===
 
=== Example===
* <code><nowiki>{{M+J|75482}}</nowiki></code> produces {{M+J|75482}}, a link to MPC's and JPL's corresponding page for {{mpl|(75482) 1999 XC|173}}
+
* <code><nowiki>{{M+J|75482}}</nowiki></code> produces {{M+J|75482}}, two links to MPC's and JPL's corresponding page for {{mpl|(75482) 1999 XC|173}}, respectively
* <code><nowiki>{{M+J|2010+JL88}}</nowiki></code> produces {{M+J|2010+JL88}}, a link to MPC's corresponding page for {{mpl|2010 JL|88}}
+
* <code><nowiki>{{M+J|2010+JL88}}</nowiki></code> produces {{M+J|2010+JL88}}, two links to MPC's and JPL's corresponding page for {{mpl|2010 JL|88}}, respectively
  
 
== See also ==
 
== See also ==

Revision as of 21:53, 21 January 2019

Description

This template (M+J) simply combines {{MPC}} (Minor Planet Center) and {{JPL}} ((JPL Small Body Database) into a single template, used 1000 times in each of the 500+ pages in the partial list of minor planets, see LoMP. The only, unnamed parameter is the number of a minor planet (or, alternatively, an objects provisional designation). The two external links are separated by a dot.

Usage

Example

  • {{M+J|75482}} produces MPC · JPL, two links to MPC's and JPL's corresponding page for Template:Mpl, respectively
  • {{M+J|2010+JL88}} produces MPC · JPL, two links to MPC's and JPL's corresponding page for Template:Mpl, respectively

See also

Template:Minor planet templates/See also