Difference between revisions of "Template:Tlg"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Patrick87
(handle empty but specified first parameter)
imported>Dinoguy1000
(class="nowrap"; {{!((}} instead of {{!(}}{{!(}}; simpler (lighter on the parser) empty parameter checks)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
 
Templates tlc, tld, tlf have the following wrapping everything; do we need it?
 
Templates tlc, tld, tlf have the following wrapping everything; do we need it?
<span style="white-space:nowrap;">
+
<span class="nowrap">
 
--><!--
 
--><!--
  
Line 16: Line 16:
 
-->{{#if:{{{nolink|}}}
 
-->{{#if:{{{nolink|}}}
 
       |<!-- nolink=yes -->
 
       |<!-- nolink=yes -->
       |{{!(}}{{!(}}:<!-- opening brackets of link
+
       |{{!((}}:<!-- opening brackets of link
 
     -->{{#ifeq:{{padleft:|1|{{{1}}}}} <!-- check whether we have a colon at the beginning -->
 
     -->{{#ifeq:{{padleft:|1|{{{1}}}}} <!-- check whether we have a colon at the beginning -->
 
         |:
 
         |:
Line 43: Line 43:
  
 
-- add parameters
 
-- add parameters
-->{{#ifeq:{{{2|}}}|{{{2|x}}}|&#124;{{{2}}}}}<!--
+
-->{{#ifeq:{{{2|¬}}}|¬||&#124;{{{2}}}}}<!--
-->{{#ifeq:{{{3|}}}|{{{3|x}}}|&#124;{{{3}}}}}<!--
+
-->{{#ifeq:{{{3|¬}}}|¬||&#124;{{{3}}}}}<!--
-->{{#ifeq:{{{4|}}}|{{{4|x}}}|&#124;{{{4}}}}}<!--
+
-->{{#ifeq:{{{4|¬}}}|¬||&#124;{{{4}}}}}<!--
-->{{#ifeq:{{{5|}}}|{{{5|x}}}|&#124;{{{5}}}}}<!--
+
-->{{#ifeq:{{{5|¬}}}|¬||&#124;{{{5}}}}}<!--
-->{{#ifeq:{{{6|}}}|{{{6|x}}}|&#124;{{{6}}}}}<!--
+
-->{{#ifeq:{{{6|¬}}}|¬||&#124;{{{6}}}}}<!--
-->{{#ifeq:{{{7|}}}|{{{7|x}}}|&#124;{{{7}}}}}<!--
+
-->{{#ifeq:{{{7|¬}}}|¬||&#124;{{{7}}}}}<!--
-->{{#ifeq:{{{8|}}}|{{{8|x}}}|&#124;{{{8}}}}}<!--
+
-->{{#ifeq:{{{8|¬}}}|¬||&#124;{{{8}}}}}<!--
-->{{#ifeq:{{{9|}}}|{{{9|x}}}|&#124;{{{9}}}}}<!--
+
-->{{#ifeq:{{{9|¬}}}|¬||&#124;{{{9}}}}}<!--
-->{{#ifeq:{{{10|}}}|{{{10|x}}}|&#124;{{{10}}}}}<!--
+
-->{{#ifeq:{{{10|¬}}}|¬||&#124;{{{10}}}}}<!--
-->{{#ifeq:{{{11|}}}|{{{11|x}}}|&#124;{{{11}}}}}<!--
+
-->{{#ifeq:{{{11|¬}}}|¬||&#124;{{{11}}}}}<!--
 
-->{{#if:{{{12|}}}|&#124;''...''}}<!--
 
-->{{#if:{{{12|}}}|&#124;''...''}}<!--
  

Revision as of 06:57, 5 June 2013

Template documentation[create]