Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Template:Mp  





1.2  Template:Mpl  





1.3  Template:Mpm  
















Template:Minor planet/doc: Difference between revisions







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Printable version
 
















Appearance
   

 





Help
 

From Wikipedia, the free encyclopedia
 

< Template:Minor planet

Browse history interactively
Next edit 
Content deleted Content added
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>


Revision as of 13:06, 17 September 2009

Usage

This template (mp for "minor planet") easily formats provisional designationsofminor 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

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}}

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}}



Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Minor_planet/doc&oldid=314522638"

Hidden category: 
Template documentation pages
 



This page was last edited on 17 September 2009, at 13:06 (UTC).

This version of the page has been revised. Besides normal editing, the reason for revision may have been that this version contains factual inaccuracies, vandalism, or material not compatible with the Creative Commons Attribution-ShareAlike License.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki