Template:Mp/doc
This is a documentation subpage for Template:Mp. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Usage
[सम्पादन]This template (mp for "minor planet") easily formats provisional designations of minor planets. 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:
{{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}}
Template:Mpl & Template:Mpl-
[सम्पादन]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}}
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:
{{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}}
Template:Mpm-
[सम्पादन]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}}