Thanks BTC

Wow! Very neat. It took me a bit to work out how it works. For others 
reading: here are the components with a bit more detail...

Global Macro Tiddler, i.e. tagged: $:/tags/Macro titled: anything you want

\define trl(text)
{{$text$||transcludilinktemplate}}
\end

Tiddler titled: "transcludilinktemplate". Note when you save it will 
display the message "Recursive transclusion error ..." Don't panic :-). You 
can safely ignore it, nothing is actually wrong.

<$list filter="[<currentTiddler>is[missing]]">
<$link to=<<currentTiddler>>><<currentTiddler>></$link>
</$list>
<$list filter="[<currentTiddler>!is[missing]]">
<$transclude/>
</$list>

BTC ... call it with <<trl "tiddler title">> and it's a link as long as the 
> tiddler doesn't exist and it transcludes it when it does, neat!
>

Test content tiddler ... Title: anything you want ...

Once upon a time there was a [[Roving Tiddler]] called {{Harold}} who knew 
how to call <<trl "Harold">> to the table for spagetti.

This renders as ...

Once upon a time there was a *Roving Tiddler 
> <https://groups.google.com/forum/?pli=1#Roving%20Tiddler> *called who 
> knew how to call *Harold <https://groups.google.com/forum/?pli=1#Harold>* 
> to the table for spaghetti.
>

Note the first "Harold" transclusion doesn't show because it doesn't yet 
exist, but BTC macro allows a place holding link for the same transclusion. 

Click it and it creates the "Harold" Tiddler. In the text content write 
"Gerald" Result ...

Once upon a time there was a Roving Tiddler <#Roving%20Tiddler> called 
> Gerald who knew how to call Gerald to the table for spaghetti.


I think this is already really useful for some writing situations. It 
really makes sense once you start using it.

AND also, as Mark S., hinted, its illustrative of perhaps a kind of 
potential for a few more tools like this. I was amazed at the simplicity of 
it. The bang for buck is fantastic.

Thanks, best ...
Josiah

-- 
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/4b0280bd-08ba-443e-8b62-6c08397e462d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to