Yes, that worked! Thanks for the quick reply.

On Tuesday, October 2, 2018 at 2:23:28 PM UTC-7, Mark S. wrote:
>
> Used that way, the value passed in the transclusion becomes the 
> "currentTiddler" for your DailyTiddler template. So this minor change:
>
> <$set name=dateToday value=<<currentTiddler>>>
>     <$list filter="[tag<dateToday>]">
>         <h2><$link><$transclude field="title" mode="block"/></$link></h2>
>         <$transclude mode="block"/>
>     </$list>
> <$set>
>
> Should let you do what you want.
>
> -- Mark
>
> On Tuesday, October 2, 2018 at 1:32:24 PM UTC-7, Peter Ajtai wrote:
>>
>> Hi, each day I tag all my tiddlers with the appropriate tags and a tag 
>> for the day: e.g. "2018-10-01"
>>
>> I have a tiddler I use that looks like:
>>
>> <$set name=dateToday value="2018-10-01">
>>     <$list filter="[tag<dateToday>]">
>>         <h2><$link><$transclude field="title" mode="block"/></$link></h2>
>>         <$transclude mode="block"/>
>>     </$list>
>> <$set>
>>
>> !! Misc Notes
>>
>>
>>
>> How can I reuse the above tiddler with value="2018-10-01" being replaced 
>> by an incoming variable from another tiddler?
>>
>> For example I envision using the above tiddler - let's call it 
>> DailyTiddler something like:
>>
>> {{{ 2018-10-02 || DailyTiddler }}}
>>
>> Is this possible? How would I reference the incoming variable in 
>> DailyTiddler?
>>
>> I feel like the answer might be here: 
>> https://tiddlywiki.com/static/Transclusion%2520in%2520WikiText.html , 
>> but I can't quite piece it together.
>>
>> Thanks,
>> Peter.
>>
>>

-- 
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/0ebaf719-a60f-4311-a27e-ad8c07a30d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to