Difference between revisions of "Template:I18n/Language Navigation Bar"

Jump to: navigation, search
m
m (Added explaination)
Line 1: Line 1:
 +
<noinclude>
 +
== 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:
 +
 +
<nowiki>{{Template:I18n/Language_Navigation_Bar|Foo}}</nowiki>
 +
 +
This will create a correctly linked bar that allows to switch between all translations of a site. If you want to add a new translation language, add
 +
it here and it will appear on all sites. Untranslated versions will appear
 +
red as usual.
 +
</noinclude>
 
<div class="MainPageBG" colspan="4" width="100%" style="border: 2px solid #AAAAAA; background-color: #FFFFFF; margin: 0.3em; padding: 0.25em;" valign="top">
 
<div class="MainPageBG" colspan="4" width="100%" style="border: 2px solid #AAAAAA; background-color: #FFFFFF; margin: 0.3em; padding: 0.25em;" valign="top">
 
<p style="width:95%;margin:auto;font-size:83.3%;text-align:center">
 
<p style="width:95%;margin:auto;font-size:83.3%;text-align:center">

Revision as of 23:27, 10 June 2007

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 site. If you want to add a new translation language, add it here and it will appear on all sites. Untranslated versions will appear red as usual.

[[{{{1}}}_(zh_CN)|简体中文]] | [[{{{1}}}_(de)|Deutsch]] | [[{{{1}}}|English]] | [[{{{1}}}_(fr)|Français]]



KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal