Changes

Jump to: navigation, search

Template:Languages/Lang

36 bytes added, 06:34, 9 December 2006
Colon breaks on non-category pages. Added explicit check for cats.
<includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | :{{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | &nbsp;&bull;&nbsp;<span lang="{{{1}}}">[[{{#if: {{{2|}}}|{{{2}}}| {{#if: {{NAMESPACE}} | {{#ifeq: {{NAMESPACE}} | category | :}}{{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}}|{{#language:{{{1}}}}}]]</span>|<span></span>}}</includeonly><noinclude>
== Template ==
''This sub-template doesn't display properly when not included. Please see [[Template:Languages]] for the complete version.''
Anonymous user

Navigation menu