Difference between revisions of "Template:StripAccents"

From ChoralWiki
Jump to navigation Jump to search
(template to strip all diacriticals from a name (still unfinished))
 
(documentation)
Line 1: Line 1:
{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{1}}}|à|a}}|á|a}}|ä|a}}|ã|a}}|â|a}}
+
<includeonly>{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{1}}}|à|a}}|á|a}}|ä|a}}|ã|a}}|â|a}}</includeonly><noinclude>
 +
{{DisplayBox|bgcolor=g|text=
 +
Removes all diacritics from a text or name:
 +
'''Usage:'''
 +
* <tt><nowiki>{{StripAccents|Antonio Cebrián}}</nowiki></tt> returns
 +
{{StripAccents|Antonio Cebrián}}
 +
}}
 +
[[Category:Templates|{{PAGENAME}}]]
 +
</noinclude>

Revision as of 20:21, 12 May 2009


Removes all diacritics from a text or name: Usage:

  • {{StripAccents|Antonio Cebrián}} returns

Antonio Cebrian