Jump to content

टेम्पलेट:Transliteration/doc

विकिपीडिया से

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). Transl 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 , as it invisibly tags text with the correct language, allowing for screenreaders to 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.

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

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

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 Ш.
  • 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 .

|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 that the language code is ISO 639, not the IETF BCP 47 language tags that allow variants.

Transliteration scheme codes

[संपादन करीं]

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.

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 :

[title~=transliteration] { color: teal; }
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Transliteration in articles based on its 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

Source text to be transliterated, or, optionally, transliteration scheme (e.g., bgn/pcgn)

Stringrequired
Text3

Source text to be transliterated (required if a transliteration scheme is entered above)

Stringsuggested
ISO 15924 script codes[a][b] and Unicode[c][d]
ISO 15924 Script in Unicode[e]
Code No. Name Alias[f] Direc­tion Ver­sion Char­acters Remark
Adlm 166 Adlam Adlam R-to-L9.087
Afak 439 Afaka VariesNot in Unicode, proposal under review by the Unicode Technical Committee[1][2]
Aghb 239 Caucasian Albanian Caucasian Albanian L-to-R7.053Ancient/historic
Ahom 338 Ahom, Tai Ahom Ahom L-to-R8.058Ancient/historic
Arab 160 Arabic Arabic R-to-L1.01,281
Aran 161 Arabic (Nastaliq variant) R-to-LTypographic variant of Arabic
Armi 124 Imperial Aramaic Imperial Aramaic R-to-L5.231Ancient/historic
Armn 230 Armenian Armenian L-to-R1.095
Avst 134 Avestan Avestan R-to-L5.261Ancient/historic
Bali 360 Balinese Balinese L-to-R5.0121
Bamu 435 Bamum Bamum L-to-R5.2657
Bass 259 Bassa Vah Bassa Vah L-to-R7.036Ancient/historic
Batk 365 Batak Batak L-to-R6.056
Beng 325 Bengali (Bangla) Bengali L-to-R1.096
Bhks 334 Bhaiksuki Bhaiksuki L-to-R9.097Ancient/historic
Blis 550 Blissymbols VariesNot in Unicode, proposal in initial/exploratory stage[1]
Bopo 285 Bopomofo Bopomofo L-to-R1.072
Brah 300 Brahmi Brahmi L-to-R6.0109Ancient/historic
Brai 570 Braille Braille L-to-R3.0256
Bugi 367 Buginese Buginese L-to-R4.130
Buhd 372 Buhid Buhid L-to-R3.220
Cakm 349 Chakma Chakma L-to-R6.170
Cans 440 Unified Canadian Aboriginal Syllabics Canadian Aboriginal L-to-R3.0710
Cari 201 Carian Carian L-to-R5.149Ancient/historic
Cham 358 Cham Cham L-to-R5.183
Cher 445 Cherokee Cherokee L-to-R3.0172
Cirt 291 Cirth VariesNot in Unicode
Copt 204 Coptic Coptic L-to-R1.0137Ancient/historic, Disunified from Greek in 4.1
Cpmn [[Writing system|]] Not in Unicode
Cprt 403 Cypriot syllabary Cypriot R-to-L4.055Ancient/historic
Cyrl 220 Cyrillic Cyrillic L-to-R1.0443
Cyrs 221 Cyrillic (Old Church Slavonic variant) VariesAncient/historic, typographic variant of Cyrillic
Deva 315 Devanagari (Nagari) Devanagari L-to-R1.0156
Dogr [[Writing system|]] 11.060Ancient/historic
Dsrt 250 Deseret (Mormon) Deseret L-to-R3.180
Dupl 755 Duployan shorthand, Duployan stenography Duployan L-to-R7.0143
Egyd 070 Egyptian demotic R-to-LNot in Unicode
Egyh 060 Egyptian hieratic R-to-LNot in Unicode
Egyp 050 Egyptian hieroglyphs Egyptian Hieroglyphs L-to-R5.21,071Ancient/historic
Elba 226 Elbasan Elbasan L-to-R7.040Ancient/historic
Ethi 430 Ethiopic (Geʻez) Ethiopic L-to-R3.0495
Geok 241 Khutsuri (Asomtavruli and Nuskhuri) Georgian VariesUnicode groups Geok and Geor together as "Georgian"
Geor 240 Georgian (Mkhedruli and Mtavruli) Georgian L-to-R1.0173For Unicode, see also Geok
Glag 225 Glagolitic Glagolitic L-to-R4.1132Ancient/historic
Gong [[Writing system|]] 11.063
Gonm [[Writing system|]] 10.075
Goth 206 Gothic Gothic L-to-R3.127Ancient/historic
Gran 343 Grantha Grantha L-to-R7.085Ancient/historic
Grek 200 Greek Greek L-to-R1.0518Sometimes expressed as boustrophedon (mirroring of alternate lines rather than purely left-to-right)
Gujr 320 Gujarati Gujarati L-to-R1.091
Guru 310 Gurmukhi Gurmukhi L-to-R1.080
Hanb 503 Han with Bopomofo (alias for Han + Bopomofo) VariesSee Hani, Bopo
Hang 286 Hangul (Hangŭl, Hangeul) Hangul L-to-R1.011,739Hangul syllables relocated in 2.0
Hani 500 Han (Hanzi, Kanji, Hanja) Han L-to-R1.089,233
Hano 371 Hanunoo (Hanunóo) Hanunoo L-to-R3.221
Hans 501 Han (Simplified variant) VariesSubset Hani
Hant 502 Han (Traditional variant) VariesSubset Hani
Hatr 127 Hatran Hatran R-to-L8.026Ancient/historic
Hebr 125 Hebrew Hebrew R-to-L1.0134
Hira 410 Hiragana Hiragana L-to-R1.0376
Hluw 080 Anatolian Hieroglyphs (Luwian Hieroglyphs, Hittite Hieroglyphs) Anatolian Hieroglyphs L-to-R8.0583Ancient/historic
Hmng 450 Pahawh Hmong Pahawh Hmong L-to-R7.0127
Hmnp [[Writing system|]] Not in Unicode
Hrkt 412 Japanese syllabaries (alias for Hiragana + Katakana) Katakana or Hiragana VariesSee Hira, Kana
Hung 176 Old Hungarian (Hungarian Runic) Old Hungarian R-to-L8.0108Ancient/historic
Inds 610 Indus (Harappan) R-to-LNot in Unicode, proposal in initial/exploratory stage[1]
Ital 210 Old Italic (Etruscan, Oscan, etc.) Old Italic L-to-R3.139Ancient/historic
Jamo 284 Jamo (alias for Jamo subset of Hangul) VariesSubset Hang
Java 361 Javanese Javanese L-to-R5.290
Jpan 413 Japanese (alias for Han + Hiragana + Katakana) VariesSee Hani, Hira and Kana
Jurc 510 Jurchen L-to-RNot in Unicode
Kali 357 Kayah Li Kayah Li L-to-R5.147
Kana 411 Katakana Katakana L-to-R1.0300
Khar 305 Kharoshthi Kharoshthi R-to-L4.168Ancient/historic
Khmr 355 Khmer Khmer L-to-R3.0146
Khoj 322 Khojki Khojki L-to-R7.062Ancient/historic
Kitl 505 Khitan large script L-to-RNot in Unicode
Kits 288 Khitan small script T-to-BNot in Unicode
Knda 345 Kannada Kannada L-to-R1.089
Kore 287 Korean (alias for Hangul + Han) L-to-RSee Hani and Hang
Kpel 436 Kpelle L-to-RNot in Unicode, proposal in initial/exploratory stage[1]
Kthi 317 Kaithi Kaithi L-to-R5.267Ancient/historic
Lana 351 Tai Tham (Lanna) Tai Tham L-to-R5.2127
Laoo 356 Lao Lao L-to-R1.067
Latf 217 Latin (Fraktur variant) VariesTypographic variant of Latin
Latg 216 Latin (Gaelic variant) L-to-RTypographic variant of Latin
Latn 215 Latin Latin L-to-R1.01,353See Latin script in Unicode
Leke 364 Leke L-to-RNot in Unicode
Lepc 335 Lepcha (Róng) Lepcha L-to-R5.174
Limb 336 Limbu Limbu L-to-R4.068
Lina 400 Linear A Linear A L-to-R7.0341Ancient/historic
Linb 401 Linear B Linear B L-to-R4.0211Ancient/historic
Lisu 399 Lisu (Fraser) Lisu L-to-R5.248
Loma 437 Loma L-to-RNot in Unicode, proposal in initial/exploratory stage[1]
Lyci 202 Lycian Lycian L-to-R5.129Ancient/historic
Lydi 116 Lydian Lydian R-to-L5.127Ancient/historic
Mahj 314 Mahajani Mahajani L-to-R7.039Ancient/historic
Maka [[Writing system|]] 11.025Ancient/historic
Mand 140 Mandaic, Mandaean Mandaic R-to-L6.029
Mani 139 Manichaean Manichaean R-to-L7.051Ancient/historic
Marc 332 Marchen Marchen L-to-R9.068Ancient/historic
Maya 090 Mayan hieroglyphs Not in Unicode
Medf [[Writing system|]] 11.091
Mend 438 Mende Kikakui Mende Kikakui R-to-L7.0213
Merc 101 Meroitic Cursive Meroitic Cursive R-to-L6.190Ancient/historic
Mero 100 Meroitic Hieroglyphs Meroitic Hieroglyphs R-to-L6.132Ancient/historic
Mlym 347 Malayalam Malayalam L-to-R1.0117
Modi 324 Modi, Moḍī Modi L-to-R7.079Ancient/historic
Mong 145 Mongolian Mongolian T-to-B3.0167Includes Clear, Manchu scripts
Moon 218 Moon (Moon code, Moon script, Moon type) Not in Unicode, proposal in initial/exploratory stage[1]
Mroo 199 Mro, Mru Mro L-to-R7.043
Mtei 337 Meitei Mayek (Meithei, Meetei) Meetei Mayek L-to-R5.279
Mult 323 Multani Multani L-to-R8.038Ancient/historic
Mymr 350 Myanmar (Burmese) Myanmar L-to-R3.0223
Narb 106 Old North Arabian (Ancient North Arabian) Old North Arabian R-to-L7.032Ancient/historic
Nbat 159 Nabataean Nabataean R-to-L7.040Ancient/historic
Newa 333 Newa, Newar, Newari, Nepāla lipi Newa L-to-R9.093
Nkdb [[Writing system|]] Not in Unicode
Nkgb 420 Nakhi Geba (na²¹ɕi³³ gʌ²¹ba²¹, 'Na-'Khi ²Ggŏ-¹baw, Nakhi Geba) L-to-RNot in Unicode, proposal in initial/exploratory stage[1]
Nkoo 165 N’Ko NKo R-to-L5.062
Nshu 499 Nüshu L-to-R10.0397
Ogam 212 Ogham Ogham 3.029Ancient/historic
Olck 261 Ol Chiki (Ol Cemet’, Ol, Santali) Ol Chiki L-to-R5.148
Orkh 175 Old Turkic, Orkhon Runic Old Turkic R-to-L5.273Ancient/historic
Orya 327 Oriya (Odia) Oriya L-to-R1.090
Osge 219 Osage Osage L-to-R9.072
Osma 260 Osmanya Osmanya L-to-R4.040
Palm 126 Palmyrene Palmyrene R-to-L7.032Ancient/historic
Pauc 263 Pau Cin Hau Pau Cin Hau L-to-R7.057
Perm 227 Old Permic Old Permic L-to-R7.043Ancient/historic
Phag 331 Phags-pa Phags-pa T-to-B5.056Ancient/historic
Phli 131 Inscriptional Pahlavi Inscriptional Pahlavi R-to-L5.227Ancient/historic
Phlp 132 Psalter Pahlavi Psalter Pahlavi R-to-L7.029Ancient/historic
Phlv 133 Book Pahlavi R-to-LNot in Unicode
Phnx 115 Phoenician Phoenician R-to-L5.029Ancient/historic
Piqd 293 Klingon (KLI pIqaD) L-to-RRejected for inclusion in the Unicode Standard[3][4]
Plrd 282 Miao (Pollard) Miao L-to-R6.1133
Prti 130 Inscriptional Parthian Inscriptional Parthian R-to-L5.230Ancient/historic
Qaaa 900 Reserved for private use (start) Not in Unicode
Qaai908(Private use) Not in Unicode (Before version 5.2, this was used instead of Zinh)
Qabx 949 Reserved for private use (end) Not in Unicode
Rjng 363 Rejang (Redjang, Kaganga) Rejang L-to-R5.137
Rohg [[Writing system|]] 11.050
Roro 620 Rongorongo Not in Unicode, proposal in initial/exploratory stage[1]
Runr 211 Runic Runic L-to-R3.086Ancient/historic
Samr 123 Samaritan Samaritan R-to-L5.261
Sara 292 Sarati Not in Unicode
Sarb 105 Old South Arabian Old South Arabian R-to-L5.232Ancient/historic
Saur 344 Saurashtra Saurashtra L-to-R5.182
Sgnw 095 SignWriting SignWriting T-to-B8.0672
Shaw 281 Shavian (Shaw) Shavian L-to-R4.048
Shrd 319 Sharada, Śāradā Sharada L-to-R6.194
Shui [[Writing system|]] Not in Unicode
Sidd 302 Siddham, Siddhaṃ, Siddhamātṛkā Siddham L-to-R7.092Ancient/historic
Sind 318 Khudawadi, Sindhi Khudawadi L-to-R7.069
Sinh 348 Sinhala Sinhala L-to-R3.0110
Sogd [[Writing system|]] 11.042Ancient/historic
Sogo [[Writing system|]] 11.040Ancient/historic
Sora 398 Sora Sompeng Sora Sompeng L-to-R6.135
Soyo [[Writing system|]] 10.081Ancient/historic
Sund 362 Sundanese Sundanese L-to-R5.172
Sylo 316 Syloti Nagri Syloti Nagri L-to-R4.144
Syrc 135 Syriac Syriac R-to-L3.088
Syre 138 Syriac (Estrangelo variant) R-to-LTypographic variant of Syriac
Syrj 137 Syriac (Western variant) R-to-LTypographic variant of Syriac
Syrn 136 Syriac (Eastern variant) R-to-LTypographic variant of Syriac
Tagb 373 Tagbanwa Tagbanwa L-to-R3.218
Takr 321 Takri, Ṭākrī, Ṭāṅkrī Takri L-to-R6.166
Tale 353 Tai Le Tai Le L-to-R4.035
Talu 354 New Tai Lue New Tai Lue L-to-R4.183
Taml 346 Tamil Tamil L-to-R1.072
Tang 520 Tangut Tangut L-to-R9.06,886Ancient/historic
Tavt 359 Tai Viet Tai Viet L-to-R5.272
Telu 340 Telugu Telugu L-to-R1.097
Teng 290 Tengwar L-to-RNot in Unicode
Tfng 120 Tifinagh (Berber) Tifinagh L-to-R4.159
Tglg 370 Tagalog (Baybayin, Alibata) Tagalog L-to-R3.220
Thaa 170 Thaana Thaana R-to-L3.050
Thai 352 Thai Thai L-to-R1.086
Tibt 330 Tibetan Tibetan L-to-R2.0207Added in 1.0, removed in 1.1 and reintroduced in 2.0
Tirh 326 Tirhuta Tirhuta L-to-R7.082
Ugar 040 Ugaritic Ugaritic L-to-R4.031Ancient/historic
Vaii 470 Vai Vai L-to-R5.1300
Visp 280 Visible Speech L-to-RNot in Unicode
Wara 262 Warang Citi (Varang Kshiti) Warang Citi L-to-R7.084
Wcho [[Writing system|]] Not in Unicode
Wole 480 Woleai R-to-LNot in Unicode, proposal in initial/exploratory stage[1]
Xpeo 030 Old Persian Old Persian L-to-R4.150Ancient/historic
Xsux 020 Cuneiform, Sumero-Akkadian Cuneiform L-to-R5.01,234Ancient/historic
Yiii 460 Yi Yi L-to-R3.01,220
Zanb [[Writing system|]] 10.072Ancient/historic
Zinh 994 Code for inherited script Inherited Inherited569
Zmth 995 Mathematical notation L-to-RNot a 'script' in Unicode
Zsym 996 Symbols Not a 'script' in Unicode
Zsye 993 Symbols (emoji variant) Not a 'script' in Unicode
Zxxx 997 Code for unwritten documents Not a 'script' in Unicode
Zyyy 998 Code for undetermined script Common 7,591
Zzzz 999 Code for uncoded script Unknown 976,673All other code points
Notes
  1. ^ ISO 15924 publications 21 नवंबर 2017 तक ले
  2. ^ ISO 15924 Normative text file 21 नवंबर 2017 तक ले
  3. ^ ISO 15924 Changes (including Aliases for Unicode; 21 नवंबर 2017 तक ले )
  4. ^ Unicode version 11.0
  5. ^ Unicode charts
  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
  1. 1 2 3 4 5 6 7 8 9 "Proposed New Scripts". Unicode Consortium. 2015-06-12. Retrieved 2015-07-16.
  2. "Roadmap to the SMP". Unicode Consortium. 2015-03-26. Retrieved 2015-05-22.
  3. Michael Everson (1997-09-18). "Proposal to encode Klingon in Plane 1 of ISO/IEC 10646-2".
  4. The Unicode Consortium (2001-08-14). "Approved Minutes of the UTC 87 / L2 184 Joint Meeting".