Template:Languages: Difference between revisions
From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Template == |
== Template == |
||
<!-- |
|||
Tests1: {{PAGENAME}} {{FULLPAGENAME}} {{BASEPAGENAMEE}} {{ROOTPAGENAME}} {{SUBPAGENAME}} |
|||
Test2: {{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}||[[de:{{FULLPAGENAME}}]]}} |
|||
--> |
|||
<!-- |
<!-- |
||
{{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}||[[de:{{FULLPAGENAME}}]]}} |
{{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}||[[de:{{FULLPAGENAME}}]]}} |
||
Line 11: | Line 6: | ||
#ifeq:{{{1}}}/{{SUBPAGENAME}}|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}} |
#ifeq:{{{1}}}/{{SUBPAGENAME}}|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}} |
||
}}}} |
}}}} |
||
{{#ifeq:{{{1}}}|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}}}} |
|||
{{#ifeq:{{{1}}}/en|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}}}} |
|||
{{#ifeq:{{{1}}}/fr|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}}}} |
|||
{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}} |
|||
--> |
--> |
||
<onlyinclude><div style="vertical-align: middle; clear: both;"> |
<onlyinclude><div style="vertical-align: middle; clear: both;"> |
||
{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}} |
{{#ifeq:{{{1}}}|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}}}} |
||
{{#ifeq:{{{1}}}/en|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}}}} |
|||
{{#ifeq:{{{1}}}/fr|{{FULLPAGENAME}}|{{Languages_Bar|{{{1}}}|de}} {{Languages_Bar|{{{1}}}|en}} {{Languages_Bar|{{{1}}}|fr}}}} |
|||
---- |
---- |
||
[[Image:Geographylogo.png|25px|]] |
[[Image:Geographylogo.png|25px|]] |
Revision as of 10:53, 16 November 2006
Template
Usage
{{Languages|RootPageName}}
PageName sollte der Name der Standard-Seite (hier ' Deutsch ') sein. Jede andere Version ist eine Unterseite (sub-page), unter Verwendung des jeweiligen Language codes und sollte dieses Template ebenfalls einbinden. | PageName should be the name of the default (here ' Deutsch ') page. Each other version is a sub-page, using the corresponding language code, and should include this template in the same way. |
Zum Beispiel sollte auf der Hauptseite und den jeweiligen Unterseiten (sub-pages) {{{Languages|Hauptseite}}}
eingebunden werden. Die Sprachlinks werden automatisch erzeugt, je nachdem welche Seite existiert.
Supported languages
Page Name | Language |
---|---|
Main Page | Deutsch |
Main Page/en | English |
Main Page/fr | French |