create
|
→Usage: move from talk page
|
||
Line 3: | Line 3: | ||
=== Usage === |
=== Usage === |
||
This template (mp for "minor planet") easily formats [[provisional designation]]s of [[minor planet]]s. It avoids [[Unicode]] complexities in article titles while still rendering subscripts. |
|||
====Template:Mp==== |
|||
To quickly format a minor planet known by a provisional designation, insert the below string: |
|||
'''<nowiki>{{mp|leading numbers and letters|subscript number}}</nowiki>''' |
|||
For example, to create {{mp|(15760) 1992 QB|1}}, insert |
|||
'''<nowiki>{{mp|(15760) 1992 QB|1}}</nowiki>''' |
|||
Or, to create {{mp|2004 MN|4}}, insert |
|||
'''<nowiki>{{mp|2004 MN|4}}</nowiki>''' |
|||
====Template:Mpl==== |
|||
To insert a link in the same way, use [[Template:mpl]]. |
|||
To insert a wikilink to {{mp|(15760) 1992 QB|1}} without showing the "(15760)" part (like so: {{mpl-|15760|1992 QB|1}}), insert: |
|||
'''<nowiki>{{mpl-|15760|1992 QB|1}}</nowiki>''' |
|||
====Template:Mpm==== |
|||
To insert a wikilink to a minor planet's moon (where the minor planet is known by a provisional designation), insert the below string: |
|||
'''<nowiki>{{mpm|leading numbers and letters|subscript number|trailing letters and numbers}}</nowiki>''' |
|||
For example, to create {{mpm|S/2000 (1998 WW|31|) 1}}, insert |
|||
'''<nowiki>{{mpm|S/2000 (1998 WW|31|) 1}}</nowiki>''' |
|||
To insert the name of a minor planet's moon (where the minor planet is known by a provisional designation), insert the below string: |
|||
'''<nowiki>{{mpm-|leading numbers and letters|subscript number|trailing letters and numbers}}</nowiki>''' |
|||
For example, to create {{mpm-|S/2000 (1998 WW|31|) 1}}, insert |
|||
'''<nowiki>{{mpm-|S/2000 (1998 WW|31|) 1}}</nowiki>''' |
|||
<includeonly> |
<includeonly> |
![]() | This is a documentation subpage for Template:Minor planet. It may contain usage information, categories and other content that is not part of the original template page. |
This template (mp for "minor planet") easily formats provisional designationsofminor planets. It avoids Unicode complexities in article titles while still rendering subscripts.
To quickly format a minor planet known by a provisional designation, insert the below string:
{{mp|leading numbers and letters|subscript number}}
For example, to create (15760) 1992 QB1, insert
{{mp|(15760) 1992 QB|1}}
Or, to create 2004 MN4, insert
{{mp|2004 MN|4}}
To insert a link in the same way, use Template:mpl.
To insert a wikilink to (15760) 1992 QB1 without showing the "(15760)" part (like so: 1992 QB1), insert:
{{mpl-|15760|1992 QB|1}}
To insert a wikilink to a minor planet's moon (where the minor planet is known by a provisional designation), insert the below string:
{{mpm|leading numbers and letters|subscript number|trailing letters and numbers}}
For example, to create S/2000 (1998 WW31) 1, insert
{{mpm|S/2000 (1998 WW|31|) 1}}
To insert the name of a minor planet's moon (where the minor planet is known by a provisional designation), insert the below string:
{{mpm-|leading numbers and letters|subscript number|trailing letters and numbers}}
For example, to create S/2000 (1998 WW31) 1, insert
{{mpm-|S/2000 (1998 WW|31|) 1}}