Difference between revisions of "Template:Languages/Lang"

From Veloopti Help
Jump to: navigation, search
(this should work with leading ":" in param 1 (bug in MW with too early expansion of return value of #if within links))
Line 1: Line 1:
 
{{#ifexist: {{#if:{{{2|}}}|{{{2|}}}|{{FULLPAGENAME}}}}/{{{1|}}}
 
{{#ifexist: {{#if:{{{2|}}}|{{{2|}}}|{{FULLPAGENAME}}}}/{{{1|}}}
 
|&nbsp;• <bdi lang="{{{1|}}}">{{#if:{{{2|}}}
 
|&nbsp;• <bdi lang="{{{1|}}}">{{#if:{{{2|}}}
   |[[{{{2|}}}/{{{1|}}}|{{#language:{{{1|}}}}}]]]]
+
   |[[{{{2|}}}/{{{1|}}}|{{#language:{{{1|}}}}}]]
 
   |[[{{FULLPAGENAME}}/{{{1|}}}|{{#language:{{{1|}}}}}]]
 
   |[[{{FULLPAGENAME}}/{{{1|}}}|{{#language:{{{1|}}}}}]]
 
   }}</bdi>
 
   }}</bdi>

Revision as of 11:30, 27 October 2013

50px Template documentation[create]