Template:WorkSorter
Jump to navigation
Jump to search
This template removes numerals, most definite and some indefinite articles from the beginning of a work title:
- Numerals from 1 to 100
- Dutch articles: de het een
- English articles: the a an
- French articles: la le l' les un ung une un'
- German articles: das die der den dem
- Italian articles: il lo la l' i gli le
- Portuguese articles: o a os as
- Spanish articles: lo la los las
Syntax:
- {{WorkSorter}}
returns the contents of {{PAGENAME}} after processing it.
Syntax with an optional parameter:
- {{WorkSorter|Ung jour viendra (Nicolas Gombert)}}
returns "Jour viendra (Nicolas Gombert)"
This template can be used as a parameter for the magic word DEFAULTSORT in works pages, to produce an appropriate sort key.
- {{DEFAULTSORT:{{WorkSorter}}}}
See also
- {{NameSorter}}