Template:Script/doc

< Template:Script
Revision as of 19:51, 22 September 2019 by Maltropia (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

null

Usage

This template applies custom styling (better typefaces and/or typefaces that support uncommon scripts and/or bigger size text) to scripts (writing systems), identified by their ISO 15924 code. It takes two unnamed parameters: the ISO code, and the text to transform. Currently, the following codes are supported:

  • {{Script|Arab|أبجدية عربية}}‎ → أبجدية عربية‎‎ (uses {{Script/Arabic}})
    • {{Script|fa-Arab|فارسی}}‎ → فارسی (uses {{Script/Nastaliq}})
    • {{Script|ps-Arab|پښتو}}‎ → پښتو (uses {{Script/Nastaliq}})
    • {{Script|ur-Arab|اُردُو}}‎ → اُردُو (uses {{Script/Nastaliq}})
    • {{Script|Aran|اُردُو}}‎ → اُردُو (uses {{Script/Nastaliq}})
  • {{Script|Armi|𐡀𐡁𐡂}}‎ → 𐡀𐡁𐡂(uses {{Script/Aramaic}})
  • {{Script|Bali|ᬅᬓ᭄ᬱᬭᬩᬮᬶ}}ᬅᬓ᭄ᬱᬭᬩᬮᬶ (uses {{Script/Bali}})
  • {{Script|Bamu|ꚩꚫꛑꚩꚳ ꚳ꛰ꛀꚧꚩꛂ}}ꚩꚫꛑꚩꚳ ꚳ꛰ꛀꚧꚩꛂ (uses {{Script/Bamum}})
  • {{Script|Brah|𑀓𑀔𑀕𑀖𑀗}}𑀓𑀔𑀕𑀖𑀗 (uses {{Script/Brahmi}})
  • {{Script|Bugi|ᨒᨚᨈᨑ}}ᨒᨚᨈᨑ (uses {{Script/Lontara}})
  • {{Script|Buhd|ᝊᝓᝑᝒ}}ᝊᝓᝑᝒ (uses {{Script/Buhid}})
  • {{Script|Chak|𑄇𑄈𑄉𑄊𑄋}}𑄇𑄈𑄉𑄊𑄋 (uses {{Script/Chakma}})
  • {{Script|Cham|ꨆꨇꨈꨉꨊ}}ꨆꨇꨈꨉꨊ (uses {{Script/Cham}})
  • {{Script|Copt|ⲙⲉⲧⲣⲉⲙⲛⲭⲏⲙⲓ}}ⲙⲉⲧⲣⲉⲙⲛⲭⲏⲙⲓ (uses {{Script/Coptic}})
  • {{Script|Cprt|𐠀𐠰𐠦𐠡𐠩}}‎ → 𐠀𐠰𐠦𐠡𐠩
  • {{Script|Cyrs|азъбоукы}}азъбоукы (uses {{Script/Slavonic}})
  • {{Script|Ethi|አማርኛ}}አማርኛ (uses {{Script/Ethiopic}})
  • {{Script|Fraser|ꓛꓬꓹ ꓡꓯꓺ ꓡꓯꓺ}}ꓛꓬꓹ ꓡꓯꓺ ꓡꓯꓺ (uses {{Script/Lisu}})
  • {{Script|Geok|ⴌⴓⴑⴞⴓⴐⴈ}}ⴌⴓⴑⴞⴓⴐⴈ (uses {{Script/Khutsuri}})
  • {{Script|Glag|ⰍⰫⰓⰊⰎⰎⰑⰂⰋⰜⰀ}}ⰍⰫⰓⰊⰎⰎⰑⰂⰋⰜⰀ (uses {{Script/Glagolitic}})
  • {{Script|Grek|ξημερωθήκαμε}}ξημερωθήκαμε (uses {{Script/Greek}})
  • {{Script|Goth|𐌲𐌿𐍄𐌹𐍃𐌺}}𐌲𐌿𐍄𐌹𐍃𐌺 (uses {{Script/Gothic}})
  • {{Script|Hano|ᜥ ᜥᜲ ᜥᜳ ᜥ᜴}}ᜥ ᜥᜲ ᜥᜳ ᜥ᜴ (uses {{Script/Hanunoo}})
  • {{Script|Hebr|אלפבית עברי}}‎ → אלפבית עברי(uses {{Script/Hebrew}})
  • {{Script|Ital|𐌅𐌝𐌕𐌄𐌋𐌉𐌞}}𐌅𐌝𐌕𐌄𐌋𐌉𐌞 (uses {{Script/Old Italic}})
  • {{Script|Java|ꦲꦏ꧀ꦱꦫꦗꦮ}}ꦲꦏ꧀ꦱꦫꦗꦮ (uses {{Script/Java}})
  • {{Script|Kali|ꤊꤢ꤬ꤛꤢ꤭ ꤜꤟꤤ꤬}}ꤊꤢ꤬ꤛꤢ꤭ ꤜꤟꤤ꤬ (uses {{Script/Kayah Li}})
  • {{Script|Khmr|អក្សរខ្មែរ}}អក្សរខ្មែរ (uses {{Script/Khmer}})
  • {{Script|Kore|나랏〮말〯ᄊᆞ미〮}}나랏〮말〯ᄊᆞ미〮 (uses {{Script/Korean}})
  • {{Script|Lana|ᨲᩫ᩠ᩅᨵᨾ᩠ᨾ᩼}}ᨲᩫ᩠ᩅᨵᨾ᩠ᨾ᩼ (uses {{Script/Tai Tham}})
  • {{Script|Latn|Latin}}Latin (uses {{Script/Classical and Medieval Latin}})
  • {{Script|Latf|Fraktur blackletter}}Fraktur blackletter
    • {{Script|en-Latf|Textura blackletter}}Textura blackletter
    • {{Script|it-Latf|Rotunda blackletter}}Rotunda blackletter
  • {{Script|Latg|Ᵹaelaċ}}Ᵹaelaċ (uses {{Script/Gaelic}})
  • {{Script|Limbu|ᤁᤂᤃᤄᤅ}}ᤁᤂᤃᤄᤅ (uses {{Script/Limbu}})
  • {{Script|Linb|𐂂 𐃌}}𐂂 𐃌
  • {{Script|Lisu|ꓛꓬꓹ ꓡꓯꓺ ꓡꓯꓺ}}ꓛꓬꓹ ꓡꓯꓺ ꓡꓯꓺ (uses {{Script/Lisu}})
  • {{Script|Lyci|𐊍𐊒𐊖𐊙𐊗𐊕𐊀}}𐊍𐊒𐊖𐊙𐊗𐊕𐊀 (uses {{Script/Lycian}})
  • {{Script|Meithei|ꯃꯤꯇꯩ ꯃꯌꯦꯛ}}ꯃꯤꯇꯩ ꯃꯌꯦꯛ (uses {{Script/Meithei}})
  • {{Script|Mymr|မြန်မာ}}မြန်မာ (uses {{Script/Mymr}})
  • {{Script|Nkoo|ߒߞߏ}}‎ → ߒߞߏ (uses {{Script/Nko}})
  • {{Script|Ogam|ᚉᚒᚅᚐ}}ᚉᚒᚅᚐ (uses {{Script/Ogam}})
  • {{Script|Orkh|𐱅𐰭𐰼𐰃}}‎ → 𐱅𐰭𐰼𐰃‎‎ (uses {{Script/Orkhon}})
  • {{Script|Osma|𐒋𐒘𐒈𐒑𐒛𐒒𐒕𐒀}}𐒋𐒘𐒈𐒑𐒛𐒒𐒕𐒀 (uses {{Script/Osmanya}})
  • {{Script|Phli|𐭮𐭯𐭠𐭧𐭯𐭲}}‎ → 𐭮𐭯𐭠𐭧𐭯𐭲(uses {{Script/Pahlavi}})
  • {{Script|Phnx|𐤒𐤓𐤕 𐤇𐤃𐤔𐤕}}‎ → 𐤒𐤓𐤕 𐤇𐤃𐤔𐤕‎‎ (uses {{Script/Phoenician}})
  • {{Script|Piqd|}} (uses {{Script/Klingon}})
  • {{Script|Pollard|𖼀𖼁𖼂𖼃𖼄}}𖼀𖼁𖼂𖼃𖼄 (uses {{Script/Pollard}})
  • {{Script|Prti|𐭎𐭐𐭀𐭃𐭐𐭕𐭉‬}}‎ → 𐭎𐭐𐭀𐭃𐭐𐭕𐭉‬(uses {{Script/Inscriptional Parthian}})
  • {{Script|Rjng|ꥆꤰ꥓ꤼꤽ ꤽꥍꤺꥏ}}ꥆꤰ꥓ꤼꤽ ꤽꥍꤺꥏ (uses {{Script/Rejang}})
  • {{Script|Runr|᛬ᚱᚢᚾᚨ᛬}}᛬ᚱᚢᚾᚨ᛬ (uses {{Script/Runic}})
  • {{Script|Samr|ࠀࠁࠂ}}‎ → ࠀࠁࠂ(uses {{Script/Samaritan}})
  • {{Script|Sidd|𑖭𑖰𑖛𑖽}}𑖭𑖰𑖛𑖽 (uses {{Script/Siddham}})
  • {{Script|Sylo|ꠍꠤꠟꠐꠤ ꠘꠣꠉꠞꠤ}}ꠍꠤꠟꠐꠤ ꠘꠣꠉꠞꠤ (uses {{Script/Syloti}})
  • {{Script|Syre|ܐܣܛܪܢܓܠܐ}}ܐܣܛܪܢܓܠܐ(uses {{Script/Strng}})
  • {{Script|Syrj|ܣܪܛܐ}}ܣܪܛܐ(uses {{Script/Serto}})
  • {{Script|Syrn|ܡܕܢܚܝܐ}}ܡܕܢܚܝܐ(uses {{Script/Mdnh}})
  • {{Script|Tagb|ᝦᝤᝪᝨᝯ}}ᝦᝤᝪᝨᝯ (uses {{Script/Tagbanwa}})
  • {{Script|Talu|ᦟᦲᧅᦷᦎᦺᦑᦟᦹᧉ}}ᦟᦲᧅᦷᦎᦺᦑᦟᦹᧉ (uses {{Script/New Tai Lue}})
  • {{Script|Tavt|ꪼꪕꪒꪾ}}ꪼꪕꪒꪾ (uses {{Script/Tai Viet}})
  • {{Script|Tfng|ⵜⵉⴼⵉⵏⴰⵖ}}ⵜⵉⴼⵉⵏⴰⵖ (uses {{Script/Tifinagh}})
  • {{Script|Tglg|ᜊᜌ᜔ᜊᜌᜒᜈ᜔}}ᜊᜌ᜔ᜊᜌᜒᜈ᜔ (uses {{Script/Baybayin}})
  • {{Script|Ugar|𐎀𐎁𐎂}}𐎀𐎁𐎂
  • {{Script|Vaii|ꕙꔤ}}ꕙꔤ (uses {{Script/Vai}})
  • {{Script|Xpeo|𐏈 𐏉 𐏊}}𐏈 𐏉 𐏊
  • {{Script|Xsux|𒈗}}𒈗 (uses {{Script/Cuneiform}})
  • {{Script|Yiii|ꆈꌠꁱꂷ}}ꆈꌠꁱꂷ (uses {{Script/Yi}})

See also

  • {{Lang}} for identifying text as belonging to a language and script, etc. (beyond the scope of this template)
  • {{IPA}} to style text for IPA notation
  • {{ISO 15924 script codes and Unicode}} for a list of ISO 15924 codes with their names and other details

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Script


Marks some text as in a different script according to ISO 15924 script codes

Template parameters

ParameterDescriptionTypeStatus
Script code1 script

ISO 15924 script code for the script used

Example
Hang (hangul), Latn (Latin), Hant (traditional Chinese characters)
Linerequired
Text2 text

The text in the script demacrated

Example
國漢文混用
Linerequired