Template:Template link with parameters: Difference between revisions

Updating to work like {{tlf}}: Now takes 0-8 parameters, shows empty but defined parameters, and prevents line wraps. Tested in /sandbox. See also talk page.
(Giving this template a separate /doc page, since reusing Template:Tl/doc here caused a number of problems.)
(Updating to work like {{tlf}}: Now takes 0-8 parameters, shows empty but defined parameters, and prevents line wraps. Tested in /sandbox. See also talk page.)
Line 1:
<span style="white-space:nowrap;">&#123;&#123;{{#if:{{{1|}}}
{{| [[{{ns:Template}}:{{{1}}}|{{{1}}}]] | tlp&#124;{{{2}}}... }}<noinclude>!--
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} }}<!--
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#124;{{{3}}} }}<!--
-->{{#ifeq:{{{4|x}}}|{{{4|}}}| &#124;{{{4}}} }}<!--
-->{{#ifeq:{{{5|x}}}|{{{5|}}}| &#124;{{{5}}} }}<!--
-->{{#ifeq:{{{6|x}}}|{{{6|}}}| &#124;{{{6}}} }}<!--
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| &#124;{{{7}}} }}<!--
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| &#124;{{{8}}} }}<!--
-->{{#ifeq:{{{9|x}}}|{{{9|}}}| &#124;{{{9}}} }}<!--
-->&#125;&#125;</span><noinclude>
 
{{pp-template|small=yes}}