(Somewhat related to a post I just made about “filter links”)
Here’s a syntactic idea: It would be neat if filters could be run directly instead of having to be encapsultated in arcane triple braces (arcanely called “filtered transclusion”)? I.e instead of
{{{ [tag[HelloThere]] }}}
…it could just directly be…
[tag[HelloThere]]
…and the output from the filter is shown.
AFAIK, a plain bracket link [[HelloThere]] is considered a filter, evidently run to give the link. (But [title[HelloThere]] does not work.)
Without knowing TW’s guts, I’m tempted to say that kind of notation would get TW into a bit of notation overload (i.e. a notation meaning different things depending on the scenario/context, and maybe getting a little hard to differentiate between the scenarios/contexts.)
That might be pushing successful parsing beyond limits.
But it would take somebody in the nitty-gritty-know to chime in.
Thanks for your thoughts. Yeah, I don’t expect it to be anything doable, I just figured it was a neat thought. The reason for the distinct triple braces are, I must assume, to make it unique. If single square brackets were used, I guess there’d have to be some additional condition on the content between the brackets and I’m sure this would make things more complicated.
And subtle looking too, but then I quickly fall back into paralysis by analysis, thinking “but maybe that is too subtle”: will it grab me by the jugular to let me know clearly what’s going to happen right there, in the mist of everything above and below it?
So yeah, triple-curly brackets: ugly, but definitely quick to see what’s going on. (“Yup, there’s a transclusion.”)