<$list filter="[<currentTiddler>has[zcheader]]">
<div class="QuoteBox1"><span id="HeaderBlue">{{!!zcheader}}:</span> {{!!zcomment}}</div>
</$list>
<$list filter="[<currentTiddler>has[posters]]">
<$list filter="[<currentTiddler>has[lobbycards]]">
<$list filter="[<currentTiddler>has[disccovers]]">
<$list filter="[<currentTiddler>has[misc]]">
<div style="Container">
<$transclude tiddler="$:/_Layout_ButtonSection3"/>
</div>
</$list>
</$list>
</$list>
</$list>
<$list filter="[<currentTiddler>has[posters]] [<currentTiddler>has[lobbycards]] [<currentTiddler>has[disccovers]] [<currentTiddler>has[misc]] +[limit[1]]">
<div style="Container">
<$transclude tiddler="$:/_Layout_ButtonSection3"/>
</div>
</$list>
Hi ZaphodTry this:<$list filter="[<currentTiddler>has[posters]] [<currentTiddler>has[lobbycards]] [<currentTiddler>has[disccovers]] [<currentTiddler>has[misc]] +[limit[1]]">
<div style="Container">
<$transclude tiddler="$:/_Layout_ButtonSection3"/>
</div>
</$list>
PMario said:There are always several methods to achieve something in TW. Using the list widget as you do here is one of them.
IMO the $reveal widget in combination with the tw transclude mechanism and the transclude widget would be a better fit here.
But this is my impression having a very fast view at the problem. So I'd need to do some experiments - later today - to be sure.
I'm always open to new suggestions from those that know more than me (which, when it comes to TW, includes just about everyone! :-P ).
I will write up some notes and post them later.
Try this:<$list filter="[<currentTiddler>has[posters]] [<currentTiddler>has[lobbycards]] [<currentTiddler>has[disccovers]] [<currentTiddler>has[misc]] +[limit[1]]">
<div style="Container">
<$transclude tiddler="$:/_Layout_ButtonSection3"/>
</div>
</$list>
How can I do the negating counterpart, e.g. does NOT have any of...?
<$list filter="[is[current] -[has[posters]] -[has[lobbycards]]" emptyMessage=<<myMacro>>/>
There's a PR that would possibly address that use case:
is[empty] filter operator
https://github.com/Jermolene/TiddlyWiki5/pull/2186
I'll leave a comment there to see if I can spark some feedback.Best wishes,Tobias.
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@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/fcd6e81d-a394-4ec5-b8ad-35b644bb2326%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
... I am really not sure that they will be very helpful to anyone who doesn't have at least some background in digital logic and due to the limits of the symbols my keyboard makes easily the notation isn't very good. Let me know if you see any mistakes or have any questions.
I did make some tests, but with the existing reveal widget, it gets more complicated than using the list filter to mimic the reveal behaviour. .. So imo no different possibility from my side :)