Template: LanguageNative
m (debugging...) |
m (fixing...) |
||
Line 18: | Line 18: | ||
</pre> | </pre> | ||
where 'Code' is the locale (ISO 639-1) of the native language name to display. | where 'Code' is the locale (ISO 639-1) of the native language name to display. | ||
− | </noinclude> | + | </noinclude><onlyinclude>{{#switch:{{{1}}} |
− | <onlyinclude | ||
|aa=Afaraf | |aa=Afaraf | ||
|ab=аҧсуа | |ab=аҧсуа | ||
Line 205: | Line 204: | ||
|zu=isiZulu | |zu=isiZulu | ||
|#default={{{1}}} | |#default={{{1}}} | ||
− | }} | + | }}</onlyinclude> |
Revision as of 13:10, 25 January 2011
This is the "LanguageNative" sub-template. Edit the page to see the template text.
Rev. 1.1 - Date: 25/01/2011
Description:
This sub-template is designed to simplify Template:Languages, by allowing a way to automatically display the native language name.
IMPORTANT NOTE - This template should not be used anywhere except in the Template:Languages template. This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.
Usage:
It should be called in the following format:
{{LanguageNative|Code}}
where 'Code' is the locale (ISO 639-1) of the native language name to display. {{{1}}}