Thanks Eric.  I should have also mentioned I want to keep the birth order 
of the siblings based on a `birt-date` field.  I won't have a chance to try 
any of this until late tomorrow.


On Wednesday, August 12, 2020 at 10:30:36 PM UTC-4 Eric Shulman wrote:

> On Wednesday, August 12, 2020 at 5:48:17 PM UTC-7, amreus wrote:
>>
>> I have a little macro that lists the siblings of a person tiddler. 
>> Simplified, it looks like so:
>> \define siblings()
>> ''Siblings''
>> <$list filter="[has[famc]field:famc{!!famc}]">
>> <br><$link>{{!!caption}}</$link>
>> </$list>
>> \end
>> This lists all tiddlers that have a matching `famc` field, including the 
>> current tiddler.
>> How can I make it not link to the current tiddler?  
>> I want to list and link to the siblings, but only list the current 
>> tiddler with no link.
>>
>
> Try this:
> \define siblings()
> ''Siblings''
> <$vars here=<<currentTiddler>>>
>
> <$list filter="[has[famc]field:famc{!!famc}]">
>    <br>
>
>    <$list filter="[<currentTiddler>match<here>]">  {{!!caption}}         
>        </$list>
>    <$list filter="[<currentTiddler>!match<here>]"> <$link>{{!!caption}}</
> $link> </$list>
> </$list>
> </$vars>
> \end
>  
>

-- 
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/5ae59856-474d-4431-a7cf-884a0761ddfcn%40googlegroups.com.

Reply via email to