This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.

For the full Grok TiddlyWiki experience, please visit the wiki version of this page.


17th July 2020 at 8:20pm

The easiest and cleanest way uses the transclude widget with the index attribute to get a property from a data tiddler:

It's ''<$transclude tiddler=UsHolidays index=<<now "0MM/0DD">> />'' today!

However, we didn't discuss the transclude widget, so it's unlikely you thought of that! Here are two other ways to accomplish it; you might have come up with something yet different that also works fine.

<$set name=formattedToday value=<<now "0MM/0DD">>>
  It's ''<$text text={{{ [[UsHolidays]getindex<formattedToday>] }}} />'' today!

(Recall that the text widget is needed to prevent the holiday from turning into a link with the use of triple curly braces.)

\define holidayTransclusion()

<$set name=formattedToday value=<<now "0MM/0DD">>>
  It's ''<<holidayTransclusion>>'' today!
Go to question: Ex:HolidayToday