साँचा:Asteroid table sorting/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
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)]}}
- {{ats/p|[Minor Planet Number]|[Year]|Letter designation|Subscript (if applicable)|[Format (optional)]}}
Four formats are supported:
- (number) name - {{ats|2110|Moore-Sitterly|1}} produces साँचा:ats (default)
- number name- {{ats|4765|Wasserburg|2}} produces साँचा:ats
- name - {{ats|10484|Hecht|3}} produces साँचा:ats
- number - {{ats|15107|Toepperwein|4}} produces साँचा:ats
For minor planets with provisional designations, use:
- {{ats/p|35144|1992|YE|1|1}} produces साँचा:ats/p
- {{ats/p|35144|1992|YE|1|5}} produces साँचा:ats/p
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:
- {{ats/p|163249|2002|GT||1}} produces साँचा:ats/p