Template:OrigLang

 |EN AR  BG  BN  CS   DE </li> <span title="Ελληνικά">EL </li>  EO </li> <span title="Español">ES </li> <span title="Français">FR </li> <span title="עברית">HE </li> <span title="हिन्दी">HI </li>  HU </li>  HR </li>  IT </li> <span title="日本語">JA </li> <span title="lietuvių kalba">LT </li>  NL </li>  NO </li> <span title="ਪੰਜਾਬੀ">PA </li>  PL </li> <span title="Português">PT </li> <li><span title="Română">RO </li> <li><span title="русский">RU </li> <li> SV </li> <li><span title="ไทย">TH </li> <li><span title="Türkçe">TR </li> <li><span title="українська">UK </li> <li><span title="Tiếng Việt">VI </li> <li><span title="中文 (Zhōngwén), 汉语, 漢語">ZH-HANS </li> <li class="lang_title">Article Title: </li> </ul>

Usage
You may display a title to your page, that is different to the page name by OrigLang. On the translated pages, you have to change it to use the second Template Template:Lang.

Documentation
This template should be added to all original english articles in the main namespace, at least to all that are or are supposed to be translated.

It shows the list of all languages an article should be translated to and also sets the correct, localised display title of the article.

Adding new Languages
Additional languages can easily be added here. You just need to add one line:


 * put a new language link into the div container (please make sure they are alphabetically ordered):
 * <li>HU</li>

The subpages will automatically be used by different MediaWiki extensions which detect language settings in browsers or user preferences. The user will then automatically be redirected into the appropriate subpage.

Appearance
The CSS code for the div container of the class "lang" can be adopted in MediaWiki:Common.css.