Template:TitleSort: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m (Changed protection level for "Template:TitleSort": removing cascading protection since it didn't achieve objectives ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{DEFAULTSORT:{{ArticleStrip|{{PAGENAME}}}}}}</includeonly><noinclude>[[Category:Coding utility templates]]{{documentation}}<noinclude> | <includeonly>{{DEFAULTSORT:{{ArticleStrip|{{PAGENAME}}}}}}</includeonly><noinclude>[[Category:Coding utility templates]]{{documentation}}{{lock}}</noinclude> |
Latest revision as of 19:14, 3 April 2011
Instructions for {{TitleSort}}
TitleSort automatically sorts title pages properly, stripping them of the articles, a, an and the. To use, simply place {{TitleSort}} at the bottom of the page. It needs to be at the very bottom of the page so that it's not flummoxed by any intervening instances of DEFAULTSORT. This template does nothing on page titles that don't start with an article, so it's just as well to put this on every page.
Forum discussion
For more information, please consult this forum thread.
Other templates like this one
This template autosorts story titles. You may want a template which autosorts names of people, so that they list in categories according to their surnames. This can be found at {{NameSort}}.