For wikt:nl:Sjabloon:citeer (citation template) I'm running into node-count limit being exceeded with heavy use. This happens when the template is used 20-25 times, depending on circumstances. Actual speed is not the issue, page rendering takes about 6 seconds when using the template 20 times and I can probably get that number down. Ironically, in getting that number down, I'll probably only accumulate more nodes. Many of the nodes result from wikt:nl:Sjabloon:Wikipedia artikel which searches various lists of Wikipedia article names, to determine if a WP article exists for something. For example, requesting "Aladdin en de wonderlamp" in the category book titles returns w:nl:Aladdin en de wonderlamp (boek).
A major issue is that I often do something like "{{#if:{{something REALLY expensive}}|{{something REALLY expensive}}|another thing}} or {{#switch:{{something REALLY expensive}}|{{something ELSE, also REALLY expensive}}={{something REALLY expensive}}|{{something ELSE, also REALLY expensive}}}}. In both these cases, I'm running {{something REALLY expensive}} twice. I know I can solve this by creating a new template, but if I create a new template (and pass all the parameters to the new template) every single time I do this, I go nuts.
If only I could just get back that value. Side note: is it even possible to raise the node count limit on a wiki?