I have acollection of tiddlers that have a field name "importantt".
I display this field with {{!!important}} within each of these tiddler.
and I have an other tiddler that display a collection of those tiddler
thanks to a list widget and a transclude widget. But when transcluded, the
important field was nos shown.
I have not set up a template for inclusion so far and probably won't.
I read the old
topic https://groups.google.com/g/tiddlywiki/c/7-8bDakJnw4/m/__rB5Q-6AwAJ
and the
indicated
http://tobibeer.github.io/tb5/#Passing%20Parameters%20To%20A%20Transclusion
and I got my solution.
For in my list widget I use a "journal" variable to list each tiddler I
want to show. And there is no such "journal" variable or macro in each of
every targeted tiddlers.
So now, in every of those tiddlers, I make my transclusion as
<$transclude tiddler=<<journal>> field=important/>
instead of
{{!!important}}
and this works OK when each of those tiller is on display by itself or
transcluded by my library tiddler.
to be complete:
in "outer" tiddler:
<$list variable=journal filter="[tag[journal]]">
<details>
<summary><$link to=<<journal>>/> <span><$transclude tiddler=<<journal>>
field=important mode=inline/></span></summary>
<$transclude tiddler=<<journal>> mode=block/>
</details>
</$list>
in each inner tiddler (tagged "journal" and with an "important" field):
<$transclude tiddler=<<journal>> field=important/>
Thank you to all PMario and Tobias Beer. I hope this post could help
further people with a quicker access to a solution to a simple but frequent
problem.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/934e4e5a-9ef7-4be8-a9c3-f5c5f964b400n%40googlegroups.com.