Template:ISO 15924 code

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Returns the ISO 15924 four-letter code corresponding to the input, either a three-digit numeric or four-letter code.

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)


General information on ISO 15924 templates

Maintenance

Overview of ISO 15924 templates
Item Publisher Details Example Definition in template Usage in page Notes
Code ISO 15924 Alpha-4 Arab {{ISO 15924 code}} {{ISO 15924/footer}}, /doc
Number ISO 15924 Range 000–999 234 {{ISO 15924 number}}
Name ISO 15924 Descriptive name {{ISO 15924 name}}
ISO name can differ from
Unicode (alias) name
Alias1 ISO 159242 Script name as used in Unicode Arabic {{ISO 15924 alias}}
Script direction Unicode
Can vary per character, but all Unicode
scripts (so far) have a single main direction
rtl {{ISO 15924 direction}}
WP-name en:Wikipedia WP content page name for the script Arabic script {{ISO 15924/wp-name}}
WP-category en:Wikipedia WP category name for the script Arabic script {{ISO 15924/wp-category}} Category:Arabic script
Script example
character
en:Wikipedia Example character in userboxes ع {{ISO 15924/script-example-character}}   User boxes e.g. Category:User Arab
Overview & relation
ISO – Unicode
en:Wikipedia {{ISO 15924 script codes and Unicode}}
Redirect en:Wikipedia Redirect template {{R from ISO 15924 code}} Redirects
Overview en:Wikipedia Overview for templates check {{ISO 15924/overview}}
Subpages en:Wikipedia list Special:PrefixIndex/Template:ISO_15924
  • 1 Property Value Alias.
  • 2 Alias name is decided by Unicode consortium, but published in kindness by ISO 15924 in their data tables.

ISO updates

The ISO list is changed regularly, last years in June and December. Current list is completed As of 9 August 2011. This list has 160 defined 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.

We here at Wikipedia do not and can not decide over ISO 15924. End of story.

Sources

See also

References