perhaps use a macro definition and make use of the variable substitution?

\define folder-blah()
blah-blah<br>
Navigate to C:\$(folder-name)$<br>
blah2-blah2<br>
\end
<$set name=folder-name value="Bob's Folder">
<<folder-blah>>
</$set>

Regards
Tones
On Thursday, 24 December 2020 at 10:04:15 UTC+11 [email protected] 
wrote:

> I'd like to define a tiddler.  Let's call it MessWithYourFolder.  Imagine 
> this tiddler contains something like:
>
> blah-blah
> Navigate to C:\{FOLDER_NAME}
> blah2-blah2
>
> I'd like to transclude it from one tiddler and tell it to replace 
> {FOLDER_NAME} with "Bob's Folder".  I'd like to transclude it from another 
> tiddler and tell it to replace {FOLDER_NAME} with "Mary's Folder".
>
> I'm thinking it is something like:
>
>    - {{MessWithYourFolder|Bob's Folder}}
>    - {{MessWithYourFolder|Mary's Folder}}
>
> When I read about parametric transclusion, it's over my head.  What's the 
> simplest syntax to define a tiddler to be transcluded with a single 
> variable value to be replaced when transcluded, and how do you transclude 
> that tiddler.
>
> TIA
>

-- 
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/ca40ffde-4837-4b61-87d1-ae7ae052fba9n%40googlegroups.com.

Reply via email to