模板:Transl
{{{2}}}
package.lua第80行Lua错误:module 'Module:Transclusion_count/data/T' not found
目的
[编辑]本模版的存在目的,在于统合先前的各个转写模版,例如:{{IAST}}、{{ISOtranslit}}、{{ArabDIN}}
等。这些模版仍然可以使用,但已被本模版所包含。例如:{{IAST|saṃskṛtam}}
可被{{transl|sa|IAST|saṃskṛtam}}
替代,又或{{ArabDIN|...}}
可被{{transl|ar|DIN|...}}
替代。
The transliteration is marked as belonging in the "latinx" class of MediaWiki:Common.css (note, this renders obsolete the "IAST" class formerly used by {{IAST}}).
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.
Usage
[编辑]There are two ways of using this template: with or without specifying the transliteration scheme used:
- two parameters, with ISO 639 language code:
{{transl|ar|al-Khwarizmi}}
means that "al-Khwarizmi" is a transliteration from the Arabic in a loose or unspecified scheme. - two parameters, with ISO 15924 script code:
{{transl|Ogam|MAQI}}
means that "MAQI" transliterates an Ogham inscription without specifying the language. Potentially useful when writing systems themselves are under discussion, e.g.{{transl|Cyrl|š}}
, not{{transl|cu|š}}
or{{transl|ru|š}}
when discussing the letter Template:Script.
- three parameters, with ISO 639 language code:
{{transl|ar|DIN|al-Ḫuwārizmī}} / {{transl|ar|ALA|al-Khwārizmī}}
the second parameter specifies the scheme used (DIN vs. ALA). - three parameters, with ISO 15924 script code:
{{transl|Arab|DIN|Ḫ}} vs {{transl|Arab|ALA|Kh}}
for Template:Script.
例子
[编辑]- 花拉子密:DIN 31635: al-Ḫuwārizmī / ISO 233: al-H̱uwārizmī / ALA: al-Khwārizmī
- RTGST: phasa thai / ISO 11940: p̣hās̄ʹāthịy
- Template:Cuneiform EME.GIR15 / Template:Cuneiform ne-ši-li
ISO:
- русский
{{transl|ru|ISO|russkij}}
: russkij - Аҧсуа
{{transl|ab|ISO|aṗsua}}
: aṗsua - عربي
{{transl|ar|ISO|ʿarabī}}
: ʿarabī - தமிழ்
{{transl|ta|ISO|tamiḻ}}
: tamiḻ - বাংলা
{{transl|bn|ISO|baṅla}}
: baṅla - ελληνικά
{{transl|el|ISO|ellēniká}}
: ellēniká - ქართული
{{transl|ka|ISO|k'art'uli}}
: k'art'uli - 汉语拼音
{{transl|zh|ISO|hànyǔ pīnyīn}}
: hànyǔ pīnyīn; compare:{{lang|pny|hànyǔ pīnyīn}}
: hànyǔ pīnyīn - ภาษาไทย
{{transl|th|ISO|p̣hās̄ʹāthịy}}
: p̣hās̄ʹāthịy
See also
[编辑]- {{lang}}
- {{latinx}}
- {{script}}
- Romanization
- List of ISO transliterations
上述文档嵌入自Template:Transl/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。 本模板的子页面。 |