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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/4d091b64-479f-4422-b8ad-b4cdfa0fa193o%40googlegroups.com.