Template:Languages2/Lang: Difference between revisions

Content deleted Content added
rm inline nowrap, should be done with CSS
add extra span for language name
 
Line 1:
<includeonly>{{#ifeq: {{{1}}}{{{force|}}}|{{pagelang}}||
{{#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>