- Open https://tiddlywiki.com/prerelease/parameterised-transclusions/
- Create a tiddler with the below content and make it global (e.g. tag it with $:/tags/Macro)
\function .f(date) [!is[system]]:filter[get[created]split[]first[4]join[]compare:number:gt<date>]
- Now in any tiddler you like invoke
.f.
function (it is a user defined filter operator)
Example i:
<<list-links "[.f[2022]]">>
returns all tiddlers created after 2022
Example ii:
<<list-links "[.f[2014]limit[5]]">>
returns tiddlers created after 2014, limits the output to first 5 outputs.
Example iii:
<<list-links "[.f[2015]tag[Concepts]]">>
returns tiddlers created after 2015 and are tagged with Concepts
.
So don’t you think function is function ?