[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread 'Mark S.' via TiddlyWiki
On Saturday, December 21, 2019 at 12:27:36 PM UTC-8, David Allen wrote: > > > Also, why is the ~ in front of the title again? > > That means "else". So if the first run doesn't find the target tiddler, the second run will use the current tiddler. -- You received this message because you are su

[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread David Allen
Thank you! This is working now. I didn't know the exact syntax for doing <<__parameter__>> inside a filter, so that helped. Also, why is the ~ in front of the title again? On Saturday, December 21, 2019 at 2:20:06 PM UTC-6, Mark S. wrote: > > Try > > \define img_gallery2(target_tiddler) > <$lis

[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread 'Mark S.' via TiddlyWiki
Try \define img_gallery2(target_tiddler) <$list filter="[<__target_tiddler__>!is[missing]] ~[title]"> <> <> \end On Saturday, December 21, 2019 at 11:32:31 AM UTC-8, David Allen wrote: > > *I do not want a new plugin, so please don't suggest one!* > I have a macro as follows: > > \define img

[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread bimlas
David Allen, I think you need to use the Tiddler widget (https://tiddlywiki.com/#TiddlerWidget): \define img_gallery2(target_tiddler) <$tiddler tiddler=<<__target_tiddler__>>> <> <> \end -- You received this message because you are subscribed to the Google Groups "