Thực đơn
Bản_mẫu:Transl{{IAST|saṃskṛtam}}
is a shortcut for {{transl|sa|IAST|saṃskṛtam}}
; others like ArabDIN are handled natively by this template: {{transl|ar|DIN|...}}
).This template is kept separate from {{lang}} to address formatting issues (via css classes) and identification of transliteration schemes used. Ultimately, if these concerns are smartly addressed in the css file and/or in {{lang}}, using {{transl|xx|...}}
should be equivalent to using {{lang|xx-Latn|...}}
, viz. stating that the string is a Romanization by adding "-Latn" to the language code.[cần giải thích]There are two ways of using this template: with or without specifying the transliteration scheme used:To suppress the default italicization of Latin scripts, add |italic=no
. This parameter is useful for proper nouns, for example.code:result:ISO:In order to apply a style to all text marked as transliteration, use a CSS selector that chooses all text with transliteration
in the title attribute (tooltip). For instance, if you add the following to your common.css, all transliterations will be colored teal:Thực đơn
Bản_mẫu:TranslLiên quan
Tài liệu tham khảo
WikiPedia: Bản_mẫu:Transl