Template talk:Tl/Archive 1

(Redirected from Template talk:Template link)
Latest comment: 18 years ago by Alphax

Can this be changed to handle things like self2|GFDL|cc-by-sa-2.5,2.0,1.0 — Omegatron 18:37, 8 November 2005 (UTC)

There's Template:Tlp for handling one parameter. I suppose you could make Template:Tlp2 for two parameters ... dbenbenn | talk 21:41, 8 November 2005 (UTC)


Improved to manage up to three parameters. tlp redirected Sanbec 10:35, 21 February 2006 (UTC)

I wonder, at es: it works fine! But here it put a anoying break Sanbec 10:49, 21 February 2006 (UTC)

Fixed :-) Sanbec 11:17, 21 February 2006 (UTC)

I don't think it's a good idea to use Template:Qif here. It makes the template code overly complicated. In the rare case where you need more than 1 parameter, the right way is to use <nowiki>.
Also, it breaks substitution. For example, {{subst:tl|foo}} produces
{{[[Template:foo|foo]]{{qif|test={{{2|}}}|then=<nowiki>|{{{2}}}}}{{qif|test={{{3|}}}|then=|{{{3}}}}}{{qif|test={{{4|}}}|then=|{{{4}}}}}}}  </nowiki>
Because of that, I'm going to revert. User:dbenbenn 14:05, 21 February 2006 (UTC)
It's now got up to 4 parameters using m:Parser functions. Examples:
subst:ing this produces {{foo}}. Alphax (talk) 00:19, 18 October 2006 (UTC)
Ok, that's a mess. Reverting. Alphax (talk) 00:27, 18 October 2006 (UTC)
Return to "Tl/Archive 1" page.