[tw5] Re: Creating similar tabs sections for individual tiddlers

2019-07-15 Thread Fabian Losch

*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=<> >
> <$macrocall $name=tabs tabsList=<> state=<> />
> 
> 
> \end
>
> To test the default place this in any tiddler
> <>
>
> 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
> <>
>
> 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>
><>
> 
>
> 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 ( 
>> <> [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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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.


[tw5] Re: Creating similar tabs sections for individual tiddlers

2019-07-14 Thread Fabian Losch


Am Sonntag, 14. Juli 2019 19:42:47 UTC+2 schrieb Fabian Losch:
>
> 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 ( < [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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/b4df8d91-d545-4a47-896c-3eb5d4c3c53e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Creating similar tabs sections for individual tiddlers

2019-07-14 Thread Fabian Losch
Dear Wilson, 

your suggested solution seems to be a nice add-on in respects to a visual 
representation, but as far as i can see, it's (at the moment beeing) beyond 
the scope i want to achieve. Thanks anyway, might be useful in further 
development of my project. Thumps up for your suggestion :)

Am Sonntag, 14. Juli 2019 20:21:57 UTC+2 schrieb Ste Wilson:
>
> Would https://ihm4u.github.io/tw5plugs/ do the job? 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/06d168cc-970d-4d2c-9dad-56f863e85afd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Creating similar tabs sections for individual tiddlers

2019-07-14 Thread Fabian Losch
Dear Mat, 

in my laymen's view it seems sufficient, that the tab tiddlers have only 
one additional tag besides the mother tiddlers title, i.e. 
"Verständnisfragen", "Grenzfragen" or "Beispiele". 
However, if you have any suggstions on how to solve the problem in a more 
adavanced way, i am very open on how this could work. 

The idea is to present the reader a general introduction within the "mother 
tiddler", and then referring him to more detailed aspects when selecting 
one of the tabs. General idea is to enable the reader to check-proof 
himself on the underlying concpets of each tiddler (e.g. what's the concept 
of possession seen against the concept of property, what are typical use 
cases(use cases and examples), and where do these concepts are  prone to 
fail (Grenzfragen). Hopefully, this answers your question? If not, give me 
a hint on where I should make myself more clear

Thanks for having a look into it. Appreciating your help ! 



Am Sonntag, 14. Juli 2019 20:03:16 UTC+2 schrieb Mat:
>
> 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", 
>
>
> Are you saying the listed tab tiddlers should all have the tag 
> Sonderrechtstheorie and optionally, but not necessarily, any of the other 
> three? (In that case it should be enough with only tag 
> Sonderrechtstheorie.) Or necessarily ANY of the other three (easy)? Or 
> necessarily ONLY one of the other three (harder)?
>
> <:-)
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e0724151-14da-4a8a-b0b2-53ea742f30a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Creating similar tabs sections for individual tiddlers

2019-07-14 Thread Fabian Losch
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 ( <>)
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/fea5fa49-de9d-4b45-992f-fb459386ca50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.