On Thursday, February 16, 2017 at 9:12:42 PM UTC+1, Mat wrote:
>
>
> IMO this phrase is not easily understood. I'm wondering if the following 
> is a clearer (and accurate) description:
>
> The TiddlerWidget <http://tiddlywiki.com/#TiddlerWidget> sets a title to 
>> be the regarded as current tiddler 
>> <http://tiddlywiki.com/#Current%20Tiddler> within the scope of the 
>> TiddlerWidget.
>>
>
>
I'm sorry, but this doesn't make more sense. At least not for me. IMO we 
can't explain it on one sentence. 

currentTiddler is a *variable*, that is used by various core functions and 
the UI, to show widgets, what's the current "scope" to work with.

So functions like {{!!tags}} which is the same as: <$/transclusion 
<http://tiddlywiki.com/#TranscludeWidget>field=tags/> know what's the 
default tiddler to use, if there is no tiddler=xxx parameter.

The list-widget would need to look like this: <$list filter="a b c" 
variable=currentTiddler> ... scope ... </$list> everytime you use it. ... 
This isn't convenient and very error prone. That's why there is a default 
for many parameters, that widgets use. In the example, the list-widget 
basically is a loop where currentTiddler is set to   a, b and c  
sequentially. 

The tiddler widget does the same thing, without the loop. It sets 
currentTddler within the scope.

<$tiddler tiddler=test>  ... scope ... </$tiddler>

That's it. 

-mario

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c849c79f-7192-4619-a591-38a777ffa26f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to