Template:Tlg: Difference between revisions

60 bytes removed ,  10 years ago
class="nowrap"; {{!((}} instead of {{!(}}{{!(}}; simpler (lighter on the parser) empty parameter checks
(handle empty but specified first parameter)
(class="nowrap"; {{!((}} instead of {{!(}}{{!(}}; simpler (lighter on the parser) empty parameter checks)
Line 1:
<includeonly><!--
Templates tlc, tld, tlf have the following wrapping everything; do we need it?
<span styleclass="white-space:nowrap;">
--><!--
 
Line 16:
-->{{#if:{{{nolink|}}}
|<!-- nolink=yes -->
|{{!(}}{{!(}}:<!-- opening brackets of link
-->{{#ifeq:{{padleft:|1|{{{1}}}}} <!-- check whether we have a colon at the beginning -->
|:
Line 43:
 
-- add parameters
-->{{#ifeq:{{{2|¬}}}|{{{2¬|x}}}|&#124;{{{2}}}}}<!--
-->{{#ifeq:{{{3|¬}}}|{{{3¬|x}}}|&#124;{{{3}}}}}<!--
-->{{#ifeq:{{{4|¬}}}|{{{4¬|x}}}|&#124;{{{4}}}}}<!--
-->{{#ifeq:{{{5|¬}}}|{{{5¬|x}}}|&#124;{{{5}}}}}<!--
-->{{#ifeq:{{{6|¬}}}|{{{6¬|x}}}|&#124;{{{6}}}}}<!--
-->{{#ifeq:{{{7|¬}}}|{{{7¬|x}}}|&#124;{{{7}}}}}<!--
-->{{#ifeq:{{{8|¬}}}|{{{8¬|x}}}|&#124;{{{8}}}}}<!--
-->{{#ifeq:{{{9|¬}}}|{{{9¬|x}}}|&#124;{{{9}}}}}<!--
-->{{#ifeq:{{{10|¬}}}|{{{10¬|x}}}|&#124;{{{10}}}}}<!--
-->{{#ifeq:{{{11|¬}}}|{{{11¬|x}}}|&#124;{{{11}}}}}<!--
-->{{#if:{{{12|}}}|&#124;''...''}}<!--
 
Anonymous user