Template:Multilingual description: Difference between revisions
Template page
More actions
+doc |
apparently the import is not necessary anymore? |
||
| Line 44: | Line 44: | ||
; Documentation to be done | ; Documentation to be done | ||
This template is linked with a mediawiki javascript, to | 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 [[Special:Mypage/monobook.js|monobook.js]]: | |||
<pre> | <pre> | ||
importScript('MediaWiki:Multilingual description.js'); | importScript('MediaWiki:Multilingual description.js'); | ||
</pre> | </pre> | ||
Revision as of 16:35, 17 September 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.