Template:Multilingual description: Difference between revisions
Template page
More actions
mNo edit summary |
m add more missing languages (see United Kingdom) |
||
| Line 2: | Line 2: | ||
ordered by direction then by script: | ordered by direction then by script: | ||
* Latin: | * Latin: | ||
-->{{#if:{{{ast|}}}|{{ls|ast|{{{ast|}}}}}}}<!-- | |||
-->{{#if:{{{af|}}}|{{ls|af|{{{af|}}}}}}}<!-- | -->{{#if:{{{af|}}}|{{ls|af|{{{af|}}}}}}}<!-- | ||
-->{{#if:{{{br|}}}|{{ls|br|{{{br|}}}}}}}<!-- | -->{{#if:{{{br|}}}|{{ls|br|{{{br|}}}}}}}<!-- | ||
-->{{#if:{{{ca|}}}|{{ls|ca|{{{ca|}}}}}}}<!-- | -->{{#if:{{{ca|}}}|{{ls|ca|{{{ca|}}}}}}}<!-- | ||
-->{{#if:{{{cs|}}}|{{ls|cs|{{{cs|}}}}}}}<!-- | -->{{#if:{{{cs|}}}|{{ls|cs|{{{cs|}}}}}}}<!-- | ||
-->{{#if:{{{cy|}}}|{{ls|cy|{{{cy|}}}}}}}<!-- | |||
-->{{#if:{{{da|}}}|{{ls|da|{{{da|}}}}}}}<!-- | -->{{#if:{{{da|}}}|{{ls|da|{{{da|}}}}}}}<!-- | ||
-->{{#if:{{{de|}}}|{{ls|de|{{{de|}}}}}}}<!-- | -->{{#if:{{{de|}}}|{{ls|de|{{{de|}}}}}}}<!-- | ||
| Line 14: | Line 16: | ||
-->{{#if:{{{fi|}}}|{{ls|fi|{{{fi|}}}}}}}<!-- | -->{{#if:{{{fi|}}}|{{ls|fi|{{{fi|}}}}}}}<!-- | ||
-->{{#if:{{{fr|}}}|{{ls|fr|{{{fr|}}}}}}}<!-- | -->{{#if:{{{fr|}}}|{{ls|fr|{{{fr|}}}}}}}<!-- | ||
-->{{#if:{{{ga|}}}|{{ls|ga|{{{ga|}}}}}}}<!-- | |||
-->{{#if:{{{gl|}}}|{{ls|gl|{{{gl|}}}}}}}<!-- | -->{{#if:{{{gl|}}}|{{ls|gl|{{{gl|}}}}}}}<!-- | ||
-->{{#if:{{{hr|}}}|{{ls|hr|{{{hr|}}}}}}}<!-- | -->{{#if:{{{hr|}}}|{{ls|hr|{{{hr|}}}}}}}<!-- | ||
| Line 19: | Line 22: | ||
-->{{#if:{{{id|}}}|{{ls|id|{{{id|}}}}}}}<!-- | -->{{#if:{{{id|}}}|{{ls|id|{{{id|}}}}}}}<!-- | ||
-->{{#if:{{{it|}}}|{{ls|it|{{{it|}}}}}}}<!-- | -->{{#if:{{{it|}}}|{{ls|it|{{{it|}}}}}}}<!-- | ||
-->{{#if:{{{kw|}}}|{{ls|kw|{{{kw|}}}}}}}<!-- | |||
-->{{#if:{{{la|}}}|{{ls|la|{{{la|}}}}}}}<!-- | -->{{#if:{{{la|}}}|{{ls|la|{{{la|}}}}}}}<!-- | ||
-->{{#if:{{{lt|}}}|{{ls|lt|{{{lt|}}}}}}}<!-- | -->{{#if:{{{lt|}}}|{{ls|lt|{{{lt|}}}}}}}<!-- | ||
-->{{#if:{{{ms|}}}|{{ls|ms|{{{ms|}}}}}}}<!-- | -->{{#if:{{{ms|}}}|{{ls|ms|{{{ms|}}}}}}}<!-- | ||
-->{{#if:{{{nl|}}}|{{ls|nl|{{{nl|}}}}}}}<!-- | -->{{#if:{{{nl|}}}|{{ls|nl|{{{nl|}}}}}}}<!-- | ||
-->{{#if:{{{nn|}}}|{{ls|nn|{{{nn|}}}}}}}<!-- | |||
-->{{#if:{{{no|}}}|{{ls|no|{{{no|}}}}}}}<!-- | -->{{#if:{{{no|}}}|{{ls|no|{{{no|}}}}}}}<!-- | ||
-->{{#if:{{{oc|}}}|{{ls|oc|{{{oc|}}}}}}}<!-- | -->{{#if:{{{oc|}}}|{{ls|oc|{{{oc|}}}}}}}<!-- | ||
-->{{#if:{{{pl|}}}|{{ls|pl|{{{pl|}}}}}}}<!-- | -->{{#if:{{{pl|}}}|{{ls|pl|{{{pl|}}}}}}}<!-- | ||
| Line 30: | Line 34: | ||
-->{{#if:{{{sc|}}}|{{ls|sc|{{{sc|}}}}}}}<!-- | -->{{#if:{{{sc|}}}|{{ls|sc|{{{sc|}}}}}}}<!-- | ||
-->{{#if:{{{sk|}}}|{{ls|sk|{{{sk|}}}}}}}<!-- | -->{{#if:{{{sk|}}}|{{ls|sk|{{{sk|}}}}}}}<!-- | ||
-->{{#if:{{{sl|}}}|{{ls|sl|{{{sl|}}}}}}}<!-- | |||
-->{{#if:{{{sv|}}}|{{ls|sv|{{{sv|}}}}}}}<!-- | -->{{#if:{{{sv|}}}|{{ls|sv|{{{sv|}}}}}}}<!-- | ||
-->{{#if:{{{tr|}}}|{{ls|tr|{{{tr|}}}}}}}<!-- | -->{{#if:{{{tr|}}}|{{ls|tr|{{{tr|}}}}}}}<!-- | ||
| Line 37: | Line 42: | ||
* Cyrillic: | * Cyrillic: | ||
-->{{#if:{{{bg|}}}|{{ls|bg|{{{bg|}}}}}}}<!-- | -->{{#if:{{{bg|}}}|{{ls|bg|{{{bg|}}}}}}}<!-- | ||
-->{{#if:{{{mk|}}}|{{ls|mk|{{{mk|}}}}}}}<!-- | |||
-->{{#if:{{{ru|}}}|{{ls|ru|{{{ru|}}}}}}}<!-- | -->{{#if:{{{ru|}}}|{{ls|ru|{{{ru|}}}}}}}<!-- | ||
-->{{#if:{{{tg|}}}|{{ls|tg|{{{tg|}}}}}}}<!-- | |||
-->{{#if:{{{uk|}}}|{{ls|uk|{{{uk|}}}}}}}<!-- | -->{{#if:{{{uk|}}}|{{ls|uk|{{{uk|}}}}}}}<!-- | ||
* Greek: | * Greek: | ||
| Line 50: | Line 57: | ||
-->{{#if:{{{ja|}}}|{{ls|ja|{{{ja|}}}}}}}<!-- | -->{{#if:{{{ja|}}}|{{ls|ja|{{{ja|}}}}}}}<!-- | ||
-->{{#if:{{{zh|}}}|{{ls|zh|{{{zh|}}}}}}}<!-- | -->{{#if:{{{zh|}}}|{{ls|zh|{{{zh|}}}}}}}<!-- | ||
-->{{#if:{{{zh-classical|}}}|{{ls|zh-classical |{{{zh-classical|}}}}}}}<!-- | |||
* Hebrew (RTL): | * Hebrew (RTL): | ||
-->{{#if:{{{he|}}}|{{ls|he|{{{he|}}}}}}}<!-- | -->{{#if:{{{he|}}}|{{ls|he|{{{he|}}}}}}}<!-- | ||
Revision as of 08:12, 7 October 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.