Template:Template link with parameters: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Giving this template a separate /doc page, since reusing Template:Tl/doc here caused a number of problems.
meta>Davidgothberg
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: Line 1:
{{[[{{ns:Template}}:{{{1}}}|{{{1}}}]]&#124;{{{2}}}}}<noinclude>
<span style="white-space:nowrap;">&#123;&#123;{{#if:{{{1|}}}
| [[{{ns:Template}}:{{{1}}}|{{{1}}}]] | tlp&#124;... }}<!--
-->{{#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}}
{{pp-template|small=yes}}

Revision as of 08:35, 19 February 2009

{{tlp|...}}