Template:Languages2/Lang: Difference between revisions

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