Returns the ISO 15924 alpha-4 code defining the script. Input can be a three-digit numeric or four-letter code Aaaa.

Definitions present: iso15924/codelists (esp [1], published 2021-01-25) lists exactly 208 alpha-4 id's, including Qaaa and Qabx, counting two. This enwiki template adds one line (into 209 then), to allow Qaaa–Qabx as a range of 50 codes, as intended by ISO.

Usage

edit

Default output, in case the input is not found in the list, is an {{error}} message:

The default message can be changed or removed by using the parameter default:

Template data

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ISO 15924 code in articles based on its TemplateData.

TemplateData for ISO 15924 code


No description.

Template parameters

ParameterDescriptionTypeStatus
alpha4alpha4

no description

Unknownoptional
defaultdefault

no description

Unknownoptional


General information on ISO 15924 templates

edit
   This section:

Overview

edit
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
  • U
  • enwiki
{{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

edit
  • 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, and defines 223 codes (code, number, script name).
  • As of 24 September 2023, 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

edit
  • "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.