ਫਰਮਾ:ISO 15924 code
Error using {{ISO 15924 code}}
: input "" not recognized
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
ਸੋਧੋ{{ISO 15924 code|215}}
→ Latn{{ISO 15924 code|Latn}}
→ Latn
Default output, in case the input is not found in the list, is an {{error}} message:
{{ISO 15924 code|Latin}}
→ Error using{{ISO 15924 code}}
: input Latin not recognized{{ISO 15924 code}}
→ Error using{{ISO 15924 code}}
: input not recognized
The default message can be changed or removed by using the parameter default:
{{ISO 15924 code|Latin|default=Input not found}}
→ Input not found{{ISO 15924 code|Latin|default=}}
→ (empty string)
Template data
ਸੋਧੋThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for Template:ISO 15924 code based on its TemplateData.
TemplateData for ISO 15924 code
No description.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
alpha4 | alpha4 | no description | Unknown | optional |
default | default | no description | Unknown | optional |
General information on ISO 15924 templates
ਸੋਧੋ This section:
Overview
ਸੋਧੋISO 15924 – Unicode – Wikidata – enwiki: Overview templates & properties | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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 → ਫਰਮਾ:ISO 15924 alias/unicode-merged-into-script | 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 | ਫਰਮਾ:ISO 15924/unicode-chapter | Unicode | [ਫਰਮਾ:TPU] | pdf does not open at .n subchapter | ||||
Script example
character |
{{ISO 15924/script-example-character}} | /subp | data | ਫਰਮਾ:ISO 15924/script-example-character | 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 | ਫਰਮਾ:Unicode version | enwiki | [ਫਰਮਾ:TPU] | (new Sep2022) | ||||
Wikidata properties | |||||||||||
Directionality | (P1406) | P1406 | {{Infobox}}, ... | ||||||||
Unicode ranges | (P5949) | P5949 | {{Infobox}}, ... | ||||||||
ISO English 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 12 ਸਤੰਬਰ 2023 ਤੱਕ [update], and defines 223 codes (code, number, script name).
- 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.