Wikipedia:WikiProject Opera/Category guidelines: Difference between revisions
Content deleted Content added
Voceditenore (talk | contribs) Further revision |
Voceditenore (talk | contribs) →Category sorting: revise for clarity |
||
Line 78:
==Category sorting==
To ensure that articles are listed in the correct order on their category pages, the {{tl|DEFAULTSORT}} tag needs to added at the beginning of the article's list of categories.
*The titles of articles are sorted omitting the definite or indefinite article such as "A", "The", "Le", "La", "Les", "Der", "Die", "Das", etc
*The default sort title should always start with a capital letter, as lower-case initial letters are filed after upper-case
▲The titles of articles are sorted omitting the definite or indefinite article such as "A", "The", "Le", "La", "Les", "Der", "Die", "Das", etc. This is done using a "Default sort" tag, which is placed before the categories. For example [[La naissance d'Osiris]] requires <nowiki>{{DEFAULTSORT:Naissance d'Osiris}}</nowiki>. That means that the opera will file under N and not under L, although the actual article title ("La naissance d'Osiris") will appear in the Category listing under N.
*People have to be sorted in the same way, e.g. <nowiki>{{DEFAULTSORT:Verdi, Giuseppe}}</nowiki>, otherwise Verdi will appear under
▲Two other points here: first, the default sort title should always start with a capital letter, as lower-case initial letters are filed after upper-case Z; second, if there's a special character or accent early in the title, the default sort title should not contain the special character/accent, for a similar reason. So, in the same category, if "Zéphire" isn't changed to "Zefire", it would file after "Zwerg".
▲People have to be sorted in the same way, e.g. <nowiki>{{DEFAULTSORT:Verdi, Giuseppe}}</nowiki>, otherwise Verdi will appear under 'G' rather than 'V'.
|