Template:Multilingual description: Difference between revisions
Template page
More actions
apparently the import is not necessary anymore? |
+ ml, sv |
||
| Line 27: | Line 27: | ||
-->{{#if:{{{la|}}}|{{ls|la|{{{la|}}}}}}}<!-- | -->{{#if:{{{la|}}}|{{ls|la|{{{la|}}}}}}}<!-- | ||
-->{{#if:{{{lt|}}}|{{ls|lt|{{{lt|}}}}}}}<!-- | -->{{#if:{{{lt|}}}|{{ls|lt|{{{lt|}}}}}}}<!-- | ||
-->{{#if:{{{ml|}}}|{{ls|ml|{{{ml|}}}}}}}<!-- | |||
-->{{#if:{{{ms|}}}|{{ls|ms|{{{ms|}}}}}}}<!-- | -->{{#if:{{{ms|}}}|{{ls|ms|{{{ms|}}}}}}}<!-- | ||
-->{{#if:{{{nl|}}}|{{ls|nl|{{{nl|}}}}}}}<!-- | -->{{#if:{{{nl|}}}|{{ls|nl|{{{nl|}}}}}}}<!-- | ||
| Line 36: | Line 37: | ||
-->{{#if:{{{sc|}}}|{{ls|sc|{{{sc|}}}}}}}<!-- | -->{{#if:{{{sc|}}}|{{ls|sc|{{{sc|}}}}}}}<!-- | ||
-->{{#if:{{{sr|}}}|{{ls|sr|{{{sr|}}}}}}}<!-- | -->{{#if:{{{sr|}}}|{{ls|sr|{{{sr|}}}}}}}<!-- | ||
-->{{#if:{{{sv|}}}|{{ls|sv|{{{sv|}}}}}}}<!-- | |||
-->{{#if:{{{tr|}}}|{{ls|tr|{{{tr|}}}}}}}<!-- | -->{{#if:{{{tr|}}}|{{ls|tr|{{{tr|}}}}}}}<!-- | ||
-->{{#if:{{{uk|}}}|{{ls|uk|{{{uk|}}}}}}}<!-- | -->{{#if:{{{uk|}}}|{{ls|uk|{{{uk|}}}}}}}<!-- | ||
Revision as of 09:58, 6 October 2009
- Documentation to be done
This template is linked with a mediawiki javascript which was integrated to Commons.
More information is available at meta:Meta:Language_select and meta:template:Ls
An alternative version of this javascript is avaible, to try it you need to add that line in your user monobook.js:
importScript('MediaWiki:Multilingual description.js');
Example
{{Multilingual description
|de=deutsche Texte
|en=English text, if the text corresponding to the choosen language to display is not availabel, all language will be displayed by default.
|it=parole italiane
|fr=texte français, si le texte correspondant à la langue choisie n'est pas disponible, toutes les langues seront affichées par défaut.
}}
produces:
Deutsch: deutsche Texte
English: English text, if the text corresponding to the choosen language to display is not availabel, all language will be displayed by default.
Français : texte français, si le texte correspondant à la langue choisie n'est pas disponible, toutes les langues seront affichées par défaut.
Italiano: parole italiane
- Add more languages.