Template:Languages Bar: Difference between revisions

From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary
No edit summary
Ā 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{
#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{
#ifexist:{{{1}}}/{{{2}}}|{{
#ifexist:{{{1}}}/{{{2}}}|{{
#ifeq:{{{1}}}/{{{2}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}
#ifeq:{{{1}}}/{{{2}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}}}</onlyinclude>
}}</onlyinclude>


=== Usage: ===
=== Usage: ===
<nowiki>{{Languages_Bar|ROOTPAGENAME|LANGCODE}}</nowiki>
<nowiki>{{Languages_Bar|ROOTPAGENAME|LANGCODE}}</nowiki>


Example:
<!-- {{Languages_Bar|Main_Page|en}} -->
<nowiki>{{Languages_Bar|Main Page|de}}</nowiki>
<nowiki>{{Languages_Bar|Main Page|en}}</nowiki>

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}}