Exactly what I needed. Thanks!

On Tuesday, May 10, 2016 at 7:23:09 AM UTC-4, Eric Shulman wrote:
>
> On Tuesday, May 10, 2016 at 3:52:37 AM UTC-7, David Retherford wrote:
>>
>> I was hoping to incorporate the "Task Template" into new tasks by using 
>> transclusion. To create a new task I am doing this:
>> 1. Create tiddler for the new task
>> 2. Add field "reference" with appropriate value
>> 3. Edit tiddler text to transclude the template is a follows:
>> {{Task Template}}
>> <hr>
>> The issue I am having is the value of the "reference" field that is 
>> displayed in the new task tiddler is coming from the "Task Template" 
>> tiddler and not from the "current" tiddler.
>>
>
> To render TaskTemplate using the tiddler data (fields) from the current 
> tiddler, see:
>    http://tiddlywiki.com/#Transclusion%20with%20Templates
>
> Summary: the full notation for transclusion is {{target||template}}, where 
> "target" is the name of the tiddler containing the data (fields) and 
> "template" is the name of the tiddler containing the output formatting 
> (wikitext) with references to the data fields.  If the template is omitted 
> (i.e., just {{target}}) then a simple transclusion is performed and both 
> the data and the output format come from the indicated target tiddler.  If 
> the target is omitted, (i.e., just {{||template}}), then a "transclusion 
> with template" is performed, using data from the current tiddler and the 
> output format from the indicated template tiddler.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> 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 [email protected].
To post to this group, send email to [email protected].
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/36ec29fc-f449-48d4-ac5c-03974dfec5cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to