I just tried to build one but it is quite hard to enter the variables which reuse the listfield and tiddler if they are defined in the macro.
I think, it would be usefull to have a reusable example because I needed this several times and alway ended up rewriting the whole macro - just like in $:/core/ui/SideBar/Open where also the whole macro had to be rewritten.
This is using \define macro, rather than the new “\procedure” and is a way to “represent a parameter’s value as a variable”, so there needs to be a parameter with the name field as in <<__field__>>.
In the traditional macro, “field” can also be substituted $field$ and other variables $(variable)$
In the new procedure pragma and in other places such as functions parameters are now available as variable names eg <<field>> without a need for the underscores.