Template:Remove accents/sandbox
This is the template sandbox page for Template:Remove accents (diff). See also the companion subpage for test cases. |
This template is used on approximately 8,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
[edit]This template is designed to remove accents from text: as such it, or its Lua method, may be used with subst.
Example | Output |
---|---|
{{Remove accents|Á À Â Ä Ǎ Ă Ā Ã Å Ą}} |
A A A A A A A A A A |
{{Remove accents|á à â ä ǎ ă ā ã å ą ắ ă ằ ắ ẳ ẵ ặ â ầ ẩ ẫ ấ ậ}} |
a a a a a a a a a a a a a a a a a a a a a a a |
{{Remove accents|Ć Ċ Ĉ Č Ç}} |
C C C C C |
{{Remove accents|ć ċ ĉ č ç}} |
c c c c c |
{{Remove accents|Ď Đ Ḍ Ð Ḑ}} |
D D D D D |
{{Remove accents|ď đ ḍ ð ḑ}} |
d d d d d |
{{Remove accents|É È Ė Ê Ë Ě Ĕ Ē Ẽ Ę Ẹ Ɛ Ǝ Ə Ề Ể Ễ Ế Ệ}} |
E E E E E E E E E E E E E E E E E E E |
{{Remove accents|é è ė ê ë ě ĕ ē ẽ ę ẹ ɛ ǝ ə ề ể ễ ế ệ}} |
e e e e e e e e e e e e e e e e e e e |
{{Remove accents|Ġ Ĝ Ğ Ģ}} |
G G G G |
{{Remove accents|ġ ĝ ğ ģ}} |
g g g g |
{{Remove accents|Ĥ Ħ Ḥ}} |
H H H |
{{Remove accents|ĥ ħ ḥ ḩ}} |
h h h h |
{{Remove accents|İ Í Ì Î Ï Ǐ Ĭ Ī Ĩ Į Ị}} |
I I I I I I I I I I I |
{{Remove accents|ı í ì î ï ǐ ĭ ī ĩ į ị}} |
i i i i i i i i i i i |
{{Remove accents|Ĵ}} |
J |
{{Remove accents|ĵ}} |
j |
{{Remove accents|Ķ}} |
K |
{{Remove accents|ķ}} |
k |
{{Remove accents|Ĺ Ŀ Ľ Ļ Ł Ḷ Ḹ}} |
L L L L L L L |
{{Remove accents|ĺ ŀ ľ ļ ł ḷ ḹ}} |
l l l l l l l |
{{Remove accents|Ṃ}} |
M |
{{Remove accents|ṃ}} |
m |
{{Remove accents|Ń Ň Ñ Ņ Ṇ Ŋ}} |
N N N N N N |
{{Remove accents|ń ň ñ ņ ṇ ŋ}} |
n n n n n n |
{{Remove accents|Ó Ò Ô Ö Ǒ Ŏ Ō Õ Ǫ Ọ Ő Ø Ɔ}} |
O O O O O O O O O O O O O |
{{Remove accents|ó ò ô ö ǒ ŏ ō õ ǫ ọ ő ø ɔ ơ ồ}} |
o o o o o o o o o o o o o o o |
{{Remove accents|Ŕ Ř Ŗ Ṛ Ṝ}} |
R R R R R |
{{Remove accents|ŕ ř ŗ ṛ ṝ}} |
r r r r r |
{{Remove accents|Ś Ŝ Š Ş Ș Ṣ}} |
S S S S S S |
{{Remove accents|ś ŝ š ş ș ṣ}} |
s s s s s s |
{{Remove accents|Ť Ţ Ț Ṭ}} |
T T T T |
{{Remove accents|ť ţ ț ṭ}} |
t t t t |
{{Remove accents|Ú Ù Û Ü Ǔ Ŭ Ū Ũ Ů Ų Ụ Ű Ǘ Ǜ Ǚ Ǖ}} |
U U U U U U U U U U U U U U U U |
{{Remove accents|ú ù û ü ǔ ŭ ū ũ ů ų ụ ű ǘ ǜ ǚ ǖ}} |
u u u u u u u u u u u u u u u u |
{{Remove accents|Ŵ}} |
W |
{{Remove accents|ŵ}} |
w |
{{Remove accents|Ý Ŷ Ÿ Ỹ Ȳ}} |
Y Y Y Y Y |
{{Remove accents|ý ŷ ÿ ỹ ȳ}} |
y y y y y |
{{Remove accents|Ź Ż Ž}} |
Z Z Z |
{{Remove accents|ź ż ž}} |
z z z |
{{Remove accents|Æ Ǣ Ǽ}} |
Ae Ae Ae |
{{Remove accents|æ ǣ ǽ}} |
ae ae ae |
{{Remove accents|Œ}} |
Oe |
{{Remove accents|œ}} |
oe |
{{Remove accents|ß}} |
ss |
{{Remove accents|Þ}} |
Th |
{{Remove accents|þ}} |
th |
Examples
[edit]Example | Output |
---|---|
{{Remove accents|Curaçao}} |
Curacao |
{{Remove accents|débâcle}} |
debacle |
{{Remove accents|króna}} |
krona |
{{Remove accents|maître d'hôtel}} |
maitre d'hotel |
{{Remove accents|papier-mâché}} |
papier-mache |
{{Remove accents|smörgåsbord}} |
smorgasbord |
{{Remove accents|tête-à-tête}} |
tete-a-tete |
{{Remove accents|tænia}} |
taenia |
{{Remove accents|Œdipe à Colone}} |
Oedipe a Colone |
{{Remove accents|grüßen}} |
grussen |
{{Remove accents|Þórkell Þórmóðarson}} |
Thorkell Thormodarson |