So I have a procedure that requires an argument that is a variable (e.g <<currentTiddler>>
) when called. I want to use the procedures output in a filter. How do I do this syntactically, i.e how do I get the argument into the procedure in the following?
\procedure one(myvariable) <<myvariable>>
{{{ [<one>match[bar]then[foobar]] }}}
…and same problem, I think if I tro to externalize it…
<$set name=procoutput value=??? >
{{{ [<procoutput>match[bar]then[foobar]] }}}
</$set>
It feels like this is something for parametrised transclusions but I can’t wrap my head around how to actually do it.
Help appreciated!