返回模板定義的ISO 15924 alpha-4 代碼。輸入的代碼值可以是3位數字或如Aaaa的4位字母。

目前的定義代碼參見iso15924/codelists (esp [1],2021-01-25發布),其中正好列出了208個ISO 15924 alpha-4代碼(一組Qaaa和Qabx記作兩個)。enwiki的模板增加了一行(變為209),以允許Qaaa-Qabx作為50個代碼的範圍,正如ISO所期望的那樣。

用法

編輯

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:

模板數據

編輯
以下是該模板的模板資料,適用於視覺化編輯器等工具。

ISO 15924 code模板資料

沒有描述。

模板參數

參數描述類型狀態
alpha4alpha4

沒有描述

不明非必填
defaultdefault

沒有描述

不明非必填



ISO 15924相關模板的一般資訊

編輯

概覽

編輯
項目 模板 /子頁面 內容 示例 發布者 用法 備註
代碼(ISO) {{ISO 15924 code}} /subp ID Arab ISO 15924 Everywhere Alpha-4, enwiki central ISO script id list
別名(Unicode) {{ISO 15924 alias}} /subp ID Arabic Unicode
條目名稱(中文維基百科) {{ISO 15924/wp-article}} /subp ID [[阿拉伯字母]] enwiki
QID(維基數據) {{ISO 15924/qid}} /subp ID Q790681 Wikidata
Number; range 000–999 {{ISO 15924 number}} /subp ID 234 ISO 15924 rarely 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+ In mainspace: 10× hardcoded (e.g.); 2× Qxxx depr
Name {{ISO 15924 name}} /subp data Deseret (Mormon) ISO 15924
Unicode chapter {{ISO 15924/unicode-chapter}} /subp data Template:ISO 15924/unicode-chapter Unicode pdf does not open at .n subchapter
Script example
character
{{ISO 15924/script-example-character}} /subp data Template:ISO 15924/script-example-character enwiki User boxes
In Mainspace
Overview
  • ISO
  • U
  • enwiki
{{ISO 15924 script codes and related Unicode data}} /subp list enwiki ISO 15924 Mainspace: ISO 15924, Script (Unicode), Unicode character property
Blocks ⇄ Scripts {{Unicode blocks}} /subp list enwiki some script articles Mainspace; related
graphs {{ISO 15924/unicode-script-illustration}} /subp fonts&files Mainspace, Scripts in Unicode
Overviews
4 IDs:
  • ISO
  • U
  • WD
  • enwiki
{{ISO 15924/overview-4id}} /subp 4 ID's, related Wikidata check consistency
Properties {{ISO 15924/overview-4id/properties}} /subp data dir Wikidata doc, more WD props
description {{ISO 15924/overview-4id-relations}} /subp overview enwiki 4 ID's: ISO-U+-WD-enwiki
Overview: templates {{ISO 15924/overview-templates}} /subp list Wikipedia
WP-category {{ISO 15924/wp-category}} /subp data Category:Arabic script enwiki Not checked for mainspace watered down concept for minor scripts
Block names {{Unicode blocks/overview}} /subp en: pages Greek and Cyrillic Unicode Checking; {{Unicode blocks}} Category:Unicode blocks(0)
Charts {{Unicode blocks/overview}} /subp en: templates Unicode Mainly by Block Category:Unicode charts(1)
Also (doc, userbox, technical, ...)
Documentation {{ISO 15924 templates/doc}} /subp prime documentation Latin script in Unicode (~) Reused in multiple templates
Unicode Latn links {{ISO 15924/overview-Latn in Unicode}} /subp Unicode Full overview (aim)
Redirect {{R from ISO 15924 code}} /subp template enwiki Redirects
userbox {{User iso15924}} /subp Userboxes
Related Changes {{Recent changes in Unicode}} /subp pages Unicode, ISO 15924 WP:RELC Related Changes enwiki WikiProject 900+700 P x T
Unicode versions {{Unicode version}} /subp Version number 截至Unicode版本 13.0 enwiki (new Sep2022)
Wikidata properties
Directionality 無本頁之數據 P1406 {{Infobox}}, ...
Unicode ranges 無本頁之數據 P5949 {{Infobox}}, ...
ISO English name 無本頁之數據 P2561 Crosscheck only
Modules
Data module module:Unicode data /subp § Functions overview
HTML named entities module:Numcr2namecr /subp

ISO 更新

編輯
  • The ISO 15924 list of script codes is updated regularly, usually at least once a year. The current list is complete 截至2023年9月12日 (2023-09-12), and defines 223 codes (code, number, script name).
  • 截至24 September 2023年 (24 September 2023-Missing required parameter 1=month!), 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.

參考資料

編輯