Difference between revisions of "Template:Dotbelow"
bla>Marcocapelle (more specific categorisation) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 11:15, 2 December 2020
Returns the "dot below" form of a letter. given the plain (unmodified) Latin letter, upper or lower case. See Dot (diacritic) for details. This template can be transcluded (e.g.: Template:Tlx) or substituted (e.g.: Template:Tlsx). Returns the HTML entity encoding if the "h" parameter is used. E.g.: Template:Tlsx leaves "Ṃ" in the Wikitext, which is displayed as "Ṃ". (Except for X and x, which apparently do not have HTML entity codes.)
Specify "*" to return a list of dot-below letters:
- Template:Tlx → {{safesubst:#switch: *
|A=Ạ|a=ạ |B=Ḅ|b=ḅ |D=Ḍ|d=ḍ |E=Ẹ|e=ẹ |H=Ḥ|h=ḥ |I=Ị|i=ị |K=Ḳ|k=ḳ |L=Ḷ|l=ḷ |M=Ṃ|m=ṃ |N=Ṇ|n=ṇ |O=Ọ|o=ọ |R=Ṛ|r=ṛ |S=Ṣ|s=ṣ |T=Ṭ|t=ṭ |U=Ụ|u=ụ |V=Ṿ|v=ṿ |W=Ẉ|w=ẉ |X=X̣|x=x̣ |Y=Ỵ|y=ỵ |Z=Ẓ|z=ẓ |*= Ạạ Ḅḅ Ḍḍ Ẹẹ Ḥḥ Ị ị Ḳḳ Ḷḷ Ṃṃ Ṇṇ Ọọ Ṛṛ Ṣṣ Ṭṭ Ụụ Ṿṿ Ẉẉ X̣x̣ Ỵỵ Ẓẓ }}{{safesubst:#switch: {{{h}}} |A=Ạ|a=ạ |B=Ḅ|b=ḅ |D=Ḍ|d=ḍ |E=Ẹ|e=ẹ |H=Ḥ|h=ḥ |I=Ị|i=ị |K=Ḳ|k=ḳ |L=Ḷ|l=ḷ |M=Ṃ|m=ṃ |N=Ṇ|n=ṇ |O=Ṩ|o=ṩ |R=Ṛ|r=ṛ |S=Ṣ|s=ṣ |T=Ṭ|t=ṭ |U=Ụ|u=ụ |V=Ṿ|v=ṿ |W=Ẉ|w=ẉ |X=?|x=? |Y=Ỵ|y=ỵ |Z=Ẓ|z=ẓ
- default=
}}
Intended to replace single-character templates that return only that letter, and only in a single case. For other characters with diacritics use {{H:lat}}.
Test cases: template:dotbelow/testcases