Template:I18n/Language Navigation Bar: Difference between revisions

From KDE TechBase
No edit summary
m (Reverted edits by Neverendingo (talk) to last revision by AnneW)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Template:I18n/Language Navigation Bar|Template:I18n/Language_Navigation_Bar}}
{{Template:I18n/Language Navigation Bar|Template:I18n/Language_Navigation_Bar}}
== Nasıl kullanılır ==
== How to Use ==


This template needs to be included in all translations of one page.
This template needs to be included in all translations of one page.
Line 15: Line 15:
red as usual.
red as usual.
</noinclude>
</noinclude>
<includeonly>
=== {{{1}}} ===
<div style="margin:auto;font-size:83.3%;text-align:left">
<div style="margin:auto;font-size:83.3%;text-align:left">


Line 42: Line 45:
<span lang="ru">[[Добро пожаловать в KDE TechBase (ru)|Русский]]</span> |
<span lang="ru">[[Добро пожаловать в KDE TechBase (ru)|Русский]]</span> |
<span lang="se">[[{{{1}}}_(se)|Svenska]]</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="sl">[[{{{1}}}_(sl)|Slovenščina]]</span> |
<span lang="sr">[[{{{1}}}_(sr)|српски]]</span> |
<span lang="sr">[[{{{1}}}_(sr)|српски]]</span> |
Line 49: Line 53:
<span lang="zh_CN">[[{{{1}}}_(zh_CN)|简体中文]]</span> |
<span lang="zh_CN">[[{{{1}}}_(zh_CN)|简体中文]]</span> |
<span lang="zh_TW">[[{{{1}}}_(zh_TW)|繁體中文]]</span>
<span lang="zh_TW">[[{{{1}}}_(zh_TW)|繁體中文]]</span>
</div>
</div>
</includeonly>

Latest revision as of 15:36, 21 July 2012


Template:I18n/Language_Navigation_Bar

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.