Template talk:Mpl-

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Astronomy / Astronomical objects  (Rated Template-class)
WikiProject icon Template:Mpl- is within the scope of WikiProject Astronomy, which collaborates on articles related to Astronomy on Wikipedia.
 Template  This template does not require a rating on the project's quality scale.
Taskforce icon
This template is supported by WikiProject Astronomical objects, which collaborates on articles related to astronomical objects.
 
WikiProject Solar System (Rated Template-class)
WikiProject icon This template is within the scope of WikiProject Solar System, a collaborative effort to improve the coverage of the Solar System on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
 
For more information, see the Solar System importance assessment guideline.

Contents

[edit] Administrative

[edit] Documentation

[edit] [history] [purge] Documentation icon Template documentation

[edit] Usage

The template mp (for "minor planet") easily formats the nomenclature of those minor planets that are known in whole or in part by their provisional designation. The template mpl (for "minor planet link") obeys the exact same syntax but outputs a wikilink to an article at the appropriate namespace. Use of these templates avoids Unicode complexities in article titles while still rendering subscripts.

The templates have been designed to allow the designations to be entered with a minimum of modification needed; pipe [ | ] characters replace transitions to and from subscript, as well as slashes [ / ] and parentheses [ ( ) ].

[edit] Template:mp

  • To quickly format a minor planet identified solely by its provisional designation (i.e. without a catalogue number), insert the below string:
    {{mp|leading numbers and letters|subscript number (if applicable)}}
    For example, to create 2004 MN4, insert
    {{mp|2004 MN|4}}
  • To quickly format a minor planet known by a combination of a permanent catalogue number and a provisional designation, insert the below string
    {{mp|catalogue number|provisional designation's leading numbers and letters|provisional designation's subscript number (if applicable)}}
    For example, to create (15788) 1993 SB, insert
    {{mp|15788|1993 SB}}
    Or, to create (15760) 1992 QB1, insert
    {{mp|15760|1992 QB|1}}
    Note that similar results as the above can also be obtained by placing both the catalogue number (in parentheses) and the provisional designation in a single field. For example, (15760) 1992 QB1 can also be created by inserting
    {{mp|(15760) 1992 QB|1}}
  • The provisional designations for satellites of minor planets make reference to the primary (the "parent body"): either to the primary's permanent catalogue number, or to the primary's provisional designation, but never both. To quickly format the provisional designation of a satellite of a minor planet, insert the below string:
    {{mp|S|satellite's year of discovery|primary's catalogue number OR primary's provisional designation's leading numbers and letters|primary's provisional designation's subscript number (if applicable)|satellite's trailing number}}
    Note that the template functions with either four or five fields used; in the event there is no subscripted text to be included, one can use only four fields and the last field will be assumed to define the trailing number.
    For example, to create S/2000 (1998 WW31) 1, insert
    {{mp|S|2000|1998 WW|31|1}}
    Or, to create S/2005 (1994 XD) 1, insert
    {{mp|S|2005|1994 XD|1}}
    Or, to create S/2003 (11264) 1, insert
    {{mp|S|2003|11264|1}}

[edit] Template:mpl

To insert a link in the same way, use Template:mpl. It obeys the exact same input syntax as described above, but instead outputs wikilinks to the appropriate namespace.

For example, to create a wikilink to 2009 YE7, insert

{{mpl|2009 YE|7}}

Or, to create a wikilink to (15760) 1992 QB1, insert

{{mpl|15760|1992 QB|1}}

Note, as with Template:mp, that a similar output as the above can also be obtained by placing both the catalogue number (in parentheses) and the provisional designation in a single field. To use the above example again, (15760) 1992 QB1 can also be created by inserting

{{mpl|(15760) 1992 QB|1}}

Finally, to create a wikilink to S/2000 (1998 WW31) 1, insert

{{mpl|S|2000|1998 WW|31|1}}

[edit] Template:mpl-

Sometimes, you may wish to insert a wikilink to a minor planet with a permanent catalogue number while abridging the catalogue number from in-line display. For this purpose use Template:mpl- (mpl- [minus] for "minor planet link, abridged").

{{mpl-|catalogue number|provisional designation's leading numbers and letters|subscript number (if applicable)}}

To insert a wikilink to (15760) 1992 QB1 without showing the "(15760)" part (like so: 1992 QB1), insert:

{{mpl-|15760|1992 QB|1}}

[edit] Changelog

Urhixidur 14:04, 6 June 2006 (UTC)

[edit] Discussion

Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox