Jump to content

Template:Transliteration/testcases

From Wikipedia, the free encyclopedia

lang-xx

[edit]

because {{langx}} templates share code in Module:Lang with {{transl}}, it seems appropriate that both should be tested here because they are slightly different; fixes to one must not break the other.

compare langx/sandbox to transl/sandbox
langx/sandbox transl/sandbox
code result code result
{{langx/sandbox|ar|نص العنصر النائب|nasu aleunsur alnnayib}} Arabic: نص العنصر النائب, romanizednasu aleunsur alnnayib {{transl/sandbox|ar|nasu aleunsur alnnayib}} nasu aleunsur alnnayib
[[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
{{langx/sandbox|ar|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN}} Arabic: نص العنصر النائب, romanizednasu aleunsur alnnayib {{transl/sandbox|ar|DIN|nasu aleunsur alnnayib}} nasu aleunsur alnnayib
[[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="DIN 31635 Arabic (Arabic language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
{{langx/sandbox|ar|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=ALA}} Arabic: نص العنصر النائب, romanizednasu aleunsur alnnayib {{transl/sandbox|ar|ALA|nasu aleunsur alnnayib}} nasu aleunsur alnnayib
[[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="American Library Association – Library of Congress transliteration"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
{{langx/sandbox|ar|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=DIN|translit-script=arab}} Arabic: نص العنصر النائب, romanizednasu aleunsur alnnayib {{transl/sandbox|Arab|DIN|nasu aleunsur alnnayib}} nasu aleunsur alnnayib
[[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic script) transliteration"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="DIN 31635 Arabic (Arabic script) transliteration"><span>nasu aleunsur alnnayib</span></span>