Template:StripAccents

From ChoralWiki
Revision as of 04:20, 5 January 2020 by BarryJ (talk | contribs) (Text replacement - "Category\:(.*) templates\]\]" to "Category:DPL templates]] Category:$1 templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Removes all diacritics from a text or name

Usage:

  • {{StripAccents|Antonín Dvořák}} returns "Antonin Dvorak "
  • {{StripAccents|Gegrüßet, Maria}} returns "Gegrusset, Maria " (not "Gegruesset", for proper sorting)

It is meant to be used in conjunction with template NameSorter in order to generate appropriate sort keys.