Template:Languages Bar: Difference between revisions
From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
No edit summary Ā |
No edit summary Ā |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Template == |
== Template == |
||
Create the Link-Bar 'Other Languages'/'Andere Sprachen'. |
|||
<onlyinclude>{{ |
<onlyinclude>{{ |
||
Line 6: | Line 7: | ||
#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{ |
#ifeq:{{{1}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}|{{ |
||
#ifexist:{{{1}}}/{{{2}}}|{{ |
#ifexist:{{{1}}}/{{{2}}}|{{ |
||
#ifeq:{{{2}}}|{{ |
#ifeq:{{{1}}}/{{{2}}}|{{FULLPAGENAME}}||[[{{{2}}}:{{{1}}}]]}}}}}}</onlyinclude> |
||
}}</onlyinclude> |
|||
=== Usage: === |
=== Usage: === |
||
<nowiki>{{Languages_Bar|ROOTPAGENAME|LANGCODE}}</nowiki> |
<nowiki>{{Languages_Bar|ROOTPAGENAME|LANGCODE}}</nowiki> |
||
Example: |
|||
⚫ | |||
<nowiki>{{Languages_Bar|Main Page|de}}</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}}