Template: LanguageNative

From LibrePlanet
Jump to: navigation, search
m (fixing...)
m (fixing...)
Line 19: Line 19:
 
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><span lang="{{{2}}}" xml:lang="{{{2}}}">{{#switch:{{{2}}}
+
<onlyinclude><span lang="{{{1}}}" xml:lang="{{{1}}}">{{#switch:{{{1}}}
 
|aa=Afaraf
 
|aa=Afaraf
 
|ab=аҧсуа
 
|ab=аҧсуа

Revision as of 20:17, 24 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}}}