Difference between revisions of "Template:Languages/Lang"
From Deep Blue Robotics Wiki
(param 2 sometimes starts by ":" , causing it to generate a bad definition list in the link target) |
(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|}}} | |
− | • <bdi lang="{{{1}}}"> | + | | • <bdi lang="{{{1|}}}">{{#if:{{{2|}}} |
− | }}</includeonly><noinclude> | + | |[[{{{2|}}}/{{{1|}}}|{{#language:{{{1|}}}}}]]]] |
+ | |[[{{FULLPAGENAME}}/{{{1|}}}|{{#language:{{{1|}}}}}]] | ||
+ | }}</bdi> | ||
+ | }}<includeonly><includeonly></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 19:29, 27 October 2013
{{#ifexist: {{#if:||Template:Languages/Lang}}/ | • {{#if:
|]] |[[Template:Languages/Lang/|]] }}
}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}