Anyway, works like this:
and it works just like you'd think it'd work.
right, now, nested conditionals don't work (you can't put a conditional inside another conditional).
I've opted to not do nested conditionals in favor of performance.
conditions can also use && (|| not implemented right now), so you can do:
and "hello!" will be there if %3$s is not "0" or "argument".
I'm pretty sure matt's going to be the only one using this for a while, so I won't work too much more on it. when more people get around to templating, I'll have to flesh this out a bit.
Edited by: Sean , Oct 28th, 2010 @ 10:42 am