Loading AI tools
维基媒体模板 来自维基百科,自由的百科全书
{{{2}}}
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
源语言或源语文 | 1 | 原文语言(ISO 639语言代码)或原文语文(ISO 15924书写系统代码) | 字符串 | 必需 |
转写方案 | 2 | 无描述 | 字符串 | 可选 |
转写后的文本 | 3 | 无描述 | 字符串 | 必需 |
此模板被引用于约20,000个页面。 为了避免造成大规模的影响,所有对此模板的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
本模版的存在目的,在于统合先前的各个转写模版,例如:{{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.
该模板有两种使用方法:指定或不指定具体的转写方案:
{{transl|ar|al-Khwarizmi}}
表示“al-Khwarizmi”是阿拉伯文一种宽泛或不特定转写方案的转写{{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 Ш.{{transl|ar|DIN|al-Ḫuwārizmī}} / {{transl|ar|ALA|al-Khwārizmī}}
,第二个参数指定使用的转写方案(DIN/ALA){{transl|Arab|DIN|Ḫ}} vs {{transl|Arab|ALA|Kh}}
,转写阿拉伯字母ﺥ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ịyTemplate:ISO 15924/footer
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.