Template:ISO 15924 code/doc

From MOASSpedia
Jump to navigation Jump to search

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

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:


General information on ISO 15924 templates

   This section:

Overview

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 3 December 2021, and defines 213 codes (code, number, script name).
  • As of 07:13, 15 February 2022 (UTC), this template contains 258 ISO 15924 script codes. All are paired in both forms Xxxx and 123 (Alpha-4 and numerical). This 258 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.