![]() | This template should always be substituted (i.e., use {{subst:User:Swpb/surname-sort}}). |
This template attempts to determine the surname of a given person, including any prefixes, and use it as a sort key, so that tables containing people can easily be set up to be sorted by surname.
Warning!
editThis template uses pattern matching to identify surnames, and it will not identify all surnames properly. It is your responsibility to check that the output is properly alphabetized!
Examples
editone
→ one