Hello!
Okay, so the context for this is that I have, or will have, a database of many, many interrelated individuals. Each of those individuals has a ‘mother’ and a ‘father’. I can currently get tiddlywiki to display lists of children each individual has, based on their name showing up in the mother or father field of another tiddler. What I can’t figure out how to do is get the ‘Children’ row of the table not to show when an individual has no children.
For other fields I can do something like this:
<$list filter="[all[current]has[secondaryeducation]]">
When an individual doesn’t have the secondaryeducation field, the row doesn’t show up in the sidebox.
My current set up for listing children looks like this
<$list filter="[all[current]gender[female]]">
''Children'' <> <$list filter="[all[current]gender[male]"> ''Children'' <> <$list filter="[all[current]has[id]]">If the individual is female, it looks for instances of the title of the individuals tiddler being listed as the mother in other tiddlers. Vice versa for males.
I’ve fiddled with lots of widgets. I think the problem is that this syntax [field:father{!!title}] doesn’t play well…
Also, if you have better alternative methods of achieving this goal, I’m all ears! I know filling in a ‘Children’ field, would solve this problem, but I want to cut manual data input to a minimum, and in principle all biological familial relationships (siblings, aunts, grandparents…etc.) can be expressed in mother-child, and father-child relationships.