If a tiddler is in column a and in column b, and that tiddler should only appear once,
does it mean that tiddler does not appear at all , and if not then which column should show that tiddler ? That aside, <$list> are like loops in programming. For each item in the first loop, that one item will get processed for every item that is the second loop. Every tagb item is going to get processed once for every taga item. So you are going to get repeats of every tagb. Start with this and then we can work on what to do with items that are tagged both taga and tagb. <table> <tr><th >Tag_a</th><th >Tag_b</th></tr> <tr> <td> <$list filter="[!is[system]tag[a]sort[title]]" variable="taga"> <$link to=<<taga></$link> </$list> </td> <td> <$list filter="[!is[system]tag[b]sort[title]]" variable="tagb"> <$link to=<<taga></$link> </$list> </td> </tr> </table> On Wednesday, March 30, 2022 at 7:00:55 AM UTC-3 [email protected] wrote: > Hi, > > I am stuck on a basic question and would like to know your point of view. > > What would be your approach to create an html table with two columns, the > first to list all tiddlers labelled with "a" and the second to list all > tiddlers labelled with "b", but that each tidler only appears once and is > not duplicated? > > I started with this code but evidently it doesn't work as I would like. If > i have two tiddlers tagged with "a" and a tidller tagged with "b", the > tiddler tagged with "b" so appears on the first and on the second row. > > ``` > <table> > <th >Tag_a</th><th >Tag_b</th> > <$list filter="[!is[system]tag[a]sort[title]]" variable="taga"> > <$list filter="[!is[system]tag[b]sort[title]]" variable="tagb"> > <tr> > <td><$link to=<<taga></$link></td><td><$link to=<tagb></$link></td> > </tr> > </$list> > </$list> > </table> > ``` > Any help would be appreciated, thank you ! > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/884c62c1-b18e-4bf5-a5bf-3f32408b627bn%40googlegroups.com.

