Difference between revisions of "Template:Tlxi"

From blackwiki
Jump to navigation Jump to search
test>Gadget850
(<tt> → <code>)
m (16 revisions imported)
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly><code><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!--
+
{{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}}}}}<noinclude>
}}<!--
+
{{Documentation}}
-->{{#if:{{{6|}}}|
+
<!-- Please add this template's categories to the /doc subpage and language links to Wikidata - thanks! -->
&#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.
 
 
 
=== Usage ===
 
 
 
: {{Tlx|Tlxi|Template|first parameter|second|third|...|tenth}} → {{Tlxi|Template|first parameter|second|third|...|tenth}}
 
: {{Tlx|Tlxi|Template|2=first parameter|3=second|4=third|...|11=tenth}} → {{Tlxi|Template|first parameter|second|third|...|tenth}} if they might contain "=" signs.
 
: {{Tlx|Tlxi|Template|&lt;nowiki>first|second|...|999th&lt;/nowiki>}} → {{Tlxi|Template|<nowiki>first|second|...|999th</nowiki>}} (for more than 10 parameters)
 
 
 
<br/>
 
 
 
If ''Template'' is given more than nine parameters, the remaining parameters have to be baked into the ninth parameter:
 
: {{Tlx|Tlxi|Template|first parameter|second|third|fourth|fifth|sixth|seventh|eighth|&lt;nowiki><nowiki>ninth|tenth|eleventh|twelfth|thirteenth|...&lt;/nowiki></nowiki>}}
 
: →
 
: {{Tlxi|Template|first parameter|second|third|fourth|fifth|sixth|seventh|eighth|<nowiki>ninth|tenth|eleventh|twelfth|thirteenth|...</nowiki>}}
 
 
 
<br/>
 
 
 
{{Documentation|Template:Tlx/doc}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:45, 6 September 2020

{{[[Template:|]]}}

Template documentation[create]