Template:DEFAULTSORT/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:DEFAULTSORT (see that page for the template itself).
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.

See also: