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
+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 get it rendering, you need load that script in your user [[Special:Mypage/monobook.js|monobook.js]] by adding the following line:
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>
More information is available at [[:meta:Meta:Language_select]] and [[:meta:template:Ls]]





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