Template:Tlxi: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Gadget850
<tt> → <code>
meta>Patrick87
switch to using {{Template:tlg]] internally
Line 1: Line 1:
<includeonly><code><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!--
<includeonly>{{Tlg|italic=yes|code=yes|subst={{{subst|}}}|{{{1|}}}<!--
-->{{#if:{{{2|}}}|
-->|2{{#ifeq:{{{2}}}|{{{2|x}}}||x}}={{{2}}}<!--
&#124;''{{{2}}}''
-->|3{{#ifeq:{{{3}}}|{{{3|x}}}||x}}={{{3}}}<!--
}}<!--
-->|4{{#ifeq:{{{4}}}|{{{4|x}}}||x}}={{{4}}}<!--
-->{{#if:{{{3|}}}|
-->|5{{#ifeq:{{{5}}}|{{{5|x}}}||x}}={{{5}}}<!--
&#124;''{{{3}}}''
-->|6{{#ifeq:{{{6}}}|{{{6|x}}}||x}}={{{6}}}<!--
}}<!--
-->|7{{#ifeq:{{{7}}}|{{{7|x}}}||x}}={{{7}}}<!--
-->{{#if:{{{4|}}}|
-->|8{{#ifeq:{{{8}}}|{{{8|x}}}||x}}={{{8}}}<!--
&#124;''{{{4}}}''
-->|9{{#ifeq:{{{9}}}|{{{9|x}}}||x}}={{{9}}}<!--
}}<!--
-->|10{{#ifeq:{{{10}}}|{{{10|x}}}||x}}={{{10}}}<!--
-->{{#if:{{{5|}}}|
-->|11{{#ifeq:{{{11}}}|{{{11|x}}}||x}}={{{11}}}<!--
&#124;''{{{5}}}''
-->|12{{#ifeq:{{{12}}}|{{{12|x}}}||x}}={{{12}}}}}</includeonly><noinclude>
}}<!--
-->{{#if:{{{6|}}}|
&#124;''{{{6}}}''
}}<!--
-->{{#if:{{{7|}}}|
&#124;''{{{7}}}''
}}<!--
-->{{#if:{{{8|}}}|
&#124;''{{{8}}}''
}}<!--
-->{{#if:{{{9|}}}|
&#124;''{{{9}}}''
}}<!--
-->{{#if:{{{10|}}}|
&#124;''{{{10}}}''
}}<!--
-->{{#if:{{{11|}}}|
&#124;''{{{11}}}''
}}<!--
-->{{#if:{{{12|}}}|
&#124;''...''
}}<nowiki>}}</nowiki></code></includeonly><noinclude>


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

Revision as of 19:08, 8 June 2013


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}}{{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|...}}