Template:Multilingual switch

From Biowikifarm Metawiki
Revision as of 09:31, 23 February 2012 by Gregor Hagedorn (Talk | contribs) (copy of code from nnvm.eu under same license, code originally by A. Plank)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A simple utility template to output various languages depending on the user-selected language. It uses the {{int:allmessages-language}} parser function for this (the {{CONTENTLANGUAGE}} isn't changed according to user’s settings but is a wiki-wide setting, defined in Localsettings.php and variable $wgLanguageCode.). English is default. USAGE:

{{Multilingual switch|de=Deutscher Text|en=English text|fr=C'est Français}}
Used languages
prameter language
be беларуская
bg български
cs čeština
cy Cymraeg
da dansk
de Deutsch
ee eʋegbe
el Ελληνικά
en English
es español
fi suomi
fr français
hu magyar
ie Interlingue
it italiano
lt lietuvių
lv latviešu
mt Malti
nl Nederlands
no norsk bokmål
pl polski
pt português
ro română
ru русский
sl slovenščina
sv svenska