Template:Languages2/Lang: Difference between revisions

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

Latest revision as of 20:17, 14 March 2022