Misplaced Pages

Template:ISO 15924: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 12:02, 7 August 2011 editBogdan Nagachop (talk | contribs)4,012 editsNo edit summary← Previous edit Latest revision as of 12:59, 19 July 2024 edit undoGonnym (talk | contribs)Autopatrolled, Extended confirmed users, Template editors225,337 edits bypass redirect 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch: {{lc:{{{2|}}}}}
Some documentation
| code = {{ISO 15924 code|{{{1|}}}| default={{{default|}}}}}
| alias = {{ISO 15924 alias|{{{1|}}}| default={{{default|}}}}}
| name = {{ISO 15924 name|{{{1|}}}| default={{{default|}}}}}
| number
| numeric = {{ISO 15924 number|{{{1|}}}| default={{{default|}}}}}
| wp-category = {{ISO 15924/wp-category|{{{1|}}}}}
| wp-catlink
| wpcat = ]
| wp-name = {{ISO 15924/wp-article|{{{1|}}}}}
| article = ]
| example
| character
| script-example-character = {{ISO 15924/script-example-character|{{{1|}}}}}


| sandbox = sandbox:]
;Subtemplates

* ] - the "Property Value Alias" as given on http://www.unicode.org/iso15924/iso15924-codes.html
| list
* ] - the numeric value as given on http://www.unicode.org/iso15924/iso15924-codes.html
| #default = <includeonly>{{#ifeq:{{ISO 15924 code|{{{1|}}}}}||{{{default|}}}|<!--
* ]
-->[[{{ISO 15924/wp-article|{{{1|}}}| default={{{default|}}}}}{{!}}<!--
* ] - one distinctive character, used by ]
-->{{ISO 15924 code|{{{1|}}}| default={{{default|}}}}}, <!--
* ]
-->{{ISO 15924 number|{{{1|}}}| default={{{default|}}}}} - <!--
;Other
-->{{ISO 15924 alias|{{{1|}}}| default={{{default|}}}}}<!--
* ] - several sub-templates, also using ]
-->]]}}</includeonly>}}<noinclude>
* ]

* ]
{{documentation}}
</noinclude>

Latest revision as of 12:59, 19 July 2024


Template documentation[view] [edit] [history] [purge]
This template may have no transclusions, because it is a parent template to subpages that are used in a few articles and templates.

Usage

This template is a wrapper to call some other ISO 15924 templates. Options are:

{{ISO 15924
| <!-- parameter #1 = ISO code -->
| <!-- parameter #2 = which output? -->
 code      
 alias
 name, number
 wp-category, wp-catlink, wpcat    
 wp-name
 article
 example, character, script-example-character
}}


General information on ISO 15924 templates

   This section:

Overview

ISO 15924Unicode – 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 Alpha-4, enwiki central ISO script id list
Alias (Unicode) {{ISO 15924 alias}} /subp ID Arabic Unicode
Article (enwiki) {{ISO 15924/wp-article}} /subp ID ] enwiki
QID (wikidata) {{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 Ch 18.1 Unicode pdf does not open at .n subchapter
Script example
character
{{ISO 15924/script-example-character}} /subp data ع‎ 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
Overview: templates {{ISO 15924/overview-templates}} /subp list Misplaced Pages
WP-category {{ISO 15924/wp-category}} /subp data Category:Arabic script enwiki Not checked for mainspace watered down concept for minor scripts
Also (doc, userbox, technical, ...)
Documentation {{ISO 15924 templates/doc}} /subp prime documentation Latin script in Unicode (~) Reused in multiple templates
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 as of Unicode version 13.0 enwiki (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
More templates

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 6 January 2025, and defines 224 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

The above documentation is transcluded from Template:ISO 15924/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: