Tɛmplet:Transliteration

Template documentation[view] [edit] [history] [purge]

This template is used to mark up text transliterated or romanised from a non-Latin alphabet script to Latin alphabet script.

This template should only be used for the transliterations of non-Latin scripts; for non-English language text displayed in its native script (such as Greek, Cyrillic and Arabic), {{lang}} should be used, which tags non-transliterated text (written in original script). Transliteration is often used alongside that template, to allow non-readers of the script to interpret the text.

This template adds a tooltip label naming the transliteration scheme, and renders text in italics by default. This template is important for MOS:ACCESSIBILITY, as it invisibly tags text with the correct language, allowing for screenreaders to use the correct style of pronunciation.

It also displays text in an appropriate font; romanisations marked up in {{lang}} may display in fonts designed for that language's native text, whereas the transl template displays text in the same font as the rest of the article.

Some languages, such as Chinese, have more than one style of transliteration (such as Wade–Giles, pinyin, etc). This template can be used for these different transliteration schemes, though Wikipedia has a number of language-specific templates, some of which support more than one transliteration styles in their parameters, that may be better suited for marking up transliterations.

The following code tags a Ukrainian name and its transliteration according to the Ukrainian National scheme.

Markup Renders as
{{lang|uk|Ярослав Рудницький}} ({{transliteration|uk|ukrainian|Yaroslav Rudnytskyi}})

Ярослав Рудницький (Yaroslav Rudnytskyi)

Rationale

mali niŋ

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 {{transl}}. For example, (e.g. {{IAST|saṃskṛtam}} is a shortcut for {{transliteration|sa|IAST|saṃskṛtam}}. Other transliteration templates that once existed, such as {{ArabDIN}}, are now handled natively by this template: {{transliteration|ar|DIN|...}}).

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 {{transliteration|xx|...}} should be equivalent to using {{lang|xx-Latn|...}}.

There are two ways of using this template: with or without specifying the transliteration scheme used:

  • two parameters, with ISO 639 language code: {{transliteration|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: {{transliteration|Ogam|MAQI}} means that "MAQI" transliterates an Ogham inscription without specifying the language. Potentially useful when writing systems themselves are under discussion, e.g. {{transliteration|Cyrl|š}}, not {{transliteration|cu|š}} or {{transliteration|ru|š}} when discussing the letter Tɛmplet:Script.
  • three parameters, with ISO 639 language code: {{transliteration|ar|DIN|al-Ḫawārizmī}} / {{transliteration|ar|ALA|al-Khawārizmī}} the second parameter specifies the scheme used (DIN vs. ALA).
  • three parameters, with ISO 15924 script code: {{transliteration|Arab|DIN|Ḫ}} vs {{transliteration|Arab|ALA|Kh}} for Tɛmplet:Script.

|italic=no can be added to suppress the default italicization of Latin scripts; however, proper nouns – the names of people and places – are typically not italicized, and as such, generally do not require the use of a transliteration template. Note that there is no need to add italic markup ('') to transliteration templates.

Note: the language code is ISO 639 or IETF private-use tag (see Template:Lang#Private-use language tags); other forms of IETF BCP 47 language tags are not supported.

Transliteration scheme codes

mali niŋ

Codes for supported transliteration schemes can be seen by viewing the source of Module:Lang/data – the translit_title_table data-structure lists for each such code the corresponding transliteration schemes. These may vary by language – e.g. code "ISO" means scheme ISO 233 for Arabic but ISO 11940 for Thai.

Examples

mali niŋ

Inputting:

  • {{transliteration|ar|[[al-Khwarizmi]]}} / [[DIN 31635]]: {{transliteration|ar|DIN|al-Ḫawārizmī}} / [[ISO 233]]: {{transliteration|ar|ISO|al-H̱awārizmī}} / [[ALA-LC Romanization|ALA]]: {{transliteration|ar|ALA|al-Khawārizmī}}
  • [[Royal Thai General System of Transcription|RTGS]]: {{transliteration|th|phasa thai}} / [[ISO 11940]]: {{transliteration|th|ISO|p̣hās̄ʹāthịy}}
  • {{cuneiform|[[Sumerian language|𒅴𒂠]]}} {{transliteration|sux|EME.GIR<sub>15</sub>}} / {{cuneiform|6|[[Hittite language|𒉈𒅆𒇷]]}} {{transliteration|hit|ne-ši-li}}

Results in:

ISO:

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

[title~=transliteration] { color: teal; }

Tracking category

mali niŋ

TemplateData

mali niŋ
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Transliteration

Marks a text span transliterated from a particular language or writing system, and, optionally, according to a specific transliteration system.

Template parameters

ParameterDescriptionTypeStatus
Language or script code1

ISO 639 language code (e.g., uk) or ISO 15924 script code (e.g., Cyrl)

Linerequired
Text or transliteration scheme2

Latin-alphabet transliterated text, or, optionally, transliteration scheme (e.g., bgn/pcgn)

Stringrequired
Text3

Latin-alphabet transliterated text (required if a transliteration scheme is entered above)

Stringsuggested

See also

mali niŋ
ISO 15924 Script in Unicode[e]
Code ISO number ISO formal name Directionality Unicode Alias[f] Version Characters Notes Description

Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row Tɛmplet:ISO 15924 script codes and related Unicode data/row

Notes
  1. ^
    ISO 15924 publications As of 3 December 2021
  2. ^
    ISO 15924 Normative text file As of 3 December 2021
  3. ^
    ISO 15924 Changes (including Aliases for Unicode; as of 3 December 2021)
  4. ^
    Unicode version 15.0
  5. ^
  6. ^
    Unicode uses the "Property Value Alias" (Alias) as the script-name. These Alias names are part of Unicode and are published informatively next to ISO 15924. An alias script name may be used in a character name: Palm, Palmyrene → Error using {{unichar}}: Input "10860" is not a hexadecimal value..
  7. ^
    In Unicode, the Phoenician script is intended for the representation of text in Paleo-Hebrew, Archaic Phoenician, Phoenician, Early Aramaic, Late Phoenician cursive, Phoenician papyri, Siloam Hebrew, Hebrew seals, Ammonite, Moabite, and Punic.[lower-roman 1]
References


A chirim ya: &It;ref> tuma maa yi laɣingu din yuli nyɛ "lower-roman", ka lee bi saɣiritiri $It;references group ="lower-roman"/> tuka maa bon nya