On Monday, April 13, 2020 at 12:31:44 AM UTC-7, Peter Buyze wrote: > > Mat, would you be willing to tell me how that nice table on the Read mode > of the tiddler is done? > See screenshot. >
See http://forpeter.tiddlyspot.com/#ViewTemplate which is tagged with $:/tags/ViewTemplate, and contains: <$list filter="[all[current]tag[passage]]"> <hr> <table> <tr><td>Author</td><td>{{!!author}}</td></tr> <tr><td>Source</td><td>{{!!source}}</td></tr> <tr><td>Book</td><td><$link to={{!!book}}/>, p.{{!!page}}</td></tr> <tr><td>Remarks</td><td>{{!!remarks}}</td></tr> </table> </$list> The tag "$:/tags/ViewTemplate" indicates that the tiddler content should be shown when viewing a tiddler. By default, that content will appear after the standard "body" content of the tiddler. Note how the content is also wrapped within a <$list> widget, with a filter that checks to see if the current tiddler is tagged with "passage". That limits the display of the content to only tiddler with the indicated tag value, so that "normal" tiddlers don't show the table. enjoy, -e -- 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/e8ad84f6-1b9c-4209-a45d-1b022f08bd94%40googlegroups.com.

