Template:Languages2/Lang: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
special case for English |
don't show anything if this is current page - we already put it at the start in Template:Languages2 |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{1}}}| |
<includeonly>{{#ifeq: {{{1}}}|{{pagelang}}|| |
||
{{#ifeq: {{{1}}}|en| |
|||
<li lang="en" style="white-space: nowrap;">[[{{#titleparts:{{FULLPAGENAME}}|1}}|English]]</li><li class="sp-language-divider">·</li>| |
<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> |
{{#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> |