Template:WorkSorter: Difference between revisions
Jump to navigation
Jump to search
Documentation
(Spanish characters) |
(ordinals) |
||
Line 5: | Line 5: | ||
|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80 | |61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80 | ||
|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100 | |81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100 | ||
|1st|2nd|3rd|1º|2º|3º | |||
|the|a|an<!-- English --> | |the|a|an<!-- English --> | ||
|das|die|der|den|dem|ein|eine<!-- German --> | |das|die|der|den|dem|ein|eine<!-- German --> |
Latest revision as of 21:50, 2 December 2019
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 ein eine
- Italian articles: il la le l' i gli un uno una
- Portuguese articles: o a os as um uma
- Spanish articles: el la los las un uno una unos unas
- Spanish characters: ¡ ¿
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}}