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 or are redirected back to. For example, (e.g.  is a shortcut for  ; others like ArabDIN are handled natively by this template:  ).

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.

To suppress the default italicization of Latin scripts, add no. This parameter is useful for proper nouns, for example.

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

CSS
In order to apply a style to all text marked as transliteration, use a CSS selector that chooses all text with  in the title attribute (tooltip). For instance, if you add the following to your common.css, all transliterations will be colored :