සැකිල්ල:Minor planet link abridged
[[({{{1}}}) {{{2}}}|{{{2}}}]]
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 සැකිල්ල:Mpm, 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}}