Difference between revisions of "Template:ISO 15924 code"

From blackwiki
Jump to navigation Jump to search
imported>Drmccreedy
(2021-01-25 update of ISO 15924)
imported>Drmccreedy
(Update code based on sandbox)
 
Line 1: Line 1:
 
<!-- Exact list from ISO datafile, as of 2021-01-25: 208 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 | Adlm = Adlm
| Adlm = Adlm
+
| 439 | Afak = Afak
| 439
+
| 239 | Aghb = Aghb
| Afak = Afak
+
| 338 | Ahom = Ahom
| 239
+
| 160 | Arab = Arab
| Aghb = Aghb
+
| 161 | Aran = Aran
| 338
+
| 124 | Armi = Armi
| Ahom = Ahom
+
| 230 | Armn = Armn
| 160
+
| 134 | Avst = Avst
| Arab = Arab
+
| 360 | Bali = Bali
| 161
+
| 435 | Bamu = Bamu
| Aran = Aran
+
| 259 | Bass = Bass
| 124
+
| 365 | Batk = Batk
| Armi = Armi
+
| 325 | Beng = Beng
| 230
+
| 334 | Bhks = Bhks
| Armn = Armn
+
| 550 | Blis = Blis
| 134
+
| 285 | Bopo = Bopo
| Avst = Avst
+
| 300 | Brah = Brah
| 360
+
| 570 | Brai = Brai
| Bali = Bali
+
| 367 | Bugi = Bugi
| 435
+
| 372 | Buhd = Buhd
| Bamu = Bamu
+
| 349 | Cakm = Cakm
| 259
+
| 440 | Cans = Cans
| Bass = Bass
+
| 201 | Cari = Cari
| 365
+
| 358 | Cham = Cham
| Batk = Batk
+
| 445 | Cher = Cher
| 325
+
| 109 | Chrs = Chrs
| Beng = Beng
+
| 291 | Cirt = Cirt
| 334
+
| 204 | Copt = Copt
| Bhks = Bhks
+
| 402 | Cpmn = Cpmn
| 550
+
| 403 | Cprt = Cprt
| Blis = Blis
+
| 220 | Cyrl = Cyrl
| 285
+
| 221 | Cyrs = Cyrs
| Bopo = Bopo
+
| 315 | Deva = Deva
| 300
+
| 342 | Diak = Diak
| Brah = Brah
+
| 328 | Dogr = Dogr
| 570
+
| 250 | Dsrt = Dsrt
| Brai = Brai
+
| 755 | Dupl = Dupl
| 367
+
| 70 | 070 | Egyd = Egyd
| Bugi = Bugi
+
| 60 | 060 | Egyh = Egyh
| 372
+
| 50 | 050 | Egyp = Egyp
| Buhd = Buhd
+
| 226 | Elba = Elba
| 349
+
| 128 | Elym = Elym
| Cakm = Cakm
+
| 430 | Ethi = Ethi
| 440
+
| 241 | Geok = Geok
| Cans = Cans
+
| 240 | Geor = Geor
| 201
+
| 225 | Glag = Glag
| Cari = Cari
+
| 312 | Gong = Gong
| 358
+
| 313 | Gonm = Gonm
| Cham = Cham
+
| 206 | Goth = Goth
| 445
+
| 343 | Gran = Gran
| Cher = Cher
+
| 200 | Grek = Grek
| 109
+
| 320 | Gujr = Gujr
| Chrs = Chrs
+
| 310 | Guru = Guru
| 291
+
| 503 | Hanb = Hanb
| Cirt = Cirt
+
| 286 | Hang = Hang
| 204
+
| 500 | Hani = Hani
| Copt = Copt
+
| 371 | Hano = Hano
| 402
+
| 501 | Hans = Hans
| Cpmn = Cpmn
+
| 502 | Hant = Hant
| 403
+
| 127 | Hatr = Hatr
| Cprt = Cprt
+
| 125 | Hebr = Hebr
| 220
+
| 410 | Hira = Hira
| Cyrl = Cyrl
+
| 80 | 080 | Hluw = Hluw
| 221
+
| 450 | Hmng = Hmng
| Cyrs = Cyrs
+
| 451 | Hmnp = Hmnp
| 315
+
| 412 | Hrkt = Hrkt
| Deva = Deva
+
| 176 | Hung = Hung
| 342
+
| 610 | Inds = Inds
| Diak = Diak
+
| 210 | Ital = Ital
| 328
+
| 284 | Jamo = Jamo
| Dogr = Dogr
+
| 361 | Java = Java
| 250
+
| 413 | Jpan = Jpan
| Dsrt = Dsrt
+
| 510 | Jurc = Jurc
| 755
+
| 357 | Kali = Kali
| Dupl = Dupl
+
| 411 | Kana = Kana
| 70 | 070
+
| 305 | Khar = Khar
| Egyd = Egyd
+
| 355 | Khmr = Khmr
| 60 | 060
+
| 322 | Khoj = Khoj
| Egyh = Egyh
+
| 505 | Kitl = Kitl
| 50 | 050
+
| 288 | Kits = Kits
| Egyp = Egyp
+
| 345 | Knda = Knda
| 226
+
| 287 | Kore = Kore
| Elba = Elba
+
| 436 | Kpel = Kpel
| 128
+
| 317 | Kthi = Kthi
| Elym = Elym
+
| 351 | Lana = Lana
| 430
+
| 356 | Laoo = Laoo
| Ethi = Ethi
+
| 217 | Latf = Latf
| 241
+
| 216 | Latg = Latg
| Geok = Geok
+
| 215 | Latn = Latn
| 240
+
| 364 | Leke = Leke
| Geor = Geor
+
| 335 | Lepc = Lepc
| 225
+
| 336 | Limb = Limb
| Glag = Glag
+
| 400 | Lina = Lina
| 312
+
| 401 | Linb = Linb
| Gong = Gong
+
| 399 | Lisu = Lisu
| 313
+
| 437 | Loma = Loma
| Gonm = Gonm
+
| 202 | Lyci = Lyci
| 206
+
| 116 | Lydi = Lydi
| Goth = Goth
+
| 314 | Mahj = Mahj
| 343
+
| 366 | Maka = Maka
| Gran = Gran
+
| 140 | Mand = Mand
| 200
+
| 139 | Mani = Mani
| Grek = Grek
+
| 332 | Marc = Marc
| 320
+
| 90 | 090 | Maya = Maya
| Gujr = Gujr
+
| 265 | Medf = Medf
| 310
+
| 438 | Mend = Mend
| Guru = Guru
+
| 101 | Merc = Merc
| 503
+
| 100 | Mero = Mero
| Hanb = Hanb
+
| 347 | Mlym = Mlym
| 286
+
| 324 | Modi = Modi
| Hang = Hang
+
| 145 | Mong = Mong
| 500
+
| 218 | Moon = Moon
| Hani = Hani
+
| 264 | Mroo = Mroo
| 371
+
| 337 | Mtei = Mtei
| Hano = Hano
+
| 323 | Mult = Mult
| 501
+
| 350 | Mymr = Mymr
| Hans = Hans
+
| 311 | Nand = Nand
| 502
+
| 106 | Narb = Narb
| Hant = Hant
+
| 159 | Nbat = Nbat
| 127
+
| 333 | Newa = Newa
| Hatr = Hatr
+
| 85 | 085 | Nkdb = Nkdb
| 125
+
| 420 | Nkgb = Nkgb
| Hebr = Hebr
+
| 165 | Nkoo = Nkoo
| 410
+
| 499 | Nshu = Nshu
| Hira = Hira
+
| 212 | Ogam = Ogam
| 80 | 080
+
| 261 | Olck = Olck
| Hluw = Hluw
+
| 175 | Orkh = Orkh
| 450
+
| 327 | Orya = Orya
| Hmng = Hmng
+
| 219 | Osge = Osge
| 451
+
| 260 | Osma = Osma
| Hmnp = Hmnp
+
| 143 | Ougr = Ougr
| 412
+
| 126 | Palm = Palm
| Hrkt = Hrkt
+
| 263 | Pauc = Pauc
| 176
+
| 15 | 015 | Pcun = Pcun
| Hung = Hung
+
| 16 | 016 | Pelm = Pelm
| 610
+
| 227 | Perm = Perm
| Inds = Inds
+
| 331 | Phag = Phag
| 210
+
| 131 | Phli = Phli
| Ital = Ital
+
| 132 | Phlp = Phlp
| 284
+
| 133 | Phlv = Phlv
| Jamo = Jamo
+
| 115 | Phnx = Phnx
| 361
+
| 293 | Piqd = Piqd
| Java = Java
+
| 282 | Plrd = Plrd
| 413
+
| 130 | Prti = Prti
| Jpan = Jpan
+
| 103 | Psin = Psin
| 510
+
| 900-949 | 900&ndash;949 | Qaaa-qabx | Qaaa&ndash;qabx = Qaaa&ndash;Qabx<!-- As a range. Separator IN "-" or NDASH;lc. OUT = NDASH. 2021-02 -->
| Jurc = Jurc
+
| 900 | Qaaa = Qaaa
| 357
+
| 949 | Qabx = Qabx
| Kali = Kali
+
| 303 | Ranj = Ranj
| 411
+
| 363 | Rjng = Rjng
| Kana = Kana
+
| 167 | Rohg = Rohg
| 305
+
| 620 | Roro = Roro
| Khar = Khar
+
| 211 | Runr = Runr
| 355
+
| 123 | Samr = Samr
| Khmr = Khmr
+
| 292 | Sara = Sara
| 322
+
| 105 | Sarb = Sarb
| Khoj = Khoj
+
| 344 | Saur = Saur
| 505
+
| 95 | 095 | Sgnw = Sgnw
| Kitl = Kitl
+
| 281 | Shaw = Shaw
| 288
+
| 319 | Shrd = Shrd
| Kits = Kits
+
| 530 | Shui = Shui
| 345
+
| 302 | Sidd = Sidd
| Knda = Knda
+
| 318 | Sind = Sind
| 287
+
| 348 | Sinh = Sinh
| Kore = Kore
+
| 141 | Sogd = Sogd
| 436
+
| 142 | Sogo = Sogo
| Kpel = Kpel
+
| 398 | Sora = Sora
| 317
+
| 329 | Soyo = Soyo
| Kthi = Kthi
+
| 362 | Sund = Sund
| 351
+
| 316 | Sylo = Sylo
| Lana = Lana
+
| 135 | Syrc = Syrc
| 356
+
| 138 | Syre = Syre
| Laoo = Laoo
+
| 137 | Syrj = Syrj
| 217
+
| 136 | Syrn = Syrn
| Latf = Latf
+
| 373 | Tagb = Tagb
| 216
+
| 321 | Takr = Takr
| Latg = Latg
+
| 353 | Tale = Tale
| 215
+
| 354 | Talu = Talu
| Latn = Latn
+
| 346 | Taml = Taml
| 364
+
| 520 | Tang = Tang
| Leke = Leke
+
| 359 | Tavt = Tavt
| 335
+
| 340 | Telu = Telu
| Lepc = Lepc
+
| 290 | Teng = Teng
| 336
+
| 120 | Tfng = Tfng
| Limb = Limb
+
| 370 | Tglg = Tglg
| 400
+
| 170 | Thaa = Thaa
| Lina = Lina
+
| 352 | Thai = Thai
| 401
+
| 330 | Tibt = Tibt
| Linb = Linb
+
| 326 | Tirh = Tirh
| 399
+
| 294 | Toto = Toto
| Lisu = Lisu
+
| 40 | 040 | Ugar = Ugar
| 437
+
| 470 | Vaii = Vaii
| Loma = Loma
+
| 280 | Visp = Visp
| 202
+
| 262 | Wara = Wara
| Lyci = Lyci
+
| 283 | Wcho = Wcho
| 116
+
| 480 | Wole = Wole
| Lydi = Lydi
+
| 30 | 030 | Xpeo = Xpeo
| 314
+
| 20 | 020 | Xsux = Xsux
| Mahj = Mahj
+
| 192 | Yezi = Yezi
| 366
+
| 460 | Yiii = Yiii
| Maka = Maka
+
| 339 | Zanb = Zanb
| 140
+
| 994 | Zinh = Zinh
| Mand = Mand
+
| 995 | Zmth = Zmth
| 139
+
| 993 | Zsye = Zsye
| Mani = Mani
+
| 996 | Zsym = Zsym
| 332
+
| 997 | Zxxx = Zxxx
| Marc = Marc
+
| 998 | Zyyy = Zyyy
| 90 | 090
+
| 999 | Zzzz = Zzzz
| Maya = Maya
+
| #default={{{default|{{error|Error using {{tlx|ISO 15924 code}}: input "{{{1|}}}" not recognized|tag=span}}}}}
| 265
 
| Medf = Medf
 
| 438
 
| Mend = Mend
 
| 101
 
| Merc = Merc
 
| 100
 
| Mero = Mero
 
| 347
 
| Mlym = Mlym
 
| 324
 
| Modi = Modi
 
| 145
 
| Mong = Mong
 
| 218
 
| Moon = Moon
 
| 264
 
| Mroo = Mroo
 
| 337
 
| Mtei = Mtei
 
| 323
 
| Mult = Mult
 
| 350
 
| Mymr = Mymr
 
| 311
 
| Nand = Nand
 
| 106
 
| Narb = Narb
 
| 159
 
| Nbat = Nbat
 
| 333
 
| Newa = Newa
 
| 85 | 085
 
| Nkdb = Nkdb
 
| 420
 
| Nkgb = Nkgb
 
| 165
 
| Nkoo = Nkoo
 
| 499
 
| Nshu = Nshu
 
| 212
 
| Ogam = Ogam
 
| 261
 
| Olck = Olck
 
| 175
 
| Orkh = Orkh
 
| 327
 
| Orya = Orya
 
| 219
 
| Osge = Osge
 
| 260
 
| Osma = Osma
 
| 143
 
| Ougr = Ougr
 
| 126
 
| Palm = Palm
 
| 263
 
| Pauc = Pauc
 
| 15 | 015
 
| Pcun = Pcun
 
| 16 | 016
 
| Pelm = Pelm
 
| 227
 
| Perm = Perm
 
| 331
 
| Phag = Phag
 
| 131
 
| Phli = Phli
 
| 132
 
| Phlp = Phlp
 
| 133
 
| Phlv = Phlv
 
| 115
 
| Phnx = Phnx
 
| 293
 
| Piqd = Piqd
 
| 282
 
| Plrd = Plrd
 
| 130
 
| Prti = Prti
 
| 103
 
| Psin = Psin
 
| 900
 
| Qaaa = Qaaa
 
| 949
 
| Qabx = Qabx
 
| 303
 
| Ranj = Ranj
 
| 363
 
| Rjng = Rjng
 
| 167
 
| Rohg = Rohg
 
| 620
 
| Roro = Roro
 
| 211
 
| Runr = Runr
 
| 123
 
| Samr = Samr
 
| 292
 
| Sara = Sara
 
| 105
 
| Sarb = Sarb
 
| 344
 
| Saur = Saur
 
| 95 | 095
 
| Sgnw = Sgnw
 
| 281
 
| Shaw = Shaw
 
| 319
 
| Shrd = Shrd
 
| 530
 
| Shui = Shui
 
| 302
 
| Sidd = Sidd
 
| 318
 
| Sind = Sind
 
| 348
 
| Sinh = Sinh
 
| 141
 
| Sogd = Sogd
 
| 142
 
| Sogo = Sogo
 
| 398
 
| Sora = Sora
 
| 329
 
| Soyo = Soyo
 
| 362
 
| Sund = Sund
 
| 316
 
| Sylo = Sylo
 
| 135
 
| Syrc = Syrc
 
| 138
 
| Syre = Syre
 
| 137
 
| Syrj = Syrj
 
| 136
 
| Syrn = Syrn
 
| 373
 
| Tagb = Tagb
 
| 321
 
| Takr = Takr
 
| 353
 
| Tale = Tale
 
| 354
 
| Talu = Talu
 
| 346
 
| Taml = Taml
 
| 520
 
| Tang = Tang
 
| 359
 
| Tavt = Tavt
 
| 340
 
| Telu = Telu
 
| 290
 
| Teng = Teng
 
| 120
 
| Tfng = Tfng
 
| 370
 
| Tglg = Tglg
 
| 170
 
| Thaa = Thaa
 
| 352
 
| Thai = Thai
 
| 330
 
| Tibt = Tibt
 
| 326
 
| Tirh = Tirh
 
| 294
 
| Toto = Toto
 
| 40 | 040
 
| Ugar = Ugar
 
| 470
 
| Vaii = Vaii
 
| 280
 
| Visp = Visp
 
| 262
 
| Wara = Wara
 
| 283
 
| Wcho = Wcho
 
| 480
 
| Wole = Wole
 
| 30 | 030
 
| Xpeo = Xpeo
 
| 20 | 020
 
| Xsux = Xsux
 
| 192
 
| Yezi = Yezi
 
| 460
 
| Yiii = Yiii
 
| 339
 
| Zanb = Zanb
 
| 994
 
| Zinh = Zinh
 
| 995
 
| Zmth = Zmth
 
| 993
 
| Zsye = Zsye
 
| 996
 
| Zsym = Zsym
 
| 997
 
| Zxxx = Zxxx
 
| 998
 
| Zyyy = Zyyy
 
| 999
 
| Zzzz = Zzzz
 
| #default={{{default|{{error|Error using {{tlx|ISO 15924 code}}: input {{{1|}}} not recognized|tag=span}}}}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 03:03, 3 February 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