Template:Transliteration: Difference between revisions
No edit summary |
|||
Line 105: | Line 105: | ||
==See also== |
==See also== |
||
*{{tl|lang}} |
*{{tl|lang}} |
||
*{{tl|latinx}} |
|||
[[Category:Multilingual support templates|{{PAGENAME}}]] |
[[Category:Multilingual support templates|{{PAGENAME}}]] |
Revision as of 13:05, 15 April 2007
{{{2}}}
Usage
This template is intended to unify all "transliteration" templates (like {{IAST}}, {{ISOtranslit}}, {{ArabDIN}}
. These templates are still usable, but they just transclude this one (e.g. {{IAST|saṃskṛtam}}
is a shortcut for {{transl|sa|IAST|saṃskṛtam}}
).
At present, this template is explicitly aware of individual css classes:
pending a smarter solution in MediaWiki:Common.css.
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.
There are two ways of using this template: with or without specifying the transliteration scheme used:
- two parameters:
{{transl|ar|al-Khwarizmi}}
means that "al-Khwarizmi" is a transliteration from the Arabic in a loose or unspecified scheme. - three parameters:
{{transl|ar|DIN|al-Ḫuwārizmī}} / {{transl|ar|ALA|al-Khwārizmī}}
the second parameter specifies the scheme used (DIN vs. ALA).{{transl|ar|ISO|...}}
is equivalent to{{ISOtranslit|...|ar}}
, and{{transl|ar|DIN|...}}
to{{ArabDIN|...}}
.
Examples
- al-Khwarizmi / 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
ISO:
- [[[Russian language|русский]]] Error: {{Lang}}: missing language tag (help)
{{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