Revision 3688834 of "Template:Iso2lang/doc" on simplewiki

{{Documentation subpage}}
This template takes a two-letter [[ISO 639]] language code. It then turns it into an English language name (such as "Abkhazian" or "Sinhalese"). If the language name given is not recognised, the template returns "undefined".

'''Examples:'''

* <nowiki>{{Iso2lang|de}}</nowiki> returns "German"
* <nowiki>{{Iso2lang |el}}</nowiki> returns "Greek"
* <nowiki>{{Iso2lang |es}}</nowiki> returns "Spanish"

'''Purpose:'''

This template is supposed to be transcluded into other templates.

'''Additions:'''

Not all languages have ISO 639-1 codes.  So, as time goes on, users can update the table as needed. 

<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
[[Category:Language templates]]
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
[[en:Template:Iso2lang]]
[[da:Skabelon:Iso2lang]]
[[id:Templat:Alias bahasa]]
[[ja:Template:Iso2lang]]
</includeonly>