Template:Template link with subst and parameters: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Amalthea add maintainance categories, and removed {{pp-template}}, per talk page |
meta>Amalthea remove tracking categories, added support for up to 5 parameters, with an error if more are supplied to make future extensions easier. |
||
Line 1: | Line 1: | ||
{{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}|| | {{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||{{{6}}}}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}{{#if:{{{7|}}}|{{error|{{tl|tlsp}} only supports up to 5 template parameters}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |