Template:I18n/Language Navigation Bar: Difference between revisions

From KDE TechBase
Line 16: Line 16:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
=== {{{1}}} ===
<div style="margin:auto;font-size:83.3%;text-align:left">
<b>Languages:</b>
<span lang="ar">[[{{{1}}}_(ar)|عربي]]</span> |
<span lang="ca">[[{{{1}}}_(ast)|Asturianu]]</span> |
<span lang="ca">[[{{{1}}}_(ca)|Català]]</span> |
<span lang="sl">[[{{{1}}}_(cs)|Česky]]</span> |
<span lang="csb">[[{{{1}}}_(csb)|Kaszëbsczi]]</span> |
<span lanf="da">[[{{{1}}}_(da)|Dansk]]</span> |
<span lang="de">[[{{{1}}}_(de)|Deutsch]]</span> |
<span lang="en">[[{{{1}}}|English]]</span> |
<span lang="eo">[[{{{1}}}_(eo)|Esperanto]]</span> |
<span lang="es">[[{{{1}}}_(es)|Español]]</span> |
<span lang="et">[[{{{1}}}_(et)|Eesti]]</span> |
<span lang="fa">[[{{{1}}}_(fa)|فارسی]]</span> |
<span lang="fi">[[{{{1}}}_(fi)|Suomi]]</span> |
<span lang="fr">[[{{{1}}}_(fr)|Français]]</span> |
<span lang="gl">[[{{{1}}}_(gl)|Galego]]</span> |
<span lang="it">[[{{{1}}}_(it)|Italiano]]</span> |
<span lang="ja">[[{{{1}}}_(ja)|日本語]]</span> |
<span lang="ko">[[{{{1}}}_(ko)|한국어]]</span> |
<span lang="no">[[{{{1}}}_(no)|Norwegian]]</span> |
<span lang="pl">[[{{{1}}}_(pl)|Polski]]</span> |
<span lang="pt_BR">[[{{{1}}}_(pt_BR)|Português Brasileiro]]</span> |
<span lang="ro">[[{{{1}}}_(ro)|Română]]</span> |
<span lang="ru">[[Добро пожаловать в KDE TechBase (ru)|Русский]]</span> |
<span lang="se">[[{{{1}}}_(se)|Svenska]]</span> |
<span lang="sk">[[{{{1}}}_(sk)|Slovenčina]]</span> |
<span lang="sl">[[{{{1}}}_(sl)|Slovenščina]]</span> |
<span lang="sr">[[{{{1}}}_(sr)|српски]]</span> |
<span lang="tr">[[{{{1}}}_(tr)|Türkçe]]</span> |
<span lang="vn">[[{{{1}}}_(vi)|Tiếng Việt]]</span> |
<span lang="uk">[[{{{1}}}_(uk)|Українська]]</span> |
<span lang="zh_CN">[[{{{1}}}_(zh_CN)|简体中文]]</span> |
<span lang="zh_TW">[[{{{1}}}_(zh_TW)|繁體中文]]</span>
</div>
</includeonly>

Revision as of 18:15, 19 July 2012


How to Use

This template needs to be included in all translations of one page. Let's assume we have page called "Foo". The translations are called Foo (de), Foo (fr), etc.

In all translations you must insert the following line:

{{Template:I18n/Language_Navigation_Bar|Foo}}

This will create a correctly linked bar that allows to switch between all translations of a page. If you want to add a new translation language, add it here and it will appear on all pages. Untranslated versions will appear red as usual.