2020-04-15 14:51:21 +00:00
created: 20200131150229551
2024-09-10 10:49:04 +00:00
modified: 20240602154933113
2023-01-17 17:29:08 +00:00
tags: ActionCreateTiddlerWidget
2020-04-15 14:51:21 +00:00
title: ActionCreateTiddlerWidget Example 4
type: text/vnd.tiddlywiki
2024-09-10 10:49:04 +00:00
<$testcase>
<$data title=Description text="Template with override fields and custom base title"/>
<$data title=Narrative text="""The $action-createtiddler widget in this example uses the basetitle attribute and template: [[ActionCreateTiddlerWidget Template]].
2020-04-15 14:51:21 +00:00
There will be new fields "aa" and "bb" which are added to the new tiddlers.
2024-09-10 10:49:04 +00:00
"""/>
<$data $tiddler="ActionCreateTiddlerWidget Template"/>
<$data title=Output text="""\procedure testCreate()
2020-04-15 14:51:21 +00:00
<$action-createtiddler $basetitle="base" $template="ActionCreateTiddlerWidget Template" aa="new field aa" bb="new field bb" />
\end
<$button actions=<<testCreate>> >
Create Tiddler
2024-09-10 10:49:04 +00:00
</$button>"""/>
</$testcase>