Longshot, but I'm wondering if there's any way to do something like this:
%p # ONLY SHOW THIS IF LOCAL VARIABLE show_paras IS TRUE
= name
In other words, it always shows the content inside, but it only wraps a container around it if (some-condition) is true.