Template:Asteroid table sorting/doc

This template simplifies the inclusion of asteroids and minor planets in sortable tables. The template adds a sort key, and displays the asteroid name and/or number in a specified format.

Usage


Four formats are supported:
 * 1) (number) name -  produces  (default)
 * 2) number name-  produces
 * 3) name -  produces
 * 4) number -  produces

For minor planets with provisional designations, use:
 * 1)  produces
 * 2)  produces

Formats 5, 6 and 7 produce the same output as 1, 2 and 3, but without the subscript

If the asteroid's designation does not include a subscript, leave that field blank:
 * 1)  produces