Difference between revisions of "Template:Languages/Lang"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Reverted edits by DoesItReallyMatter (talk) to last revision by Edwardw)
(I improved this template, it now uses a parser function to calculate the page names automatically. All my work, so no attribution is necessary for copyright)
Line 1: Line 1:
<includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | &nbsp;&bull;&#32;<span lang="{{{1}}}">{{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</includeonly><noinclude>
+
<includeonly><!--
 +
-->{{#ifexist:{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}<!--
 +
-->|&nbsp;&bull;&#32;<span lang="{{{1}}}">[[{{#titleparts:{{FULLPAGENAME}}|1}}/{{{1}}}{{!}}{{#language:{{{1}}}}}]]</span><!--
 +
-->}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
Do not use. Special helper template of {{tl|Languages}}.
 
Do not use. Special helper template of {{tl|Languages}}.

Revision as of 04:18, 8 February 2019

Usage

Do not use. Special helper template of {{Languages}}.