قالب:Multilingual description
(تم التحويل من قالب:Mld)
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=}}
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 available, to try it you need to add that line in your user vector.js:
importScript('MediaWiki:Multilingual description.js');
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
xx | xx can be any number of any supported language codes | string in language xx | optional |
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
- {{LangSwitch}}
Localization
This template is not intended to be localized.
Example
{{Multilingual description |de=deutscher Text |en=English text, if the text corresponding to the chosen language to display is not available, all languages will be displayed by default. |fr=texte français, si le texte correspondant à la langue choisie n’est pas disponible, toutes les langues seront affichées par défaut. |it=parole italiane |mk=Текст на македонски. Ако нема текст што соодветствува на одбраниот јазик, тогаш по основно ќе се прикажат сите јазици. |ru=Русский текст }}
produces:
Deutsch: deutscher Text
English: English text, if the text corresponding to the chosen language to display is not available, all languages 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
македонски: Текст на македонски. Ако нема текст што соодветствува на одбраниот јазик, тогаш по основно ќе се прикажат сите јазици.
русский: Русский текст
The above documentation is transcluded from قالب:Multilingual description/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |