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!