Template:Transl/doc

Purpose
This template is intended to unify all "transliteration" templates, such as IAST and ISOtranslit. These templates are still usable, but they just transclude this one (e.g.  is a shortcut for  ; others like  have been deprecated in favor of  ).

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  should be equivalent to using , 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:  means that "al-Khwarizmi" is a transliteration from the Arabic in a loose or unspecified scheme.
 * two parameters, with ISO 15924 script code:  means that "MAQI" transliterates an Ogham inscription without specifying the language. Potentially useful when writing systems themselves are under discussion, e.g.  , not   or   when discussing the letter.


 * three parameters, with ISO 639 language code:  the second parameter specifies the scheme used (DIN vs. ALA).
 * three parameters, with ISO 15924 script code:  for.

Examples
code: result:
 * al-Khwarizmi / DIN 31635: al-Ḫawārizmī / ISO 233: al-H̱awārizmī / ALA: al-Khawārizmī
 * RTGS: phasa thai / ISO 11940: p̣hās̄ʹāthịy
 * EME.GIR15 / ne-ši-li

ISO:
 * русский :  russkij
 * Аҧсуа : aṗsua
 * عربي :  ʿarabī
 * ISO has huge issues transliterating alif, so it's better to use the Library of Congress transliteration, the German Institute for Standardization or Hans Wehr transliteration; see Arabic transliteration
 * தமிழ் : tamiḻ
 * বাংলা : baṅla
 * ελληνικά : ellēniká
 * ქართული  : k'art'uli
 * 漢語拼音 : hànyǔ pīnyīn
 * ภาษาไทย : p̣hās̄ʹāthịy