Template:ISO 15924 code/doc
Appearance
This is a documentation subpage for Template:ISO 15924 code It may contain usage information, categories and other content that is not part of the original template page. |
Returns the ISO 15924 four-letter code corresponding to the input, either a three-digit numeric, name of the script, or four-letter code.
Usage
[edit source]{{ISO 15924 code|215}}
→ Latn{{ISO 15924 code|Latn}}
→ Latn{{ISO 15924 code|Latin}}
→ Latn
Default output, in case the input is not found in the list, is a blank (no text). It can be set different:
{{ISO 15924 code|foo|default=Input not found}}
→ Input not found
See also
[edit source]- w:ISO 15924
- Template:ISO 15924 name - returns the name of the script when presented with a number or code (calls on this template)
- Template:ISO 15924 - returns either the name or the code (calls on this template)