Template:Wiktionaryscript/doc

This template returns a script name from a script code.

Usage
This template uses only one parameter, for the script code.

If the script code for an alias is followed by "_alias", "_alias2" or "_alias3", it returns the other script codes.

Examples

 * returns:
 * Latin
 * returns:
 * Armenian
 * returns:
 * Japanese
 * returns:
 * Hani
 * returns:
 * Hira
 * returns:
 * Kana
 * returns:
 * Katakana

Mechanics
This template uses a simple   parser function to handle language codes and script codes.

EXAMPLES:

1. Script names.
 * Armn=Armenian
 * Latn=Latin

2. Script aliases.
 * Jpan_alias=Hani
 * Jpan_alias2=Hira
 * Jpan_alias3=Kana