Template:Languages Bar: Difference between revisions
From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Create the Link-Bar 'Other Languages'/'Andere Sprachen'. |
Create the Link-Bar 'Other Languages'/'Andere Sprachen'. |
||
<onlyinclude>{{#ifeq:{{{2}}}|de|{{#ifexist:{{{1}}}|{{#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{#ifexist:{{{1}}}/{{{2}}}|{{#ifeq:{{{1}}}/{{{2}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}}}</onlyinclude> |
|||
<onlyinclude>{{ |
|||
#ifeq:{{{2}}}|de|{{ |
|||
#ifexist:{{{1}}}|{{ |
|||
#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{ |
|||
#ifexist:{{{1}}}/{{{2}}}|{{ |
|||
#ifeq:{{{1}}}/{{{2}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}} |
|||
}}</onlyinclude> |
|||
=== Usage: === |
=== Usage: === |
||
<nowiki>{{Languages_Bar|ROOTPAGENAME|LANGCODE}}</nowiki> |
<nowiki>{{Languages_Bar|ROOTPAGENAME|LANGCODE}}</nowiki> |
||
Example: |
|||
⚫ | |||
<nowiki>{{Languages_Bar|Main Page|de}}</nowiki> |
|||
⚫ |
Revision as of 11:06, 16 November 2006
Template
Create the Link-Bar 'Other Languages'/'Andere Sprachen'.
Usage:
{{Languages_Bar|ROOTPAGENAME|LANGCODE}}
Example:
{{Languages_Bar|Main Page|de}} {{Languages_Bar|Main Page|en}}