Template:Languages/Lang: Difference between revisions

Content deleted Content added
don't output empty <span> for non-existent languages
try making a proper list
 
(5 intermediate revisions by 3 users not shown)
Line 1:
<includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#iftitleparts: {{NAMESPACEFULLPAGENAME}} | {{NAMESPACE}}:}}{{BASEPAGENAME1}}}}/{{{1}}} |* &nbsp;&middot;&#32;<span lang="{{{1}}}" style="white-space: nowrap;">{{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]] | [[:{{NAMESPACE}}#titleparts:{{BASEPAGENAMEFULLPAGENAME}}|1}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|}}</includeonly>