HowTo define tiddler icons using the :cascade fiter - new in TW v5.2.1

Do you like more fun?

If you are on Tiddlywiki 5.2.1 prerelease, you can use cascades to apply icons conditionally.

Example: Use $:/core/images/new-journal-button for all Journal tiddlers

  1. Create a new tiddler
  2. Tag it with $:/tags/TiddlerIconFilter
  3. In the body put the below filter
[tag[Journal]then[$:/core/images/new-journal-button]]
  1. Save
  2. Create a new Journal tiddler (e.g from sidebar > Tools > create new journal button or on Windows press alt-J
  3. Save and llok at your Journal Tiddler

Tiddlywiki 5.2.1 cascades is just amazing!

Use the same procedure to apply custom colors to filtered tiddlers!

you can also use attached tiddler to try the above example Custom-Journal-Icon.json (192 Bytes) drag and drop into https://tiddlywiki.com/prerelease, create a new Journal tiddler.

4 Likes