What if instead of: fieldname: language_english value: English you used:
fieldname: language_english value: fluency_level, e.g: 1 So the presence of the language_english field tells you that the person speaks english, you get the name of the language from the part of the field name after the hyphen. The value of the field gives you the fluency. On Thursday, March 11, 2021 at 7:00:26 PM UTC+1 [email protected] wrote: > My last request for help was immediatly solved, so let me try again! :) > > Let's say I have two kind of tiddlers: > people: John, Mary, Carl, etc. > languages: English, Italian, Spanish, etc. > > my goal is that when I see John's tiddler, I have a list of languages he > speaks, each linked to its own tiddler. It would be perfect if I could fit > in more information (like, filter them by fluency or whatever), but let's > not get ahead of ourself. > > my initial tought process was to have prefixed fields in people tiddlers: > fieldname: language_english > value: English > > fieldname: language_french > value: French > > and in a person's tiddler set up a list like: > <$list filter="[all[current]fields[]prefix[language_]sort[title]]" > variable="language"> > <$vars lang={{{ [<currentTiddler>get<language>] }}}> > <$link to=<<lang>>/> > </$vars> > </$list> > > Now this works. HOWEVER! It's not flexible at all. And as I said, it won't > let me differentiate further, so to filter, let's say, only the languages > in which John is fluent. > > My wish would be actually something different that I don't know how to > process. That is: list the actual pages and filter them out by a comparison > with the current tiddler's fields. Something like: > > each page has a field codename, for example: > fieldname: codename value: english > > compare it to John's tiddler's fields: > fieldname: english value: 1 > > and use this comparison as a filter for [tag[languages]]. > > something like: [tag[languages] butonlyif <john><codename> > compare:number:gt[0]] > > This way, I could set up other values in John's tiddler (0, 1, 2, etc.) > and being able to define and filter even further. > > Thank you again for your time! > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/97e6e35f-126b-4109-89c5-869fbc271256n%40googlegroups.com.

