Difference between revisions of "Template:ISO 15924 code"

From blackwiki
Jump to navigation Jump to search
imported>Drmccreedy
(Add Toto)
imported>Drmccreedy
(2021-01-25 update of ISO 15924)
Line 1: Line 1:
<!-- Exact list from ISO datafile, as of 2020-04-16: 203 output values (codes).
+
<!-- Exact list from ISO datafile, as of 2021-01-25: 208 output values (codes).
 
--><includeonly>{{#switch:{{ucfirst:{{lc:{{{1|}}}}}}}
 
--><includeonly>{{#switch:{{ucfirst:{{lc:{{{1|}}}}}}}
 
| 166
 
| 166
Line 263: Line 263:
 
| 260
 
| 260
 
| Osma = Osma
 
| Osma = Osma
 +
| 143
 +
| Ougr = Ougr
 
| 126
 
| 126
 
| Palm = Palm
 
| Palm = Palm
 
| 263
 
| 263
 
| Pauc = Pauc
 
| Pauc = Pauc
 +
| 15 | 015
 +
| Pcun = Pcun
 +
| 16 | 016
 +
| Pelm = Pelm
 
| 227
 
| 227
 
| Perm = Perm
 
| Perm = Perm
Line 285: Line 291:
 
| 130
 
| 130
 
| Prti = Prti
 
| Prti = Prti
 +
| 103
 +
| Psin = Psin
 
| 900
 
| 900
 
| Qaaa = Qaaa
 
| Qaaa = Qaaa
 
| 949
 
| 949
 
| Qabx = Qabx
 
| Qabx = Qabx
 +
| 303
 +
| Ranj = Ranj
 
| 363
 
| 363
 
| Rjng = Rjng
 
| Rjng = Rjng

Revision as of 05:42, 28 January 2021

Template documentation[view] [edit] [history] [purge]

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

Overview and Updates

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 25 January 2021, and defines 208 codes (code, number, script name).

Note: when resolving red links or wrong links, edit {{ISO 15924/wp-name}} or {{ISO 15924/wp-category}}. That is where the connection between ISO code and Wikipedia names is made.

Sources

See also

{{Script}}

References