Thank you Mat - exactly the solution I needed!

On Tuesday, January 28, 2020 at 8:41:19 AM UTC, Mat wrote:
>
> Hi Graham.
>
> I think I understand what you're after, and it is something I do myself. 
> What you actually want is a *second* viewtemplate. 
>
> So, irrespective of that first one, create a new tiddler with the 
> following fields. (You can change the name to be a system tiddler (prefix 
> $:/) once you're happy with it):
>
> *name*: ViewTemplate/description
> *tags*: $:/tags/ViewTemplate
> *text*:
> <$list filter="[all[current]has[description]]">
> <div style="border:1px solid crimson; color:gray; padding:1em;">{{!!
> description}}</div>
> </$list>
> *description*: If a tid has a `description` field, then its content is 
> shown before the tiddler body.
>
> This will show a description for *any* tiddler that has a description 
> field. 
> Yes, looking at this very tiddler, you'll see its message twice but that 
> is only for this particular tiddler.
> You can globally rearrange the position of the appearing description by 
> clicking the viewtemplate *tag* (in any tiddler that has one) and drag'n 
> drop reorder the listing.
>
> <:-)
>

-- 
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/97ac06c8-4081-461b-acbe-8ac074b96554%40googlegroups.com.

Reply via email to