On 4/6/06, Jakob Voss jakob.voss@nichtich.de wrote:
- Make it usable in the template namespace only
I think that could be a reasonable restriction. Template code already tends to be messy, and these new functions might actually make it cleaner in a few cases. But I'd rather not see calculation functions and such used in the article namespace.
As for the syntax, might it make sense to use a double colon instead of a single colon, e.g. {{if:: <condition> | <then text> | <else text> }}? I'm not a big fan of the semantic overload we have with single colon prefixes.
Erik