How can I include a summary of a tiddler along with that toddler's content?

97 views
Skip to first unread message

jtolle

unread,
Jan 10, 2021, 10:25:20 PM1/10/21
to TiddlyWiki
I am very new to Tiddlywiki and Stroll, which are both awesome. This is what I'd like to be able to do:

* Have some tiddlers, each with some content. In my specific use case, the content is a session recap that I write for a role-playing game. The size is a few paragraphs.
* Have a summary associated with each content tiddler (ideally editable as part of it for convenience). In my use case this is a few bullet points and key links that I write, and that can't just be generated or extracted by an algorithm. The size is a few sentences.
* Display a list of just the summaries elsewhere. 

I can sort of get that to work by adding a custom field called `summary` and then transcluding links to just that field elsewhere. But it's hard to edit and doesn't seem to keep formatting (like CRs or bullets), so I suspect that's not really the right way to do it. I could just have a matching "summary" tiddler for every "content" one, but that seems cumbersome and possibly hard to keep in sync.

I'm new enough to Tiddlywiki not to have a focused technical question, so apologies if there is something obvious that I'm missing. I'd appreciate any pointers to best practices, add-ins, code, etc.  

Thanks,

jt

Charlie Veniot

unread,
Jan 10, 2021, 11:46:49 PM1/10/21
to TiddlyWiki
G'day jtolle, and welcome to TiddlyWikiHood !

I suggest using the "DetailsWidget" plugin.  Instead of using bullets, use a DetailsWidget at each place you would use a bullet.  For details related to the summary info, place the details inside the widget.  When viewing, just pop open a DetailsWidget to see the details.

Without digging into the inner-workings of the following example (slightly different use case and complicated setup), imagine your tiddler setup a little bit like this.

If you are interested, please give an example of a detailed session recap along with a bulleted summary, and I'll do a quick mockup redone with DetailsWidget plugin, so you can see what I'm thinking along with the related tiddler content/setup.

Cheers !

jtolle

unread,
Jan 11, 2021, 12:52:42 AM1/11/21
to TiddlyWiki
Hi Charlie,

Thanks for the info. Looking at your setup, that might be a way to do what I want. Is it possible for the summary portion to be a body of text itself, including links to other tiddlers?

Here is a simplified example of what I'd like to be able to do. Every story or session recap also has a summary section (or a summary somewhere, but it's 1:1 and stays in sync). And other tiddlers can include just the summary portion, with links to the full stories. But the summaries themselves aren't limited in terms of what formatting and linking is available. They're just shorter than the full stories and ideally separately transcludable.

---
Session #42

Summary:
* you found a map in the [[cave]]
* you got attacked by a horrible [[princess]]
* you rescued the innocent [[dragon]]

Story:

After searching the [[cave]] walls for hours, you finally found blah blah blah
...
The [[princess]] laughed as she brandished her [[greatsword of doom]], but blah blah blah
...
As the young [[dragon]] rejoined his [[family]], they all gave blah blah blah
...
---


---
Recent Happenings

[[Session #42]]:
* you found a map in the [[cave]]
* you got attacked by a horrible [[princess]]
* you rescued the innocent [[dragon]]

[[Session #43]]:
* the dragon [[family]] threw everyone an ice cream party
* but then the [[volcano]] started erupting!
* and so on

...
---


jt

Charlie Veniot

unread,
Jan 11, 2021, 5:48:23 PM1/11/21
to TiddlyWiki
G'day,

I've taken a few liberties (using some customizations of mine, and ordered newest first).

That aside, it sniffs to me like you are describing something like this.

jtolle

unread,
Jan 11, 2021, 8:46:19 PM1/11/21
to TiddlyWiki
Thanks! That is indeed something like what I was going for. I will have to take a closer look at how you did it but you've definitely pointed me in a good direction! Much appreciated.

jt

Reply all
Reply to author
Forward
0 new messages