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>{{
<onlyinclude>{{#ifeq:{{{2}}}|de|{{#ifexist:{{{1}}}|{{#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{#ifexist:{{{1}}}/{{{2}}}|{{#ifeq:{{{1}}}/{{{2}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}}}</onlyinclude>
#ifeq:{{{2}}}|de|{{
#ifexist:{{{1}}}|{{
#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{
#ifexist:{{{1}}}/{{{2}}}|{{
#ifeq:{{{1}}}/{{{2}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}}}</onlyinclude>


=== Usage: ===
=== Usage: ===

Latest revision as of 11:07, 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}}