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
počeštění (and some fixes on the english version too)
m testing possible rendering bugs in module, by embedding apostrophes for bold
Line 70: Line 70:
<pre>
<pre>
{{Multilingual description
{{Multilingual description
|de=deutscher Text
|de='''deutscher''' Text
|diq=No nuşte Zazakiyo
|diq=No nuşte Zazakiyo
|en=English text, if the text corresponding to the chosen language to display is not available, all languages will be displayed by default.
|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.
|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
|it=parole '''italiane'''.
|ja=日本語の文字。もし選択した言語に対応したテキストが正しく表示されない場合、デフォルトで全ての言語で表示されます。
|ja=日本語の文字。もし選択した言語に対応したテキストが正しく表示されない場合、デフォルトで全ての言語で表示されます。
|mk=Текст на македонски. Ако нема текст што соодветствува на одбраниот јазик, тогаш по основно ќе се прикажат сите јазици.
|mk=Текст на '''македонски'''. Ако нема текст што соодветствува на одбраниот јазик, тогаш по основно ќе се прикажат сите јазици.
|ru=Русский текст
|ru='''Русский''' текст
}}
}}
</pre>
</pre>
Line 90: Line 90:
}}:
}}:
{{Multilingual description
{{Multilingual description
|de=deutscher Text
|de='''deutscher''' Text
|diq=No nuşte Zazakiyo
|diq=No nuşte Zazakiyo
|en=English text, if the text corresponding to the chosen language to display is not available, all languages will be displayed by default.
|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.
|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
|it=parole '''italiane'''.
|ja=日本語の文字。もし選択した言語に対応したテキストが正しく表示されない場合、デフォルトで全ての言語で表示されます。
|ja=日本語の文字。もし選択した言語に対応したテキストが正しく表示されない場合、デフォルトで全ての言語で表示されます。
|mk=Текст на македонски. Ако нема текст што соодветствува на одбраниот јазик, тогаш по основно ќе се прикажат сите јазици.
|mk=Текст на '''македонски'''. Ако нема текст што соодветствува на одбраниот јазик, тогаш по основно ќе се прикажат сите јазици.
|ru=Русский текст
|ru='''Русский''' текст
}}
}}

Revision as of 16:16, 26 October 2013

This template allows you to write descriptions in different languages, to display only the one set in the user preferences. It also allows you to select and display a different language 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');

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
|diq=No nuşte Zazakiyo
|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'''.
|ja=日本語の文字。もし選択した言語に対応したテキストが正しく表示されない場合、デフォルトで全ての言語で表示されます。
|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.
Zazaki: No nuşte Zazakiyo
Македонски: Текст на македонски. Ако нема текст што соодветствува на одбраниот јазик, тогаш по основно ќе се прикажат сите јазици.
Русский: Русский текст
日本語 日本語の文字。もし選択した言語に対応したテキストが正しく表示されない場合、デフォルトで全ての言語で表示されます。
Cookies help us deliver our services. By using our services, you agree to our use of cookies.