Template:langname/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:langname. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This is an easier way to call the getCanonicalName function in Module:languages/templates. Give it a language code, and it will return the canonical name.

{{langname|en}}

English

Parameters

[edit]
|1=
Language code.
|allow_etym=1
Allow etymology-only codes.