Template:Script/doc
This template uses TemplateStyles: |
Usage
[edit]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|أبجدية عربية}} → أبجدية عربية
- {{Script|fa-Arab|فارسی}} → فارسی
- {{Script|ps-Arab|پښتو}} → پښتو
- {{Script|ur-Arab|اُردُو}} → اُردُو
- {{Script|Aran|اُردُو}} → اُردُو
- {{Script|Armi|𐡀𐡁𐡂}} → 𐡀𐡁𐡂
- {{Script|Bali|ᬅᬓ᭄ᬱᬭᬩᬮᬶ}} → ᬅᬓ᭄ᬱᬭᬩᬮᬶ
- {{Script|Bamu|ꚩꚫꛑꚩꚳ ꚳ꛰ꛀꚧꚩꛂ}} → ꚩꚫꛑꚩꚳ ꚳ꛰ꛀꚧꚩꛂ
- {{Script|Brah|𑀓𑀔𑀕𑀖𑀗}} → 𑀓𑀔𑀕𑀖𑀗
- {{Script|Bugi|ᨒᨚᨈᨑ}} → ᨒᨚᨈᨑ
- {{Script|Buhd|ᝊᝓᝑᝒ}} → ᝊᝓᝑᝒ
- {{Script|Chak|𑄇𑄈𑄉𑄊𑄋}} → 𑄇𑄈𑄉𑄊𑄋
- {{Script|Cham|ꨆꨇꨈꨉꨊ}} → ꨆꨇꨈꨉꨊ
- {{Script|Copt|ⲙⲉⲧⲣⲉⲙⲛⲭⲏⲙⲓ}} → ⲙⲉⲧⲣⲉⲙⲛⲭⲏⲙⲓ
- {{Script|Cprt|𐠀𐠰𐠦𐠡𐠩}} → 𐠀𐠰𐠦𐠡𐠩
- {{Script|Cyrs|азъбоукы}} → азъбоукы
- {{Script|Ethi|አማርኛ}} → አማርኛ
- {{Script|Geok|ⴌⴓⴑⴞⴓⴐⴈ}} → ⴌⴓⴑⴞⴓⴐⴈ
- {{Script|Glag|ⰍⰫⰓⰊⰎⰎⰑⰂⰋⰜⰀ}} → ⰍⰫⰓⰊⰎⰎⰑⰂⰋⰜⰀ
- {{Script|Grek|ξημερωθήκαμε}} → ξημερωθήκαμε
- {{Script|Goth|𐌲𐌿𐍄𐌹𐍃𐌺}} → 𐌲𐌿𐍄𐌹𐍃𐌺
- {{Script|Hani|日本語}} → 日本語 (uses {{Script/Hani}})
- {{Script|Hano|ᜥ ᜥᜲ ᜥᜳ ᜥ᜴}} → ᜥ ᜥᜲ ᜥᜳ ᜥ᜴
- {{Script|Hans|简体中文}} → 简体中文 (uses {{Script/Hani}})
- {{Script|Hant|繁體中文}} → 繁體中文 (uses {{Script/Hani}})
- {{Script|Ital|𐌅𐌝𐌕𐌄𐌋𐌉𐌞}} → 𐌅𐌝𐌕𐌄𐌋𐌉𐌞
- {{Script|Jpan|日本語と方言}} → 日本語と方言 (uses {{Script/Hani}})
- {{Script|Java|ꦲꦏ꧀ꦱꦫꦗꦮ}} → ꦲꦏ꧀ꦱꦫꦗꦮ
- {{Script|Kali|ꤊꤢ꤬ꤛꤢ꤭ ꤜꤟꤤ꤬}} → ꤊꤢ꤬ꤛꤢ꤭ ꤜꤟꤤ꤬
- {{Script|Khmr|អក្សរខ្មែរ}} → អក្សរខ្មែរ
- {{Script|Kore|나랏〮말〯ᄊᆞ미〮}} → 나랏〮말〯ᄊᆞ미〮 (uses {{Script/Hani}})
- {{Script|Lana|ᨲᩫ᩠ᩅᨵᨾ᩠ᨾ᩼}} → ᨲᩫ᩠ᩅᨵᨾ᩠ᨾ᩼
- {{Script|Latf|Fraktur blackletter}} → Fraktur blackletter
- {{Script|en-Latf|Textura blackletter}} → Textura blackletter
- {{Script|it-Latf|Rotunda blackletter}} → Rotunda blackletter
- {{Script|Latg|Ᵹaelaċ}} → Ᵹaelaċ
- {{Script|Latn|Latin}} → Latin
- {{Script|Limb|ᤁᤂᤃᤄᤅ}} → ᤁᤂᤃᤄᤅ
- {{Script|Linb|𐂂 𐃌}} → 𐂂 𐃌
- {{Script|Lisu|ꓛꓬꓹ ꓡꓯꓺ ꓡꓯꓺ}} → ꓛꓬꓹ ꓡꓯꓺ ꓡꓯꓺ
- {{Script|Lyci|𐊍𐊒𐊖𐊙𐊗𐊕𐊀}} → 𐊍𐊒𐊖𐊙𐊗𐊕𐊀
- {{Script|Mong|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ|h}}}} → ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ (uses {{MongolUnicode}})
- {{Script|Mong|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ|v}}}} → ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ (uses {{MongolUnicode}})
- {{Script|Mong|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ}}}} → ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ (uses {{MongolUnicode}})
- {{Script|Mtei|ꯃꯤꯇꯩ ꯃꯌꯦꯛ}} → ꯃꯤꯇꯩ ꯃꯌꯦꯛ (uses {{Script/Meithei}})
- {{Script|Mymr|မြန်မာ}} → မြန်မာ
- {{Script|Nkoo|ߒߞߏ}} → ߒߞߏ
- {{Script|Ogam|ᚉᚒᚅᚐ}} → ᚉᚒᚅᚐ
- {{Script|Orkh|𐱅𐰭𐰼𐰃}} → 𐱅𐰭𐰼𐰃
- {{Script|Osma|𐒋𐒘𐒈𐒑𐒛𐒒𐒕𐒀}} → 𐒋𐒘𐒈𐒑𐒛𐒒𐒕𐒀
- {{Script|Phli|𐭮𐭯𐭠𐭧𐭯𐭲}} → 𐭮𐭯𐭠𐭧𐭯𐭲
- {{Script|Phnx|𐤒𐤓𐤕 𐤇𐤃𐤔𐤕}} → 𐤒𐤓𐤕 𐤇𐤃𐤔𐤕
- {{Script|Piqd|}} →
- {{Script|Plrd|𖼀𖼁𖼂𖼃𖼄}} → 𖼀𖼁𖼂𖼃𖼄
- {{Script|Prti|𐭎𐭐𐭀𐭃𐭐𐭕𐭉}} → 𐭎𐭐𐭀𐭃𐭐𐭕𐭉
- {{Script|Rjng|ꥆꤰ꥓ꤼꤽ ꤽꥍꤺꥏ}} → ꥆꤰ꥓ꤼꤽ ꤽꥍꤺꥏ
- {{Script|Runr|᛬ᚱᚢᚾᚨ᛬}} → ᛬ᚱᚢᚾᚨ᛬
- {{Script|Samr|ࠀࠁࠂ}} → ࠀࠁࠂ
- {{Script|Sidd|𑖭𑖰𑖛𑖽}} → 𑖭𑖰𑖛𑖽
- {{Script|Sylo|ꠍꠤꠟꠐꠤ ꠘꠣꠉꠞꠤ}} → ꠍꠤꠟꠐꠤ ꠘꠣꠉꠞꠤ
- {{Script|Syre|ܐܣܛܪܢܓܠܐ}} → ܐܣܛܪܢܓܠܐ
- {{Script|Syrj|ܣܪܛܐ}} → ܣܪܛܐ
- {{Script|Syrn|ܡܕܢܚܝܐ}} → ܡܕܢܚܝܐ
- {{Script|Tagb|ᝦᝤᝪᝨᝯ}} → ᝦᝤᝪᝨᝯ
- {{Script|Talu|ᦟᦲᧅᦷᦎᦺᦑᦟᦹᧉ}} → ᦟᦲᧅᦷᦎᦺᦑᦟᦹᧉ
- {{Script|Tavt|ꪼꪕꪒꪾ}} → ꪼꪕꪒꪾ
- {{Script|Tfng|ⵜⵉⴼⵉⵏⴰⵖ}} → ⵜⵉⴼⵉⵏⴰⵖ
- {{Script|Tglg|ᜊᜌ᜔ᜊᜌᜒᜈ᜔}} → ᜊᜌ᜔ᜊᜌᜒᜈ᜔
- {{Script|Ugar|𐎀𐎁𐎂}} → 𐎀𐎁𐎂
- {{Script|Vaii|ꕙꔤ}} → ꕙꔤ
- {{Script|Xpeo|𐏈 𐏉 𐏊}} → 𐏈 𐏉 𐏊
- {{Script|Xsux|𒈗}} → 𒈗
- {{Script|Yiii|ꆈꌠꁱꂷ}} → ꆈꌠꁱꂷ
See also
[edit]- {{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 for a list of all ISO 15924 codes with their names and other details (on French Wiktionary, includes English names, and links to Wikidata items)
Template Data
[edit]- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Marks some text as in a different script according to ISO 15924 script codes
Parameter | Description | Type | Status | |
---|---|---|---|---|
Script code | 1 script | ISO 15924 script code for the script used
| Line | required |
Text | 2 text | The text in the requested script
| Line | required |
Variant | 3 | For some script that support it, allows selecting a presentation variant, such as 'h' vs. 'v' for horizontal vs. vertical presentation with the Mongolian script
| Line | optional |