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/doc: Difference between revisions

Template page
mNo edit summary
corr
Line 42: Line 42:
<pre>
<pre>
{{Multilingual description
{{Multilingual description
  |de=deutsche Texte
  |de=deutscher Text
  |en=English text, if the text corresponding to the choosen language to display is not available, all language will be displayed by default.
  |en=English text, if the text corresponding to the choosen language to display is not available, all language will be displayed by default.
  |it=parole italiane
  |it=parole italiane
Line 49: Line 49:
</pre>
</pre>
produces: {{Multilingual description
produces: {{Multilingual description
  |de=deutsche Texte
  |de=deutscher Text
  |en=English text, if the text corresponding to the choosen language to display is not available, all language will be displayed by default.
  |en=English text, if the text corresponding to the choosen language to display is not available, all language will be displayed by default.
  |it=parole italiane
  |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.
  |fr=texte français, si le texte correspondant à la langue choisie n’est pas disponible, toutes les langues seront affichées par défaut.
}}
}}

Revision as of 14:53, 20 April 2010

Allows to write a description in several languages, to display only the one set in the user preferences and to allow to read the others using a form.

Usage

{{Multilingual description |xx= }}

Or use the shorthand

{{Mld|… parameters as described …}}

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');

Template parameters

ParameterDescriptionDefaultStatus
xxxx can be any number of any supported language codesstring in language xxoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

See also

Localization

This template is not intended to be localized.

Example

{{Multilingual description
 |de=deutscher Text
 |en=English text, if the text corresponding to the choosen language to display is not available, 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: deutscher Text
English: English text, if the text corresponding to the choosen language to display is not available, 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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.