Template:Asteroid table sorting/doc

From blackwiki
< Template:Asteroid table sorting
Revision as of 14:19, 18 April 2013 by blackwiki>WDGraham (doc page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  • {{ats|[Minor Planet Number]|[Name]|[Format (optional)]}}

Four formats are supported:

  1. (number) name - {{ats|2110|Moore-Sitterly|1}} produces (2110) Moore-Sitterly (default)
  2. number name- {{ats|4765|Wasserburg|2}} produces 4765 Wasserburg
  3. name - {{ats|10484|Hecht|3}} produces Hecht
  4. number - {{ats|15107|Toepperwein|4}} produces 15107