Yes, thank you very much!

Eric Shulman schrieb am Donnerstag, 18. Februar 2021 um 14:32:34 UTC+1:

> On Thursday, February 18, 2021 at 3:47:01 AM UTC-8 JM wrote:
>
>> Next step would be understanding what you have archieved with "limit[1]". 
>> Ist the literal content of variable relevant?
>>
>  
> The $list widget filter, [tag{!!title}tag[CAD]], only produces output when 
> there are matching tiddlers. If there are more than one match, the body of 
> the widget is output multiple times.  By adding limit[1] to the filter the 
> body will only be shown once.
>
> Note: rather than referencing {!!title}, the filter could also have been 
> written as [tag<currentTiddler>tag[CAD]], which perhaps more clearly shows 
> how the currentTiddler's title is being used.
>
> Adding the variable="..." parameter to the $list widget assigns the 
> matching tiddler's title to the specified variable name.  For this 
> particular use-case, you don't actually need to reference this variable 
> inside the $list body; it is only used to prevent the $list widget from 
> changing the value of <currentTiddler>.  Thus, the name of the variable 
> isn't important and I have used it simply to describe the purpose of the 
> "test" filter.
>
> Hope this explains things...
>
> -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/50903b0d-2e88-40e8-ba3a-fb6f22f87ac5n%40googlegroups.com.

Reply via email to