Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:ISO 15924 script codes and related Unicode data/doc

From Wikipedia, the free encyclopedia
<Template:ISO 15924 script codes and related Unicode data
iconThis is adocumentationsubpage forTemplate:ISO 15924 script codes and related Unicode data.
It may contain usage information,categories and other content that is not part of the original template page.

This documentation is shared between templates{{Unicode blocks}} and{{ISO 15924 script codes and related Unicode data}}.

Usage

[edit]

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

[edit]
ISO 15924Unicode – Wikidata – enwiki: Overview templates & properties
ItemIn template/subsContentExamplePublisherUsageTPUNote
Code (ISO){{ISO 15924 code}}/subpIDArabISO 15924Everywhere[TPU]Alpha-4, enwiki central ISO script id list
Alias (Unicode){{ISO 15924 alias}}/subpIDArabicUnicode[TPU]
Article (enwiki){{ISO 15924/wp-article}}/subpID[[Arabic script]]enwiki[TPU]
QID (wikidata){{ISO 15924/qid}}/subpIDQ790681Wikidata[TPU]
Number; range 000–999{{ISO 15924 number}}/subpID234ISO 15924rarely[TPU]ISO number not used as ID in enwiki; seeCode
Scripts (sub)merged into main scripts
{{ISO 15924 alias/unicode-merged-into-script}}/subpMerged scriptsLatf → LatnUnicodeScript descriptions, re U+[TPU]In mainspace: 10× hardcoded (e.g.); 2× Qxxx depr
Name{{ISO 15924 name}}/subpdataDeseret (Mormon)ISO 15924[TPU]
Unicode chapter{{ISO 15924/unicode-chapter}}/subpdataCh 18.1Unicode[TPU]pdf does not open at .n subchapter
Script example
character
{{ISO 15924/script-example-character}}/subpdataعenwikiUser boxes[TPU]
In Mainspace
Overview
  • ISO
  • U
  • enwiki
{{ISO 15924 script codes and related Unicode data}}/subplistenwikiISO 15924[TPU]Mainspace:ISO 15924,Script (Unicode),Unicode character property
Blocks ⇄ Scripts{{Unicode blocks}}/subplistenwikisome script articles[TPU]Mainspace; related
graphs{{ISO 15924/unicode-script-illustration}}/subpfonts&files[TPU]Mainspace,Scripts in Unicode
Overviews
Overview: templates{{ISO 15924/overview-templates}}/subplistWikipedia[TPU]
WP-category{{ISO 15924/wp-category}}/subpdataCategory:Arabic scriptenwikiNot checked for mainspace[TPU]watered down concept for minor scripts
Also (doc, userbox, technical, ...)
Documentation{{ISO 15924 templates/doc}}/subpprime documentationLatin script in Unicode (~)[TPU]Reused in multiple templates
Redirect{{R from ISO 15924 code}}/subptemplateenwikiRedirects[TPU]
userbox{{User iso15924}}/subpUserboxes[TPU]
Related Changes{{Recent changes in Unicode}}/subppages Unicode, ISO 15924WP:RELCRelated ChangesenwikiWikiProject[TPU]900+700 P x T
Unicode versions{{Unicode version}}/subpVersion numberas of Unicode version 13.0enwiki[TPU](new Sep2022)
Wikidata properties
Directionalityscript directionality(P1406)P1406{{Infobox}}, ...
Unicode rangesUnicode range(P5949)P5949{{Infobox}}, ...
ISO English namename(P2561)P2561Crosscheck only
Modules
Data modulemodule:Unicode data/subp§ Functions overview
HTML named entitiesmodule:Numcr2namecr/subp


Template data

[edit]
This is theTemplateData for this template used byTemplateWizard,VisualEditor and other tools.See a monthly parameter usage report forTemplate:ISO 15924 script codes and related Unicode data in articles based on its TemplateData.

TemplateData for ISO 15924 script codes and related Unicode data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional

Background: How is this table composed

[edit]

Note that ascript is not alanguage. 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 Polishlanguage in using accents on letters.

Step 1: ISO defines a script

[edit]

ISO defines and publishes a script in theISO 15924 list. It defines theAlpha-4 code (Aaaa-Zzzz), theNumeric code (000-999), and the formalName 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 fileiso15924.txt.

Step 2: Unicode attaches an Alias name

[edit]

Then, Unicode (not ISO) maintains a list ofAlias 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.[1] These Alias names are also present in the definition fileiso15924.txt.

Step 3: Usage by Unicode

[edit]

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: "U+05BF ֿHEBREW POINT RAFE".

Per character

[edit]

In the Unicode database, Unicode adds one single appropriate alpha-4 code toevery 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 arenot used by Unicode; symbols and mathematical characters have the property script="Unknown".

Then, in the fileScripts.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 METEG05BE          ; Hebrew # Pd       HEBREW PUNCTUATION MAQAF05BF          ; Hebrew # Mn       HEBREW POINT RAFE05C0          ; Hebrew # Po       HEBREW PUNCTUATION PASEQ05C1..05C2    ; Hebrew # Mn   [2] HEBREW POINT SHIN DOT..HEBREW POINT SIN DOT05C3          ; 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

[edit]

Given ablock 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

[edit]
General
ISO-defined
Unicode
Wikipedia (enwiki)
Wikidata
Userboxes
Technical
Unicode templates
General
Inline
Character
properties
Code points
Scripts
CJK-specific
Wikipedia related


  1. ^"UTR #24: Unicode Script Property". Unicode Consortium. 2023-08-14.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:ISO_15924_script_codes_and_related_Unicode_data/doc&oldid=1177122257"
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp