Difference between revisions of "Template:Languages/Lang"
From Veloopti Help
(even simpler) |
(param 2 sometimes starts by ":" , causing it to generate a bad definition list in the link target) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexist: {{#if:{{{2|}}}|{{{2|}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}}| | <includeonly>{{#ifexist: {{#if:{{{2|}}}|{{{2|}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}}| | ||
− | • <bdi lang="{{{1}}}">[[{{#if:{{{2|}}}|{{{2|}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}}|{{#language:{{{1}}}}}]]</bdi> | + | • <bdi lang="{{{1}}}">[[{{#if:{{{2|}}}|<nowiki/>{{{2|}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}}|{{#language:{{{1}}}}}]]</bdi> |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 11:19, 27 October 2013
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |