See my comments inline
On Friday, 1 January 2021 at 02:57:33 UTC+11 Odin wrote:
> Thanks for the reply!
>
> what would the correct syntax be in this case?
>
> <$action-createtiddler
> $basetitle=<<newTitle>>
> tags="[[Six Minute Journal]]"
> text=<$macrocall $name="sixminutejournal"
> grateful={{$:/temp/odin/sixminutejournal!!sixminute-grateful}}
> great={{$:/temp/odin/sixminutejournal!!sixminute-great}}
> affirmation={{$:/temp/odin/sixminutejournal!!sixminute-affirmation}}>
> sixminute-time='21:00'
>
>>
>>>
- Should > be /> ?
- Where is the end of the action widget />?
- Why cram macrocall inside the action widget, why not establish the
value to use there with a variable before the action widget, you may have
to wikify the result.
\define parameters()
grateful={{$:/temp/odin/sixminutejournal!!sixminute-grateful}}
great={{$:/temp/odin/sixminutejournal!!sixminute-great}}
affirmation={{$:/temp/odin/sixminutejournal!!sixminute-affirmation}}
<$wikify name=parameters text=<<parameters>> >
<!-- reuse same variable name -->
<$action-createtiddler
$basetitle=<<newTitle>>
tags="[[Six Minute Journal]]"
text=<<parameters>>
sixminute-time='21:00'
/>
--
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/477291af-8886-4d12-b94b-9443905eb3dcn%40googlegroups.com.