Difference between revisions of "Template:DEFAULTSORT/doc"
Jump to navigation
Jump to search
imported>ساجد امجد ساجد |
imported>Beland (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).) |
||
| Line 5: | Line 5: | ||
'''<nowiki>{{DEFAULTSORT:<sort key>}}</nowiki>''' is a [[Help:Magic words|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. | '''<nowiki>{{DEFAULTSORT:<sort key>}}</nowiki>''' is a [[Help:Magic words|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== | ==To understand DEFAULTSORT read the following== | ||
Revision as of 20:52, 9 March 2013
| 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