I would use a macro IF you plan to pass off filters manually. Assuming that you want the macro to work everywhere, you could create a tiddler with the tag $:/tags/Macro and contents like:
\define helpme(filter) <$list filter="$filter$"> <ul> <li><$transclude/></li> </ul> </$list> \end and then invoke the macro wherever you want like: <<helpme "[tag[Database Analyst - Net Tech - MIS - Help Desk]tag[ms-access]tag[sql]]">> HTH Mark On Monday, September 19, 2016 at 3:51:48 PM UTC-7, leeand00 wrote: > > I have the following template: > > <$list filter="[tag[Database Analyst - Net Tech - MIS - Help > Desk]tag[ms-access]tag[sql]]"> > <ul> > <li><$transclude/></li> > </ul> > </$list> > > > But I want to be able to call the template from else where and specify the > filter string from outside (almost like passing a variable to the template) > > <$list filter="$meFilterString"> > <ul> > <li><$transclude/></li> > </ul> > </$list> > > Is there per chance a way to do this? > -- 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/e10a3d9f-ee2a-4001-8ffc-3e0ff3c8259f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.