# [tw] Re: Nesting Variables

The $(Variable)$ syntax only works when used inside a macro and the
variable was defined outside of the macro. Also there are some extra }} in
your code.

Here is one way to make it work:

\define InnerMacro()
<$vars seminar={{$(foc)$!!Seminar}} clipname={{$(foc)$!!clip}} thema={{$(foc)$!!thema}}> <video controls id="fullstart" width=600px poster={{$(foc)$!!poster}}> <source src=<<cliplink>>> </video></$vars>

\end

<$set name=foc value={{$:/HistoryList!!current-tiddler}}>
<<InnerMacro>>
</$set> but an easier way is probably to use the tiddler widget like this: <$tiddler tiddler={{$:/HistoryList!!current-tiddler}}> <$vars seminar={{!!Seminar}} clipname={{!!clip}}
thema={{!!thema}}>
<video controls id="fullstart" width=600px poster={{!!poster}}>
</video></$vars> </$tiddler>

--
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