Template:Languages2/Lang: Difference between revisions

Content deleted Content added
special case for English
add extra span for language name
 
(5 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{{#ifeq: {{{1}}}{{{force|}}}|{{pagelang}}|en|
{{#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;en">[[{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}|{{#language:{{{1}}}}}]]</li><lispan class="sp-language-dividername">·English</lispan>|}}}}]]</includeonlyli>|
{{#ifexist: {{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}} |<li lang="{{{1}}}">[[{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}|<span class="language-name">{{#language:{{{1}}}}}</span>]]</li>|}}}}}}</includeonly>