On Wednesday, October 21, 2020 at 1:00:08 PM UTC-7, Game Dungeon wrote:
>
> I tried this:
> <$list filter="[tag[Journal]!sort[created]]">
> <br/>
> <<toggle "<<currentTiddler>>">>
> <br/>
> <hr/>
> </$list>
>
> It failed quite badly. This is likely a user error as I am quite new. Can 
> you help?
>

The problem is that the <<...>> syntax doesn't "nest", so you can't use 
<<currentTiddler>> as a parameter value *inside* of the toggle macro.

However, the <<macroname param1 param2 ...etc...>> syntax is actually just 
a shorthand for a *widget* named $macrocall,
and widgets DO allow you to use <<...>> as parameter values, so you can use 
this instead:
<$macrocall name="toggle" title=<<currentTiddler>> />

Also note that you don't use quotes when a macro or variable reference is 
used as a parameter value.

-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/2e049a64-591d-4763-844a-8da4f687822fo%40googlegroups.com.

Reply via email to