On Thursday, November 9, 2017 at 5:57:48 PM UTC-8, David Allen wrote: > > Title: Image_Blah_1 > Tags: image > Text: <img src={{!!img_url}} class="modal_image"/> > category: Blah > img_url: theimageurl > > Title: TemplateModal > Text: <$transclude tiddler={{!!theImage}}/> > theImage: Image_Blah_1 > img_url: donotdisplaythis > > What I'm trying to do is get it to display as the following: > <img src=theimageurl class="modal_image"/> >
Wrap the <$tranclude> within a <$tiddler> widget, like this: <$tiddler tiddler={{!!theImage}}><$transclude tiddler={{!!theImage}}/></$tiddler> This will set the context for the data reference within the transclusion to the tiddler being transcluded, rather than the tiddler in which the transclusion is embedded. enjoy, -e Eric Shulman TiddlyTools.com: "Small Tools for Big Ideas" (tm) InsideTiddlyWiki: The Missing Manuals -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b611419e-1a9a-4f0c-858f-351d4a4eb2f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.