• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

User:Swpb/surname-sort

  • User page
  • Talk
  • Language
  • Watch
  • Edit
< User:Swpb
Documentation[view] [edit] [history] [purge]
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!

edit

This 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

edit
  • one → one
The above documentation is transcluded from User:Swpb/surname-sort/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.
Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Swpb/surname-sort&oldid=858028347"
Last edited on 4 September 2018, at 16:23

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 4 September 2018, at 16:23 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop