Template:Languages2/Lang: Difference between revisions

Content deleted Content added
simplify, that 2nd parameter is never used
special case for English
Line 1:
<includeonly>{{#ifeq: {{{1}}}|en|
<li lang="en" style="white-space: nowrap;">[[{{#titleparts:{{FULLPAGENAME}}|1}}|English]]</li><li class="sp-language-divider">·</li>|
{{#ifexist: {{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}} |<li lang="{{{1}}}" style="white-space: nowrap;">[[{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}|{{#language:{{{1}}}}}]]</li><li class="sp-language-divider">·</li>|}}}}</includeonly>