Template:Languages2/Lang: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
don't show anything if this is current page - we already put it at the start in Template:Languages2 |
add extra span for language name |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{1}}}|{{pagelang}}|| |
<includeonly>{{#ifeq: {{{1}}}{{{force|}}}|{{pagelang}}|| |
||
{{#ifeq: {{{1}}}|en| |
{{#ifeq: {{{1}}}|en| |
||
<li lang="en |
<li lang="en">[[{{#titleparts:{{FULLPAGENAME}}|1}}|<span class="language-name">English</span>]]</li>| |
||
{{#ifexist: {{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}} |<li lang="{{{1}}} |
{{#ifexist: {{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}} |<li lang="{{{1}}}">[[{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}|<span class="language-name">{{#language:{{{1}}}}}</span>]]</li>|}}}}}}</includeonly> |