قالب:ISO 15924 script codes and related Unicode data/doc
This is a documentation subpage for قالب:ISO 15924 script codes and related Unicode data (see that page for the قالب itself). It contains usage information, categories and other content that is not part of the original قالب page. |
This documentation is shared between templates {{Unicode blocks}} and {{ISO 15924 script codes and related Unicode data}}.
Usage
The template can be used as usual. It is not a navigation box, so it can be everywhere in an article. The notes are contained within the template, and will not appear in the main References part.
- Note: when resolving red links or wrong links, edit {{ISO 15924/wp-article}}. That is where the connection between ISO code and a Wikipedia article is made.
ISO 15924 templates
خطأ: لا توجد وحدة بهذا الاسم "navbar". | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Item | In template | /subs | Content | Example | Usage in page | Publisher | Note | ||||
Code (ISO) | {{ISO 15924 code}} | /subpages | ID | Arab | Everywhere | ISO 15924 | enwiki central ISO script id list | ||||
Alias (Unicode) | {{ISO 15924 alias}} | /subpages | ID | Arabic | Unicode | ||||||
Article (enwiki) | {{ISO 15924/wp-article}} | /subpages | ID | [[Arabic script]] | enwiki | ||||||
QID (wikidata) | {{ISO 15924/qid}} | /subpages | ID | Q790681 | Wikidata | ||||||
Number | {{ISO 15924 number}} | /subpages | (ID) | 234 | ISO 15924 | ISO number not used internally (between templates), see Code | |||||
Name | {{ISO 15924 name}} | /subpages | data | Deseret (Mormon) | ISO 15924 | ||||||
Unicode chapter | {{ISO 15924/unicode-chapter}} | /subpages | data | Ch 18.1 | Unicode | Operational | |||||
Script example
character |
{{ISO 15924/script-example-character}} | /subpages | data | ع | User boxes | enwiki | |||||
In Mainspace | |||||||||||
Overview خطأ: لا توجد وحدة بهذا الاسم "list". | {{ISO 15924 script codes and related Unicode data}} | /subpages | list | ISO 15924 | enwiki | Mainspace: ISO 15924, Script (Unicode), Unicode character property | |||||
Blocks ⇄ Scripts | {{Unicode blocks}} | /subpages | list | some script articles | enwiki | Mainspace, related | |||||
graphs | {{ISO 15924/unicode-script-illustration}} | /subpages | fonts&files | Mainspace, Scripts in Unicode | |||||||
Overviews | |||||||||||
4 ID's: خطأ: لا توجد وحدة بهذا الاسم "list". | {{ISO 15924/overview-4id}} | /subpages | 4 ID's, related | check consistency | Wikidata | ||||||
Wikidata props | {{ISO 15924/overview-4id/properties}} | /subpages | data | dir | doc, more WD props | Wikidata | |||||
description | {{ISO 15924/overview-4id-relations}} | /subpages | overview | enwiki | 4 ID's: ISO-U+-WD-enwiki | ||||||
Overview: templates | {{ISO 15924/overview-templates}} | /subpages | list | Wikipedia | |||||||
WP-category | {{ISO 15924/wp-category}} | /subpages | data | Category:Arabic script | Not checked for mainspace | enwiki | watered down concept for minor scripts | ||||
Also (doc, userbox, technical, ...) | |||||||||||
Documentation | {{ISO 15924 templates/doc}} | /subpages | prime documentation | Latin script in Unicode (~) | Reused in multiple templates | ||||||
Unicode Latn links | {{ISO 15924/overview-Latn in Unicode}} | /subpages | Unicode | Full overview (aim) | |||||||
Redirect | {{R from ISO 15924 code}} | /subpages | template | Redirects | enwiki | ||||||
userbox | {{User iso15924}} | /subpages | Userboxes | ||||||||
Wikidata properties | |||||||||||
Directionality | خطأ: لا توجد وحدة بهذا الاسم "Wd". (P1406) | P1406 | خطأ: لا توجد وحدة بهذا الاسم "Template link general"., ... | ||||||||
Unicode ranges | خطأ: لا توجد وحدة بهذا الاسم "Wd". (P5949) | P5949 | خطأ: لا توجد وحدة بهذا الاسم "Template link general"., ... | ||||||||
ISO English name | خطأ: لا توجد وحدة بهذا الاسم "Wd". (P2561) | P2561 | Crosscheck only | ||||||||
|
Background: How is this table composed
Note that a script is not a language. A single script, like the Latin alphabet, is used in many languages. Unicode is only about scripts, not about languages that use that script. Still there may be nuances, like the English versus Polish language in using accents on letters.
Step 1: ISO defines a script
ISO defines and publishes a script in the ISO 15924 list. It defines the Alpha-4 code (Aaaa-Zzzz), the Numeric code (000-999), and the formal Name for each accepted script. Currently there are some 160 scripts defined in this list. Included are scripts like "Mathematical notation (Zmth)" and "Code for undetermined script (a.k.a. Common, Zyyy)". The list is formally maintained and published by ISO, and practically by the Unicode Consortium office. It is published on the Unicode website. Technically, the list is file iso15924.txt
.
Step 2: Unicode attaches an Alias name
Then, Unicode (not ISO) maintains a list of Alias script names right next to the ISO-defined scripts, for each script Unicode has encoded. The Alias name is an English name for that script.
So the ISO alpha-4 code gets a unique Alias name by Unicode:
Mymr:ISO Name=Myanmar (Burmese), Alias=Myanmar
.
These Alias names are also present in the definition file iso15924.txt
.[١]
Step 3: Usage by Unicode
From that list, Unicode can translate any alpha4-code into the Alias name of the script, and reverse. Unicode does not use the formal ISO name.
A script name is used in the Unicode Name of a character: "خطأ في التعبير: عامل < غير متوقع.".
Per character
In the Unicode database, Unicode adds one single appropriate alpha-4 code to every individual script character. So every letter, punctuation, number and so of a script get that code. Characters used by multiple scripts, such as the period (.), have script code "Zyyy" (Common). The "script" codes for Mathematical and Symbol are not used by Unicode; symbols and mathematical characters have the property script="Unknown".
Then, in the file Scripts.txt
, Unicode publishes the Alias script name per character (possibly by a range of characters). A part of that file looks like:
... 0591..05BD ; Hebrew # Mn [45] HEBREW ACCENT ETNAHTA..HEBREW POINT METEG 05BE ; Hebrew # Pd HEBREW PUNCTUATION MAQAF 05BF ; Hebrew # Mn HEBREW POINT RAFE 05C0 ; Hebrew # Po HEBREW PUNCTUATION PASEQ 05C1..05C2 ; Hebrew # Mn [2] HEBREW POINT SHIN DOT..HEBREW POINT SIN DOT 05C3 ; Hebrew # Po HEBREW PUNCTUATION SOF PASUQ ...
This datafile defines which scripts are present in Unicode, and what script is at a certain code point.
In a block
Given a block range of code points, then which scripts are present in that block? See {{Unicode blocks}}: this table is constructed by signaling every script that is present as a block (once).
There is no secure relation between a script name and a block name. Some scripts are in a single block, but other scripts are spread amongst several blocks.
See also
- {{ISO 15924 script codes and related Unicode data/header}} (technical subtemplate)
- {{ISO 15924 script codes and related Unicode data/row}} (technical subtemplate)
خطأ: لا توجد وحدة بهذا الاسم "Navbox". خطأ: لا توجد وحدة بهذا الاسم "Navbox".