First the background: I'd like to consolidate various categories of tiddlers on a given topic into a tabbed display. I've been putting something the following into menu-displayed tiddlers, substituting XYZ for a given "quality" - e.g. "Compassion"
---- <<tabs journalTypeTabs [[XYZ definitions]] "Definitions of XYZ" [[XYZ Definitions]] [[XYZ quotes]] "Quotes about XYZ" [[XYZ Quotes]] [[XYZ relationships]] "Relations between XYZ and other Qualities" [[XYZ Relationships]] [[XYZ statements]] "Statements about XYZ" [[XYZ Statements]] [[XYZ archives]] "Archived items on XYZ" [[XYZ Archives]] >> Then in each of the target tiddlers I have something like this (this example is the [[XYZ Definitions]] tiddler, in this case showing various "Definitions of Compassion". ---- <<tiddler OpenTaggedTiddlers with: "Open these" "XYZ AND #Definition AND NOT #archived" modified reverse close>> ---- <<matchTags " • [[%0]]" "\n" sort:-modified Compassion AND #Definition AND NOT #archived >> Now (finally) my questions: Rather than copying and pasting, then changing the relevant XYZ for each separate Quality manually, would it be possible to put this code into a template, and then pass in the title of the tiddler (or even better a field value? but I don't know anything about fields yet). In other words something like "$1" to represent the title of the tiddler "Compassion" would be substituted for XYZ in the above two blocks of code. At a higher level, since you understand the "bigger picture" of what I'm trying to accomplish (and thank you for reading this far!), can you suggest an easier or more elegant way, is there a package of plugins or a canned TW that does this sort of thing rather than my re-inventing the wheel? You can tell I'm a complete newbie to coding. . . -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/AOXDazxMywsJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

