You could then add a link to the newly created tiddler in the FET like this:<<FET ... open created tiddler [["+tiddler.title+"- appendix]] ...>> ...
On 6 Aug., 14:06, Måns <humam...@gmail.com> wrote: > Hi Kriss > > > I don't want to transclude but link to the test-tiddler: something > > like [[TEST with:PARAMETER]].... > > To me it sounds like you are trying to create new tiddlers with: > parameter. > Check out:http://tiddlywiki.org/wiki/NewTiddler_(macro)> fyi, my use case: I > generat a listing of some tiddlers using the > > ForEachTiddler-plugin. Then, when I click one of them, a new tiddler > > should open (with a parameter passed onto it) where, in the new > > tiddler, is another macro that uses the content of the $1 parameter... > > When you use a macro inside a fET-macro, remember to put backslashes > at the end of the included macro - like this: > <<forEachTiddler .... <<newTiddler [parameters]\>\> .....>> > > Example with a transclusion in a FET-context: > Tiddlername [[SomeTiddlerTitle]] > <<forEachTiddler > where > 'tiddler.tags.contains("SomeTag")' > write > '(index < 10) ? "* [["+tiddler.title+"]] <<tiddler > [[SomeTiddlerTitle##new]] with:[[New from "+tiddler.title+"]] > [["+tiddler.title+"-appendix]] [[Hello world]] [[test]] > [["+tiddler.title+"]] [[1]] [[tags]]\>\>\n" : ""' > > /% > !new > <<newTiddler label:"$1" title:"$2" text:"$3" tag:"$4" tag:"$5" > accessKey:"$6"focus:"$7">> > !end %/ > > Hope this helps > Regards Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.