Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Multilingual description: Difference between revisions

Template page
+installation doc
+doc
Line 48: Line 48:
   importScript('MediaWiki:Multilingual description.js');
   importScript('MediaWiki:Multilingual description.js');
</pre>
</pre>
More information is available at [[:meta:Meta:Language_select]] and [[:meta:template:Ls]]





Revision as of 14:30, 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');

More information is available at meta:Meta:Language_select and meta:template:Ls


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.
Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.