Thanks Tony - I actually want to list the tiddler just not display it as a 
link since in theory I am already viewing that tiddler. Plus showing the 
person in plain text acts as a hint to where in the birth-order the person 
is.

On Wednesday, August 12, 2020 at 10:27:31 PM UTC-4 TW Tones wrote:

> Amerus
>
> Here is a somplified version which excludes the current tiddler
>
> \define siblings()
> ''Siblings''
> <$list filter="[all[]famc{!!famc}] -[<currentTiddler>]">
>
> <br><$link>{{!!caption}}</$link>
> </$list>
> \end
> untested
>
> It uses the short form of fieldname[fieldvalue] to test a fields value, 
> and gets this value from the field in the current tiddler.
>
>
> Regards
> Tones
>
>
>
>
> On Thursday, August 13, 2020 at 10:48:17 AM UTC+10, 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.
>>
>>
>>

-- 
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/7b4f7b63-3a4b-48f3-b038-0c57a22201f1n%40googlegroups.com.

Reply via email to