Difference between revisions of "Template:ISO 15924 code/doc"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(→‎Usage: use {{=}})
imported>Wbm1058
(→‎Usage: don't transclude {{error}} on documentation page)
Line 6: Line 6:
 
* {{tlx|ISO 15924 code|215}} → {{ISO 15924 code|215}}
 
* {{tlx|ISO 15924 code|215}} → {{ISO 15924 code|215}}
 
* {{tlx|ISO 15924 code|Latn}} → {{ISO 15924 code|Latn}}
 
* {{tlx|ISO 15924 code|Latn}} → {{ISO 15924 code|Latn}}
* {{tlx|ISO 15924 code|Latin}} → {{ISO 15924 code|Latin}}
+
* {{tlx|ISO 15924 code|Latin}} &rarr; <span class="error">Error using {{tlx|ISO 15924 code}}: input Latin not recognised</span>
 
Default output, in case the input is not found in the list, is a ''blank'' (no text). It can be set different:
 
Default output, in case the input is not found in the list, is a ''blank'' (no text). It can be set different:
 
* {{tlx|ISO 15924 code|Latin|default{{=}}Input not found}} &rarr; {{ISO 15924 code|Latin|default=Input not found}}
 
* {{tlx|ISO 15924 code|Latin|default{{=}}Input not found}} &rarr; {{ISO 15924 code|Latin|default=Input not found}}

Revision as of 15:53, 18 March 2013

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

Usage

Default output, in case the input is not found in the list, is a blank (no text). It can be set different:


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