“short-syntax” macros (using <<macroname ...>>
) don’t permit transclusion of parameter values, so something like this:
<<now {{$:/config/NewJournal/Title}}>>
won’t work, regardless of whether it is in a filter, or just occurs in regular wikitext. Of course, within wikitext, you can always use the full $macrocall
widget syntax, which DOES allow transclusion of parameter values, like this:
<$macrocall $name="now" format={{$:/config/NewJournal/Title}}/>
Unfortunately, you can’t invoke widgets from within filter syntax. However, when using filter syntax there is another way to apply a transcluded datetime format, like this:
{{{ [<now YYYY0MM0DD0hh0mm0ss0XXX>format:date{$:/config/NewJournal/Title}] }}}
- The
<now ...>
macro outputs a TWCore standard 17-digit datetime value
- The
format:date{...}
filter operator then applies the desired formatting retrieved from $:/config/NewJournal/Title
enjoy,
-e