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:mpl-  
















Template:Minor planet/doc







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
   

 






From Wikipedia, the free encyclopedia
 

< Template:Minor planet

This is an old revision of this page, as edited by 80.181.181.204 (talk)at14:31, 19 June 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff)  Previous revision | Latest revision (diff) | Newer revision  (diff)

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 exactly the 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 [ ( ) ].

Template:mp

Template:mpl

To insert a link in the same way, use Template:mpl. It obeys exactly the 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}}

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

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

Hidden category: 
Template documentation pages
 



This page was last edited on 19 June 2016, at 14:31 (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