Difference between revisions of "Template:Tlxi"

From blackwiki
Jump to navigation Jump to search
test>Kri
(Updated template with documentation)
test>This, that and the other
({{italic}} -> '' syntax)
Line 1: Line 1:
 
<includeonly><tt><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!--
 
<includeonly><tt><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!--
 
-->{{#if:{{{2|}}}|
 
-->{{#if:{{{2|}}}|
&#124;{{italic|{{{2}}}}}
+
&#124;''{{{2}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{3|}}}|
 
-->{{#if:{{{3|}}}|
&#124;{{italic|{{{3}}}}}
+
&#124;''{{{3}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{4|}}}|
 
-->{{#if:{{{4|}}}|
&#124;{{italic|{{{4}}}}}
+
&#124;''{{{4}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{5|}}}|
 
-->{{#if:{{{5|}}}|
&#124;{{italic|{{{5}}}}}
+
&#124;''{{{5}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{6|}}}|
 
-->{{#if:{{{6|}}}|
&#124;{{italic|{{{6}}}}}
+
&#124;''{{{6}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{7|}}}|
 
-->{{#if:{{{7|}}}|
&#124;{{italic|{{{7}}}}}
+
&#124;''{{{7}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{8|}}}|
 
-->{{#if:{{{8|}}}|
&#124;{{italic|{{{8}}}}}
+
&#124;''{{{8}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{9|}}}|
 
-->{{#if:{{{9|}}}|
&#124;{{italic|{{{9}}}}}
+
&#124;''{{{9}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{10|}}}|
 
-->{{#if:{{{10|}}}|
&#124;{{italic|{{{10}}}}}
+
&#124;''{{{10}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{11|}}}|
 
-->{{#if:{{{11|}}}|
&#124;{{italic|{{{11}}}}}
+
&#124;''{{{11}}}''
 
}}<!--
 
}}<!--
 
-->{{#if:{{{12|}}}|
 
-->{{#if:{{{12|}}}|

Revision as of 02:08, 21 April 2012


Use this template instead of {{tlx}} if you want the template parameters to be italicized.

Usage

{{Tlxi|Template|first parameter|second|third|...|tenth}}{{Template|first parameter|second|third|...|tenth}}
{{Tlxi|first parameter|...|third|tenth}}{{Template|first parameter|second|third|...|tenth}} if they might contain "=" signs.
{{Tlxi|Template|<nowiki>first|second|...|999th</nowiki>}}{{Template|first|second|...|999th}} (for more than 10 parameters)


If Template is given more than nine parameters, the remaining parameters have to be baked into the ninth parameter:

{{Tlxi|Template|first parameter|second|third|fourth|fifth|sixth|seventh|eighth|<nowiki>ninth|tenth|eleventh|twelfth|thirteenth|...</nowiki>}}
{{Template|first parameter|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|...}}


Template documentation[create]