*Terrific! * This hits and solves the very core of my problem. I bow in awe.
Thank you! Fabian Am Montag, 15. Juli 2019 08:35:42 UTC+2 schrieb TonyM: > > Fabian, > > I discovered a Quick Solution > > In a tiddler tagged $:/tags/Macro > > past the following > \define tabsetname() [[$(currentTiddler)$-overview]] [[$(currentTiddler)$- > details]] [[?]] > \define show-tabset(tabsetname) > <$set name=tabs-in value=<<$tabsetname$>> > > <$set name=state value=<<qualify $:/temp/tabset-here-state>> > > <$macrocall $name=tabs tabsList=<<tabs-in>> state=<<state>> /> > </$set></$set> > <hr> > \end > > To test the default place this in any tiddler > <<show-tabset tabsetname>> > > Notes > > - Note how the definition of tabsetname uses $(currentTiddler)$ as a > prefix for the tab. This makes the tab unique to this tiddler. > - In the case of the tab called [[?]] it will be the same every > time you use that tabset, or if it is also in another tabset > - With Marios edit-tabs or Link-to-tabs plugin you can click on the > link icon that appears and edit or create the tiddler in the tab > - In each tab tiddler you can add a caption field and its contents > will become the tabname. > > To create your own tabset copy the line > \define tabsetname() [[$(currentTiddler)$-overview]] [[$(currentTiddler)$- > details]] [[?]] > > and rename and edit it > > \define mytabsetname() [[$(currentTiddler)$-readme]] [[$(currentTiddler)$- > notes]] [[Guidelines]] > > > Then in any tiddler > <<show-tabset mytabsetname>> > > Or you could display this via the view template, eg in a tiddler tagged > $:/tags/ViewTemplate > <$list filter="[is[current]object-type[project]" variable=null> > <<show-tabset mytabsetname>> > </$list> > > An this will conditionally show the tabs on all tiddlers with a field > object-type containing the value project > > Using additional code in the above view template you could offer to create > the missing tab tiddlers from a template and other snazzy things. > > Regards > Tony > > > > > > On Monday, July 15, 2019 at 3:42:47 AM UTC+10, Fabian Losch wrote: >> >> Dear all, >> >> I try to set up a tiddly wiki for law. What I am trying to achieve is >> this: >> >> For each tiddler, I want a *tab section* called Verständnisfragen, >> Grenzfragen and Beispiele (understanding/comprehension, boundary questions >> and examples tab), which I can fill with content. >> Each tab shall depict typical questions on what is the idea of the >> respective idea, where are limits and what would be typical expamples and >> the corresponding answers. This would be the typical layout for many >> different tiddlers, lets say e.g. a tiddler for posession and a tiddler for >> ownership, each one of these tiddlers having these tabs. >> >> I am aware, that I can create correspondet tiddlers and link them into >> tabs via the exact name space. However, I assume there is a more elegant >> way to include these tiddlers via transclusion, as each tab has a tag of >> the correspondent mother tiddler. >> >> >> My question is now: How do I create *"dynamic" links (or filters) for >> tabs*, that link to all tiddlers that have the same tag as the >> respecitve tiddler name. Can you follow me on this? >> An *example *would be a tiddler called "Sonderrechtstheorie" and three >> more tiddlers tagged "Sonderrechtstheorie" also having one of the following >> tags "Verständnisfragen", "Grenzfragen" and "Beispiele", which I want to >> transclude as individual tabs in the mother tiddler "Sonderrechtstheorie". >> >> How do I do that? I can't get my mind around the filter notations ( >> <<tabs [tag["mothertiddler] AND [tag[Verständnisfragen] OR [Grenzfragen OR >> [Beispiele]] >>) >> I would appreciate any helpful hints! >> >> My ever-lasting gratitude for whoever might help me out here! >> >> Yours >> Fabian >> >> -- 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/a183f32c-852d-4161-861c-52f4e95d10c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

