Template:Languages: Difference between revisions
From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
Translations: {{ |
Translations: {{ |
||
#ifexist:{{{1}}}/en|<span lang="en">[[{{{1}}}/en|English]]</span> • |
#ifexist:{{{1}}}/en|<span lang="en">[[{{{1}}}/en|English]]</span> • |
||
{{#ifeq:{{{1}}}/ |
{{#ifeq:{{{1}}}/en|{{FULLPAGENAME}}||[[en:{{{1}}}]]}} |
||
⚫ | |||
⚫ | |||
{{#ifeq:{{{1}}}/fr|{{FULLPAGENAME}}||[[fr:{{{1}}}]]}} |
|||
}}</span> |
}}</span> |
||
---- |
---- |
||
Line 24: | Line 27: | ||
}}{{ |
}}{{ |
||
#ifexist: {{{1}}}/fi | <span lang="fi">[[{{{1}}}/fi|{{#language:fi}}]]</span> • |
#ifexist: {{{1}}}/fi | <span lang="fi">[[{{{1}}}/fi|{{#language:fi}}]]</span> • |
||
⚫ | |||
⚫ | |||
}}{{ |
}}{{ |
||
#ifexist: {{{1}}}/it | <span lang="it">[[{{{1}}}/it|{{#language:it}}]]</span> • |
#ifexist: {{{1}}}/it | <span lang="it">[[{{{1}}}/it|{{#language:it}}]]</span> • |
||
Line 74: | Line 75: | ||
|- |
|- |
||
| Main Page'''/en''' || English |
| Main Page'''/en''' || English |
||
⚫ | |||
⚫ | |||
|} |
|} |
||
<!-- |
<!-- |
||
| Main Page'''/de''' || German |
| Main Page'''/de''' || German |
||
⚫ | |||
| Main Page'''/en''' || English |
|||
|- |
|- |
||
| Main Page'''/es''' || Spanish |
| Main Page'''/es''' || Spanish |
||
|- |
|- |
||
| Main Page'''/fi''' || Finnish |
| Main Page'''/fi''' || Finnish |
||
|- |
|||
⚫ | |||
|- |
|- |
||
| Main Page'''/it''' || Italian |
| Main Page'''/it''' || Italian |
Revision as of 18:39, 15 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 |