On Monday, September 29, 2014 10:44:06 PM UTC-4, Regan Jackson wrote: > > > > > > > > > > > *Hello, I am very new to Tiddlywiki, forgive my ignorance.What I want to > do is populate a column in a table with a list of tiddlys with the same tab > name(auto updated).For exampleI have 5 tiddlers tagged as 'tagName'* > ---- > *I've create a tiddly with just the list of TiddlyNames* > > *ListTagNameTiddly* > > {{{[tag[tagName]]}}} > > *which outputs* > *TiddlyName1* > > *TiddlyName2 TiddlyName3* > etc > > --- > I would like column A to be numbered and column B to show the name of the > tiddly tagged with 'tagName', and possibly a 3rd column that is blank. > > |1 | tid1| > |2 | tid2| > |3 | tid3| > |4 | tid4| > |5 | tid5| > > Is there an easy way to do this? >
It is not straightforward but the simplest way that I have found is using this structure where you want you table that runs the filter results through a template: <table> <tr> <th>Column 1 Heading</th> <th>Column 2 Heading</th> <th>Column 3 Heading</th> </tr> {{{[!has[draft.of]tag[tag_of_interest]field:field_of_interest[value_to_match]sort[]]||expandTable}}} </table> Where expandTable is another tiddler containing simply: <tr> <td>''{{!!field_to_populate_column_1}}''</td> <td>''{{!!field_to_populate_column_2}}''</td> <td align="right">''{{!!field_to_populate_column_3_but_right_aligned}}''</td> </tr> Not exactly what you wanted but you likely can get the results you need ... although I am not sure how you would autoincrement the number for column 1. Maybe you can mix in some ordered list elements in there somewhere ... not sure. Hope this helps. /Mike -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.