Last modified: 2010-05-15 15:59:51 UTC
I have a template that invokes another template like so: {{wowlink|{{{1}}}|{{{2}}}|i|item}} I tried to convert this template to include a font coloration as a third parameter: {{wowlink|{{#if:{{{3|}}}|<span style="color: {{{3}}}">{{{1}}}</span>}}|{{{1}}}}}|{{{2}}}|i|item}} And it rendered like so (the start of the rendered template only): }">{{{1}}} Notice the }"> that's being rendered as text. So, it seems that the parser is becoming confused over the nesting of parameter substitution and quoting. My assumption is that this is a bug, and I haven't found anything that contradicts that assumption, but if anyone has information to the contrary, I'd be happy to hear it. The template now (correct, but without color support): http://www.ajs.com/ajswiki/Template:Wowitem The template version with the bug: http://www.ajs.com/ajsw/index.php?title=Template:Wowitem&oldid=5433
Oops, I had an extra set of }} in that, but the bug still remains the same. See the corrected version that still demonstrates the bug at: http://www.ajs.com/ajsw/index.php?title=Template:Wowitem&oldid=5435
Works fine as of HEAD (1.14a) with the new Parser. OldParser still parses this brokenly. On the other hand, it's not really supported too much anymore. I'd recommend upgrading.