Template:Multilingual description: Difference between revisions
Template page
More actions
→Examples: empty parameter are not really useful. this is meant to be employed with several description, each of the corresponding language. |
+installation doc |
||
| Line 43: | Line 43: | ||
; Documentation to be done | ; Documentation to be done | ||
This template is linked with a mediawiki javascript, to get it rendering, you need load that script in your user [[Special:Mypage/monobook.js|monobook.js]] by adding the following line: | |||
<pre> | |||
importScript('MediaWiki:Multilingual description.js'); | |||
</pre> | |||
===Example=== | ===Example=== | ||
Revision as of 14:19, 17 September 2009
- Documentation to be done
This template is linked with a mediawiki javascript, to get it rendering, you need load that script in your user monobook.js by adding the following line:
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.