Template:DEFAULTSORT/doc
< Template:DEFAULTSORT
Jump to navigation
Jump to search
Revision as of 18:13, 27 March 2013 by imported>DixonDBot (Migrating 7 interwiki links, now provided by Wikidata on d:Q6153098)
| 40px | This is a documentation subpage for Template:DEFAULTSORT. It contains usage information, categories and other content that is not part of the original template page. |
| Caution | Please use {{DEFAULTSORT:Sortkey}} rather than {{DEFAULTSORT|Sortkey}}, with a colon (":"), not a pipe symbol ("|"). This uses the magic word directly instead of using the template to call the magic word. |
{{DEFAULTSORT:<sort key>}} is a magic word used to apply a sort key to many categories at once. It can be overridden for individual categories applied to an article by manually applying a sort key.
It it not necessary to use DEFAULTSORT at all if the article or page should be alphabetized according to its title (true for most articles).
To understand DEFAULTSORT read the following