Template:ISO 639 code-5
Jump to navigation
Jump to search
Template documentation
This template uses Lua: |
Language templates |
---|
Languages (ISO 639) |
|
Scripts (ISO 15924) |
|
Wiktionary links |
|
Other |
|
[view] [ ] [ ]
This template is part of a series of templates based on ISO 639 codes and names. This family of templates consists of Template:ISO 639 code-1, Template:ISO 639 code-2, Template:ISO 639 code-3, Template:ISO 639 code-5, and Template:ISO 639 name.
Parameters[edit source]
|1=
the input to be converted.|hierachy=
set to yes to display hierachy (Example: nai:xnd:ath:apa)
Using the family[edit source]
Languages[edit source]
The first three template of the series take a language name and return the corresponding ISO 639 code:
- Template:ISO 639 code-1:
{{ISO 639 code-1|English}}
outputsen
- Template:ISO 639 code-2:
{{ISO 639 code-2|English}}
outputseng
- Template:ISO 639 code-3:
{{ISO 639 code-3|English}}
outputseng
Template:ISO 639 name takes a language code and returns the name of the language:
- Template:ISO 639 name:
{{ISO 639 name|en}}
outputs
Language groups[edit source]
Template:ISO 639 code-2 (gem)
Template:ISO 639 code-5 (gem)
Examples[edit source]
name (function) | part1 (function) | part3 (function) | part2 (function) | |
---|---|---|---|---|
English | en | eng | eng | |
en | en | eng | eng | |
EN | en | eng | eng | |
eng | en | eng | eng | |
fr | French | fr | fra | fre |
French | fr | fra | fre | |
En | enc | |||
abj | abj | |||
Abellen Ayta | abp | |||
French, Cajun | frc |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |