You could add a field on the language tiddler called, e.g., *language_name* containing *english* or whatever the part after *language_* would be in your person tiddlers, then something like:
<$list filter="[all[current]fields[]prefix[language_]removeprefix[language_]]" variable="lang"> <$list filter="[tag[languages]language_name<lang>]"> ...insert list item for each language tiddler here </$list> </$list> Obviously you could replace the list-links with whatever logic you want for filtering by fluency. On Thursday, March 11, 2021 at 12:46:16 PM UTC-6 dop...@gmail.com wrote: > but this wouldn't let me have a linked list (the tiddler would be called > English, not languange_english), not to mention that having > language_english as plain text seems kinda ugly. Or am I missing something? > On Thursday, 11 March 2021 at 19:28:52 UTC+1 saq.i...@gmail.com wrote: > >> 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 dop...@gmail.com 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a207ba7e-a479-45ef-85e0-45a624afd399n%40googlegroups.com.