Template: LanguageOtherMsg
(revision 2.0) |
m (Added a warning about editing this template) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
This template is designed to be called as a sub-template from [[Template:Languages]] to return localized translations for the "In other languages" message. | This template is designed to be called as a sub-template from [[Template:Languages]] to return localized translations for the "In other languages" message. | ||
| − | '''''Important note''''' - This template should not be used anywhere except in [[Template:Languages]]. It doesn't display properly when not included. Please see [[Template:Languages]] for the complete version. | + | '''''Important note''''' - This template should not be used anywhere except in [[Template:Languages]]. It doesn't display properly when not included. Please see [[Template:Languages]] for the complete version. Please, '''do not edit''' if you are not REALLY sure about what you are doing. |
'''''Note''''' - The includet cases are all poached [http://translatewiki.net/w/i.php?title=Special%3ATranslations&message=otherlanguages&namespace=8 here] (from translatewiki.net). | '''''Note''''' - The includet cases are all poached [http://translatewiki.net/w/i.php?title=Special%3ATranslations&message=otherlanguages&namespace=8 here] (from translatewiki.net). | ||
| Line 24: | Line 24: | ||
* <LangCode> is the (2-digit lowercase) language code (ISO 639-1) of the language to translate to the "In other languages:" message. | * <LangCode> is the (2-digit lowercase) language code (ISO 639-1) of the language to translate to the "In other languages:" message. | ||
| − | + | If there is no match for <LangCode>, it returns by default the string "In other languages" (en). | |
| − | </noinclude><onlyinclude>{{#switch:{{{1}}} | + | </noinclude><onlyinclude>{{#if:{{{1|}}}|{{#switch:{{{1}}} |
|ab=Абызшәақәа | |ab=Абызшәақәа | ||
|af=Ander tale | |af=Ander tale | ||
| Line 165: | Line 165: | ||
|zu=Ngezilimi ezinahlukene | |zu=Ngezilimi ezinahlukene | ||
|#default=In other languages | |#default=In other languages | ||
| − | }}</onlyinclude> | + | }}|}}</onlyinclude> |
Latest revision as of 15:04, 8 September 2011
This is the "LanguageOtherMsg" template. Edit the page to see the template text.
Description
This template is designed to be called as a sub-template from Template:Languages to return localized translations for the "In other languages" message.
Important note - This template should not be used anywhere except in Template:Languages. It doesn't display properly when not included. Please see Template:Languages for the complete version. Please, do not edit if you are not REALLY sure about what you are doing.
Note - The includet cases are all poached here (from translatewiki.net).
Usage
It should be called in the following format:
{{LanguageOtherMsg|<LangCode>}}
where:
- <LangCode> is the (2-digit lowercase) language code (ISO 639-1) of the language to translate to the "In other languages:" message.
If there is no match for <LangCode>, it returns by default the string "In other languages" (en).