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}}}]]|{{{2}}}}}<noinclude> | <span style="white-space:nowrap;">{{{{#if:{{{1|}}} | ||
| [[{{ns:Template}}:{{{1}}}|{{{1}}}]] | tlp|... }}<!-- | |||
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| |{{{2}}} }}<!-- | |||
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| |{{{3}}} }}<!-- | |||
-->{{#ifeq:{{{4|x}}}|{{{4|}}}| |{{{4}}} }}<!-- | |||
-->{{#ifeq:{{{5|x}}}|{{{5|}}}| |{{{5}}} }}<!-- | |||
-->{{#ifeq:{{{6|x}}}|{{{6|}}}| |{{{6}}} }}<!-- | |||
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| |{{{7}}} }}<!-- | |||
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| |{{{8}}} }}<!-- | |||
-->{{#ifeq:{{{9|x}}}|{{{9|}}}| |{{{9}}} }}<!-- | |||
-->}}</span><noinclude> | |||
{{pp-template|small=yes}} | {{pp-template|small=yes}} |