90,866
edits
Sergiordaudt (talk | contribs) No edit summary |
(→Sort order: add {{note}} and link to wikipedia articles) |
||
Line 44: | Line 44: | ||
== Sort order == | == Sort order == | ||
{{note|When naming categories avoid using punctuation and other special characters. This section is about sorting categories}} | |||
The system uses | The system uses {{w|Help:Alphabetical order|pseudo-alphabetical order}}, or more precisely {{w|Unicode}} order, for pages in categories. The range 32–127 corresponds to {{w|ASCII}}: | ||
<div align="center"><pre> !"#$%&'()*+,-./0123456789:;<=>? | <div align="center"><pre> !"#$%&'()*+,-./0123456789:;<=>? | ||
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ | ||
`abcdefghijklmnopqrstuvwxyz{|}~</pre></div> | `abcdefghijklmnopqrstuvwxyz{|}~</pre></div> | ||
"Z" comes before "a", and "z" comes before characters with | "Z" comes before "a", and "z" comes before characters with {{w|Diacritic|Diacritics}}. | ||
Unlike at [[Special:Allpages]] and [[Special:Prefixindex]], a space is treated as a space (coming before all other characters), not as an underscore. | Unlike at [[Special:Allpages]] and [[Special:Prefixindex]], a space is treated as a space (coming before all other characters), not as an underscore. | ||
Line 71: | Line 72: | ||
<tt><nowiki>{{DEFAULTSORT:new key}}</nowiki></tt> | <tt><nowiki>{{DEFAULTSORT:new key}}</nowiki></tt> | ||
In the case of multiple default sort key tags, the last one on a page applies for all categories, regardless of the position of the category tags. This also means that a DEFAULTSORT tag in a template, intended for category tags in that template, for categorization of pages calling the template, is not effective if another DEFAULTSORT tag occurs later on these pages, even if it is also "hidden", in another template. | In the case of multiple default sort key tags, the last one on a page applies for all categories, regardless of the position of the category tags. This also means that a DEFAULTSORT tag in a template, intended for category tags in that template, for categorization of pages calling the template, is not effective if another DEFAULTSORT tag occurs later on these pages, even if it is also "hidden", in another template. | ||
== Hiding categories == | == Hiding categories == |
edits