content of another tidder copy in tiddler

95 views
Skip to first unread message

Gerald Weis

unread,
Oct 5, 2020, 7:19:32 AM10/5/20
to TiddlyWiki

Hi Folks,

i have cloned an tiddler.
but ths works not fine.

Title and tags are done
Content no

this is the code for this action

\define NeuerZyklus(Kennzeichen Sache Jahr)
<$button>''$Sache$''<br/>Jahr - ''$Jahr$''
<$action-createtiddler $basetitle="$Sache$ - $Jahr$" tags="[[$Kennzeichen$]] [[$Sache$]]" text={{$Kennzeichen$-$Sache$ - Jahr}} />
</$button>
\end

<$vars ph="Geben Sie den Text für den Tiddler ein">
<tr><td>Sache:</td><td><$edit-text tiddler="$:/temp/Sache" tag=input size=50 placeHolder=<<ph>> default="Sache"/></td></tr>
<tr><td>Kennzeichen:</td><td> <$edit-text tiddler="$:/temp/Kennzeichen" tag=input size=50  placeHolder=<<ph>> default="Kennzeichen"/></td></tr>
<tr><td>Jahr:</td><td><$edit-text tiddler="$:/temp/Jahr" tag=input size=10 placeHolder=<<ph>> default="2020"/></td></tr>
</$vars>

<$macrocall $name=NeuerZyklus Kennzeichen={{$:/temp/Kennzeichen}}  Sache={{$:/temp/Sache}} Jahr={{$:/temp/Jahr}} />

How i can the content of the template in this tiddler?

Important: i'm using more then one template.

In this wiki it are three

one for gasonlinetab
one for sevices
one for insurances

thanks for help



Gerald Weis

unread,
Oct 6, 2020, 3:27:23 AM10/6/20
to TiddlyWiki
Now Folks i have found the error
the templatename was fail.

But now i want to insert the field "caption" in the tiddler
The kontent of the field schoud bie $Sache$ - $Jahr$
i can't find the way to do.

TW Tones

unread,
Oct 6, 2020, 7:20:16 AM10/6/20
to TiddlyWiki
Gerald, is caption="$Sache$ - $Jahr$" in the create tiddler widget not working for you?

By the way I avoid caps in parameters or they become another possible error, but this looks correct.

Tones

Gerald Weis

unread,
Oct 7, 2020, 1:58:55 AM10/7/20
to TiddlyWiki
hi Tones

i call in thetemplate a macro an create a table.
this shoud be contained in the new tiddler.
thats my problem

the content of the template:

<table>
<<Benztab "2020" "Toyota C-HR Hybrid schwarz" "Kennzeichen">>
<<Benzkauf "" "" "" "" "">>
</table>

on this way are all of the templates

thanks

TW Tones

unread,
Oct 7, 2020, 2:37:47 AM10/7/20
to TiddlyWiki
Gerald,

It would be better if you packaged a set of tiddlers that if installed on tiddlywiki.com demonstrate the fault and contains all necessary components.

Of course if you speak German there will be speakers here sooner or later.

I see macros that do not exist and can only imagine what they are without being able to understand their names.

Regards
Tones

Gerald Weis

unread,
Oct 7, 2020, 3:11:14 AM10/7/20
to TiddlyWiki
Hi Tones i found it.

it was an writing-error.

It would be quite safe to habe a selectionfield where i can select the content of the field "Sache"
I should be like to eliminate writing-errors in the field "Sache".
The selection-field should be replace the textfield "Sache"
But i can't it.
Reply all
Reply to author
Forward
0 new messages