แม่แบบ:langname
- The following documentation is located at แม่แบบ:langname/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
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
แก้ไข|1=
- Language code.
|allow_etym=1
- Allow etymology-only codes.