Template:ISO 15924/wp-article/label: Difference between revisions
Appearance
Content deleted Content added
←Created page with '<includeonly>{{#switch:{{{1|}}} | Egyd = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Demotic (Egyptian) | Latf = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Fraktur | Qaaa = {{...' |
MusikBot II (talk | contribs) m Changed protection settings for "Template:ISO 15924/wp-article/label": High-risk template or module: 2500 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require administrator access] (indefinite)) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{{alpha4|{{{1|}}}}}} |
|||
| |
| Chrs = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Chorasmian (Khwarezmian) script |
||
| |
| Egyd = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Egyptian demotic |
||
| |
| Geok = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Nuskhuri (Georgian) script |
||
| |
| Geor = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Mkhedruli (Georgian) script |
||
| |
| Gonm = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Masaram (Gondi script) |
||
| |
| Hrkt = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Katakana or Hiragana |
||
| |
| Jamo = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Hangul Letters |
||
| |
| Loma = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Loma script |
||
| |
| Maka = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Makassarese script |
||
| |
| Marc = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Zhang-Zhung scripts |
||
| |
| Mroo = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Mru script |
||
| Pelm = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Proto-Elamite script |
|||
| Phlv = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Book Pahlavi |
|||
| Qaaa–Qabx | Qaaa-Qabx = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}ISO 15924 Special codes |
|||
| Qaaa = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}ISO 15924 Special codes |
|||
| Qabx = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}ISO 15924 Special codes |
|||
| Shui = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Sui script |
|||
| Syre = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Syriac script, Estrangelo variant |
|||
| Syrj = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Syriac script, Western variant |
|||
| Syrn = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Syriac script, Eastern variant |
|||
| Tnsa = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Tangsa Naga script |
|||
| Toto = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Toto script |
|||
| Yezi = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}Yezidi (Kurdish) script |
|||
| Zinh = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}ISO 15924 Special codes |
|||
| Zxxx = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}ISO 15924 Special codes |
|||
| Zyyy = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}ISO 15924 Special codes |
|||
| Zzzz = {{yesno|{{{add pipe|yes}}}|yes={{!}}}}ISO 15924 Special codes |
|||
| #default = {{{default|}}} |
| #default = {{{default|}}} |
||
}} |
}}<noinclude> |
||
{{documentation}}</noinclude> |
{{documentation}}</noinclude> |
Latest revision as of 17:21, 26 October 2021
This template is used on approximately 2,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This template can add a label to a wikilink to obtain a better readable link. We can use this to create this link:
[[Demotic (Egyptian)|Egyptian demotic]]
- Without label: [[
{{ISO 15924/wp-article|Egyd}}
]] → Demotic (Egyptian)
- With label:
[[{{ISO 15924/wp-article|Egyd}}{{ISO 15924/wp-article/label|Egyd}}]]
→ Egyptian demotic
Current list
At is moment of writing, labels provided are:
| Egyd = Egyptian demotic | Hrkt = Katakana or Hiragana | Qaaa = ISO 15924 | Qabx = ISO 15924 | Syre = Syriac alphabet | Syrj = Syriac alphabet | Syrn = Syriac alphabet | Zinh = ISO 15924 | Zxxx = ISO 15924 | Zyyy = ISO 15924 | Zzzz = ISO 15924
Details
By default the pipe symbol is added when a label exists. Setting the option add pipe=no
will return no pipe.
When no label is needed (the page name is good right away), the template returns a blank:
- No label needed:
[[{{tlx|ISO 15924/wp-article|Latn}}{{tlx|ISO 15924/wp-article/label|Latn}}]]
→ Latin script
See also
General information on ISO 15924 templates
This section:
Overview
Item | In template | /subs | Content | Example | Publisher | Usage | TPU | Note | |||
---|---|---|---|---|---|---|---|---|---|---|---|
Code (ISO) | {{ISO 15924 code}} | /subp | ID | Arab | ISO 15924 | Everywhere | [TPU] | Alpha-4, enwiki central ISO script id list | |||
Alias (Unicode) | {{ISO 15924 alias}} | /subp | ID | Arabic | Unicode | [TPU] | |||||
Article (enwiki) | {{ISO 15924/wp-article}} | /subp | ID | [[Arabic script]] | enwiki | [TPU] | |||||
QID (wikidata) | {{ISO 15924/qid}} | /subp | ID | Q790681 | Wikidata | [TPU] | |||||
Number; range 000–999 | {{ISO 15924 number}} | /subp | ID | 234 | ISO 15924 | rarely | [TPU] | ISO number not used as ID in enwiki; see Code | |||
Scripts (sub)merged into main scripts
|
{{ISO 15924 alias/unicode-merged-into-script}} | /subp | Merged scripts | Latf → Latn | Unicode | Script descriptions, re U+ | [TPU] | In mainspace: 10× hardcoded (e.g.); 2× Qxxx depr | |||
Name | {{ISO 15924 name}} | /subp | data | Deseret (Mormon) | ISO 15924 | [TPU] | |||||
Unicode chapter | {{ISO 15924/unicode-chapter}} | /subp | data | Ch 18.1 | Unicode | [TPU] | pdf does not open at .n subchapter | ||||
Script example
character |
{{ISO 15924/script-example-character}} | /subp | data | ع | enwiki | User boxes | [TPU] | ||||
In Mainspace | |||||||||||
Overview
|
{{ISO 15924 script codes and related Unicode data}} | /subp | list | enwiki | ISO 15924 | [TPU] | Mainspace: ISO 15924, Script (Unicode), Unicode character property | ||||
Blocks ⇄ Scripts | {{Unicode blocks}} | /subp | list | enwiki | some script articles | [TPU] | Mainspace; related | ||||
graphs | {{ISO 15924/unicode-script-illustration}} | /subp | fonts&files | [TPU] | Mainspace, Scripts in Unicode | ||||||
Overviews | |||||||||||
Overview: templates | {{ISO 15924/overview-templates}} | /subp | list | Wikipedia | [TPU] | ||||||
WP-category | {{ISO 15924/wp-category}} | /subp | data | Category:Arabic script | enwiki | Not checked for mainspace | [TPU] | watered down concept for minor scripts | |||
Also (doc, userbox, technical, ...) | |||||||||||
Documentation | {{ISO 15924 templates/doc}} | /subp | prime documentation | Latin script in Unicode (~) | [TPU] | Reused in multiple templates | |||||
Redirect | {{R from ISO 15924 code}} | /subp | template | enwiki | Redirects | [TPU] | |||||
userbox | {{User iso15924}} | /subp | Userboxes | [TPU] | |||||||
Related Changes | {{Recent changes in Unicode}} | /subp | pages Unicode, ISO 15924 WP:RELC | Related Changes | enwiki | WikiProject | [TPU] | 900+700 P x T | |||
Unicode versions | {{Unicode version}} | /subp | Version number | as of Unicode version 13.0 | enwiki | [TPU] | (new Sep2022) | ||||
Wikidata properties | |||||||||||
Directionality | script directionality (P1406) | P1406 | {{Infobox}}, ... | ||||||||
Unicode ranges | Unicode range (P5949) | P5949 | {{Infobox}}, ... | ||||||||
ISO English name | name (P2561) | P2561 | Crosscheck only | ||||||||
Modules | |||||||||||
Data module | module:Unicode data | /subp | § Functions overview | ||||||||
HTML named entities | module:Numcr2namecr | /subp | |||||||||
|
ISO updates
- The ISO 15924 list of script codes is updated regularly, usually at least once a year. The current list is complete as of 12 September 2023[update], and defines 223 codes (code, number, script name).
- As of 24 September 2023[update], this template contains 271 ISO 15924 script codes. All are paired in both forms Xxxx and 123 (Alpha-4 and numerical). This 271 includes 50 distinct Qxxx codes. Some ISO-defined codes may have no ISO name, and/or may not be Unicode-defined.
References
- "ISO 15924". Unicode Consortium.
- "ISO 15924 Code lists". Unicode Consortium.
- "ISO 15924 code changes". Unicode Consortium. 2021-12-03.
- "Unicode TR24 Script property". Unicode Consortium. 2022-04-29.