I am trying to understand how the concept I used in TWC could be migrated to TW5. That concept was: there is a tiddler A which contains a list (based on ForEachTiddlerPlugin). It needs a parameter for filtering. There is a tiddler B including a select list which is used for filtering the list. It also transcludes tiddler A passing the value of the select list as parameter.
I have now one tiddlerin TW5 with the following content that works: <$select field="filter-field"> <option value="ExtendedBrain">All</option> <option value="ExtendedBrainButton">ExtendedBrainButton</option> <option value="ExtendedBrainHeadTemplate">ExtendedBrainHeadTemplate</option> </$select> <table> <tr> <th>Name</th> <th>Date</th> <th>Date</th> <th>Fields</th> </tr> <$list filter="[tag[ExtendedBrain]] +[tag{!!filter-field}]" emptyMessage="Nothing found"> <tr> <td><$link><$view field=title/></$link></td> <td>{{!!modified}}</td> <td><$view field="modified"/></td> <td> <$list filter="[{!!title}fields[]sort[title]] -[all[shadows]removeprefix[$:/language/Docs/Fields/]]" emptyMessage="Nothing found">{{!!title}} </$list> </td> </tr> </$list> </table> I would like to split this content in two tiddlers: - tiddler A containing the select list and transcluding tiddler B - tiddler B containing the filter formatted as table In the TW5 reference I found in https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText that maybe this could be solved by using macros. But I am not sure if this is the "right" or recommended way to do it ... hints appreciated. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/039abdfd-a619-40b5-9009-5664942ca038%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.