Sorry I can't get what your meaning, I copied your code to my tw, nothing happened, what I want is a template which can change the background color of the Transclusion.
I check the link https://tiddlywiki.com/static/Transclusion%2520with%2520Templates.html which give a example ``` @@background-color:yellow; {{!!title}} @@ ``` {!!title} will show the title literaly. But I need the body of the tiddler not title how to set it? I don't know the meaning of this code. It seems not like a template \define test() This is a test \end <<test>> <pre><code><$view ></code><pre> On Tuesday, September 14, 2021 at 7:39:06 PM UTC+8 PMario wrote: > Hi > > Try something like this: > > \define test() > This is a test > \end > > <<test>> > > <pre><code><$view ></code><pre> > > > On Tuesday, September 14, 2021 at 11:14:04 AM UTC+2 [email protected] > wrote: > >> I read the page >> https://tiddlywiki.com/static/Transclusion%2520with%2520Templates.html >> >> which tell me how to make the template of the Transclusion Which I think >> is great. >> >> But I don't know how to make the template to show it's own info. >> >> If I use the "{{}}" in the template tiddler I will get a recursive error. >> >> {{!!title}} works fine but I rarely use it. >> >> This will get a recursive error. >> ``` >> @@background-color:yellow; >> {{}} >> @@ >> ``` >> > -- 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/e99e92e4-4c77-4f24-8f4c-2fbc48a78f13n%40googlegroups.com.

