Hi!

I just discovered a neat trick. Maybe it's obvious, but I'd like to share 
it.

I wanted to transclude a tiddler fully, meaning: I wanted to have its title 
as a headline.

Here is how I did it:
Create a template tiddler

Create a template tiddler called full, containing this:

! <$transclude field="title"/>
<$transclude/>

 

Use the template tiddler

Use the template tiddler by transcluding it, using the full-template:

{{Full Transclusion Example||full}}

This is the result:

Full Transclusion Example

See what it gives, if you transclude a tiddler, using the full-template.


I've put the example on http://tw5magick.tiddlyspot.com

There is also a template tiddler for transcluding another template as code 
which works as long as the transcluded tiddler does not use codeblocks 
itself.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to