Exactly how I would approach it. In order to store the myargument() definition and the "invoking" widget separately (i.e. in separate tiddlers) you have a few options.
Store it in any tiddler tagged `$:/tags/Macro`. This allows invoking the variable valuw from any scope/context within the wiki, and also allows "local overrides", i..e you can re-define it in another tiddler without that tag, and within that tiddler's scope it will have the new value. Or, you can store it in any tiddler, and in the tiddler you want to invoke it in, you put the pragma `\import [[NameOfTidWith Definition]]` (the param in a filter, so you can import multiple bun tag with `[tag[TagToImport]]`, etc). This imports all macro definitions into the current scope. Best, Joshua Fontany On Saturday, May 30, 2020 at 5:28:32 AM UTC-7, Leander wrote: > > \define myarguments() foo bar baz > > {{{ [enlist<myarguments>tagging[]] }}} > > Does the trick in your example. You need a filter operator that takes a > list as input for this though, so it's somewhat limited. > > *Edit:* A more flexible way and what you're probably looking for is > > \define myarguments() foo bar baz > > <$list filter="[enlist<myarguments>]" > > > {{{ [tag{!!title}] }}} > > </$list> > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f367d902-ab90-46c3-b24a-aeb755e68839%40googlegroups.com.