Template:ISO 639 name
Appearance
Usage
[edit]This template substitutes an ISO 639 language code for the endonym (native name) of that language. Works with many ISO 639-1 (2-letter) and 639-2 (3-letter) codes.
Example
[edit]- Using ISO 639-1 (2-letter) code:
{{ISO 639 name|en}}⇒ English - Using ISO 639-2 (3-letter) code:
{{ISO 639 name|epo}}⇒ Esperanto - Using an invalid code:
{{ISO 639 name|zzzz}}⇒ Language abbreviation not recognized by template! - Using an invalid code with a fallback (useful in cases where the ISO 639 code is not currently supported by the template, "future-proofing" your usage of the template):
{{ISO 639 name|wxyz|Fallback text}}⇒ Fallback text
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ISO 639 language code | 1 | no description
| String | suggested |
| Fallback text | 2 | Text to appear when the set language code is not defined for use in the template.
| Content | optional |