Thanks Eric, I guess the '<currentTiddler>' just creates a filtered list 
from the current tiddler and whether text is displayed depends on this 
being null or not.

Now, using the same methodology, I'm trying to construct an external link 
and tried:

<$list filter="[<currentTiddler>has[orcid]]">
   ''ORCID'': [[{{!!orcid}}|https://orcid.org/{{!!orcid}}]]
</$list>

where 'orcid' is another field... but this doesn't work (for what it's 
worth, this is also in a macro). Maybe I need to create the string and then 
put that inside the [[...]]?

Apologies, I can't figure out how to format the code in monospace in a 
grey-background box.

As ever, thanks for the assistance,

Anthony

On Thursday, 12 November 2020 at 12:56:25 UTC Eric Shulman wrote:

> On Thursday, November 12, 2020 at 4:40:37 AM UTC-8, Anthony wrote:
>
>> fields called, for example, 'birth-date', 'birth-place', 'death-date' and 
>> death-place'
>>
> some individuals are still alive so their 'death-date' field is empty and 
>> I do not want the 'Died' line to be included at all.
>>
>
> <$list filter="[<currentTiddler>has[death-date]]">
>    Died: {{!!death-date}} ({{!!death-place}})
> </$list>
>
> enjoy,
> -e
>

-- 
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/c3d4cb78-6ddd-4411-9c62-5514278d3bc9n%40googlegroups.com.

Reply via email to