\define containingTiddler(field) {{$(containingTiddler)$!!$field$}}<$set name=containingTiddler value=<<currentTiddler>>>
<$list filter='[tag[HelloThere]]'>
<<containingTiddler title>> - {{!!title}}<br>
</$list>
</$set>You have done two things for me, provided a resonable solution and confirmed I was not imagining things.
With respect to all the greatness of tiddlywiki this is to me a gap that must be filled, because I for one, and I suspect many others, expected a more direct approach to exist, so its absence was screwing with my mind, it took months for me to be able to even ask this simple question and in the mean time I have run down many rabit holes for many hours not to mention, once desperate, posting in the forum wondering why the solutions were never strait forward.
Unfortunatly intelegent people expect or assume that such simple requirements can already be satisfied in a consistent and comprehencive way in any sophisticated tool.
I am comming to expect I will find a few more as my expertise grows but such gaps really make the learning curve much steeper. I expect this issue alone complicates a lot of user coding, but is also forcing solutions to be convoluted. It is insidious because it is almost imposible to craft search keywords for something that is missing.
I would like to be corrected if I am wrong about this but I would prefer it to be fixed.
Thank you and
Regards
Tony
<$vars currentTiddler=1>
<$vars currentTiddler=2>
<$vars currentTiddler=3>
currentTiddler is <<currentTiddler>><br>
<$pop><$pop>
currentTiddler is <<currentTiddler>><br>
</$pop></$pop>
</$vars>
</$vars>
</$vars>outputs:
currentTiddler is 3
currentTiddler is 1
My Special use case of a variable I do not use for logical (display or dont display contents)
A Common filter seems to be "[is[current]<fieldname>] -[[no]]" to display if fieldname has a value of "yes"
<$list filter="[all[current]tag[script]]">
... your content comes here
</$list><$list filter="[all[current]has[hugo]]">
show me
</$list><$list filter="[all[current]hugo[a]]">
show me
</$list>Thanks, that is a lot cleaner but am I the only one who finds "all current" a bit non intuitive ?
Thanks
Tony