Rather than simple transclusion, you can use a macro with a parameter. 

Make a new tiddler and tag it with *$:/tags/Macro*. Include the following:

\define folderStuff($_$)
blah-blah<br/>
Navigate to C:\$_$<br/>
blah2-blah2
\end

Save this macro tiddler.

In another tiddler where you want the directions to appear, type:

<<folderStuff "Mary's Folder">>
<<folderStuff "Bob's Folder">>
etc...
On Wednesday, December 23, 2020 at 5:06:41 PM UTC-7 Mark S. wrote:

> I interpret your desire to make on-the-fly instructions for users.
>
> Contents of MessWithYourFolder:
>
> blah-blah <br/>
> Navigate to <$text text={{{ [[C:\]addsuffix{!!title}] }}} /> <br/>
> blah2-blah2 <br/>
>
> The <br/> 's are necessary so they don't run together.
> The text widget causes the triple brackets to return as text, not a link.
> The triple brackets append the title to the directory name. The !!title 
> contains the name of the title of the tiddler passed at invocation.
>
> Invoke like:
>
> {{Bob's Folder||MessWithYourFolder}}
>
> Note that the template goes AFTER the name of the target tiddler, and that 
> they are separated by a double pipe || .
> On Wednesday, December 23, 2020 at 3:04:15 PM UTC-8 [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/97fbaf4c-6dfb-4022-9d53-314bb5227b41n%40googlegroups.com.

Reply via email to