What? You think an actual programming language might be easier to understand than widgets! Heresy! ;-)
The list field (s) is the closest thing to arrays in WikiText. So you could put [[Clean House]] [[Rename File]] into the list field of a tiddler called "aList". Then your tabs could look like: <<tabs "[list[aList]]" default:"" state:"$:/state/tab1" class:"tc-vertical" template="$:/talha131/Template/VerticalTab">> -- Mark On Saturday, July 14, 2018 at 11:46:17 AM UTC-7, talha131 wrote: > > I am trying to create a list a tiddlers inside tabs > > <<tabs "[[Clean Noise]][[Rename File]]" default:"" state:"$:/state/tab1" > class:"tc-vertical" template="$:/talha131/Template/VerticalTab">> > > The tiddlers are > > 1. Clean Noise > 2. Rename File > > I am going to add more to the list. > > Is it possible to create a list or an array and then pass it to tabs > macro? Something like > > let aList = [ > 'Clean Noise', > 'Rename > 'Other example' > ]; > > <<tabs <aList> default:"" state:"$:/state/tab1" class:"tc-vertical" > template="$:/talha131/Template/VerticalTab">> > > The advantage of this format is clear. I can add tiddlers to the list > easily. The syntax is clearer than putting everything inside a filter. Is > it possible? > > The obvious work around, I can think of, is to tag those tiddlers and use > the tag inside tabs macro. But I wonder if it is possible to do without > creating a new tag for few tiddlers, just to get tabs transclusion working. > > -- 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/32446e36-828d-4feb-9e07-74ba691299d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

