Difference between revisions of "Template:StripAccents"

From ChoralWiki
Jump to navigation Jump to search
(Multireplace -> replaceset)
m (Text replacement - "Category\:(.*) templates\]\]" to "Category:DPL templates]] Category:$1 templates")
 
Line 9: Line 9:
 
It is meant to be used in conjunction with template [[template:NameSorter|NameSorter]] in order to generate appropriate sort keys.
 
It is meant to be used in conjunction with template [[template:NameSorter|NameSorter]] in order to generate appropriate sort keys.
 
}}
 
}}
 +
[[Category:DPL templates]]
 
[[Category:Text formatting templates]]
 
[[Category:Text formatting templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:20, 5 January 2020

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.