Template:Languages2/Lang: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Created page with "<includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#titleparts:{{FULLPAGENAME}}|1}}}}/{{{1}}} |<li lang="{{{1}}}" style="white-space: nowrap;">{{#if: {{{2|}}}|{{{2}}}/{{..."
 
add extra span for language name
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{1}}}{{{force|}}}|{{pagelang}}||
<includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#titleparts:{{FULLPAGENAME}}|1}}}}/{{{1}}} |<li lang="{{{1}}}" style="white-space: nowrap;">{{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]] | [[{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</li><li class="sp-language-divider">·</li>|}}</includeonly>
{{#ifeq: {{{1}}}|en|
<li lang="en">[[{{#titleparts:{{FULLPAGENAME}}|1}}|<span class="language-name">English</span>]]</li>|
{{#ifexist: {{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}} |<li lang="{{{1}}}">[[{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}|<span class="language-name">{{#language:{{{1}}}}}</span>]]</li>|}}}}}}</includeonly>

Latest revision as of 20:17, 14 March 2022