Maybe it is possible to have <$details> in one tiddler and </$details> in another tiddler and use list-before/after to manipulate the position of the two?
Best, Anders torsdag 29. april 2021 kl. 20:57:39 UTC+2 skrev Stobot: > Hello all, > > I'm making sure there's not a better way to do this... I want to have > tiddlers with certain tags have their body wrapped with the <$details> > widget to keep the tiddlers short. > > I know I can ADD things to the body by adding ViewTemplate tags as > outlined: > https://groups.google.com/g/tiddlywiki/c/Jg-nmLk-yxs/m/yGricD4sBwAJ > > I know that I can HIDE things in the normal ViewTemplate by using CSS as > Eric showed: > https://groups.google.com/g/tiddlywiki/c/K6uHR4XtJ0o/m/MNxAhRxQAgAJ > > But I can't see how that would help what I want to do. Instead I've just > hacked the actual $:/core/ui/ViewTemplate/body - which I know I don't want > to do... > > \define use-details() > <$details summary="Notes"> > <$transclude> > > <$transclude tiddler="$:/language/MissingTiddler/Hint"/> > > </$transclude> > </$details> > \end > \define no-details() > <$transclude> > > <$transclude tiddler="$:/language/MissingTiddler/Hint"/> > > </$transclude> > \end > > <$reveal tag="div" class="tc-tiddler-body" type="nomatch" > stateTitle=<<folded-state>> text="hide" retain="yes" animate="yes"> > > <$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]"> > > <$list filter="[all[current]tag[Tasks]] [all[current]tag[Meetings]] > [all[current]tag[Projects]] [all[current]tag[Debriefs]]" > emptyMessage=<<no-details>> variable="X"> > <<use-details>> > </$list> > > </$list> > > </$reveal> > -- 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/76fcd188-4af0-4bd8-9294-e8103ce30552n%40googlegroups.com.

