I think I got it. All I need is second logic construct and put the other logic in the parameter "emptyMessage", which is the message displayed when the list does not run:
<$list filter="[tag[sometag]is[tiddler]]" emptyMessage="Does not exist. Show a button using a macro to create it!" > It exists. Show a button to open the tiddler. </$list> On Friday, May 17, 2019 at 12:07:40 PM UTC-7, passingby wrote: > > I am thinking along these line. > > <$list filter="[tag[sometag]is[missing]]"> > It is missing . Show a button to create a tiddler here > </$list> > <$list filter="[tag[sometag]is[tiddler]]"> > It exists. Show a button to open the tiddler. > </$list> > > The second logic works but the first one does not because the list does > not 'run' when the check fails. > > On Friday, May 17, 2019 at 11:41:20 AM UTC-7, passingby wrote: >> >> I am trying to create child tiddlers of Journal tiddler. Every journal >> would have a few button which would either create a child tiddler or open >> if one already exists. Is there a way to accomplish 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 [email protected]. To post to this group, send email to [email protected]. 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/55affdb3-8c28-42a8-b108-47a68fbeb159%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

