Hi,
Have a closer look at: https://tiddlywiki.com/#ActionCreateTiddlerWidget 
and the examples!
-m

On Thursday, January 7, 2021 at 12:08:59 PM UTC+1 [email protected] wrote:

> Hello,
>
> This button will overwrite an existing tiddler. How do I make sure that if 
> the tiddler already exists it is numbered? If "Tiddler1" already exists, it 
> becomes "Tiddler2".
>
>
> \define BUTTON-NAME() Enter >
> \define BUTTON-COLOR+SIZE() btn btn-link btn-sm
> \define BUTTON-TEXT-COLOR() color:
> \define TIDDLER-TITLE() $(currentTiddler)$ SPECIFIC
> \define TIDDLER-TEMPLATE() {{||$(currentTiddler)$-SPECIFIC-TEMPLATE}}
>
>
> <$button type="button" class=<<BUTTON-COLOR+SIZE>>>
> <$set name=mytags filter="[subfilter{!!tiddler-tag-button}]">
>
> <$action-sendmessage $message="tm-new-tiddler"
> title=<<TIDDLER-TITLE>>
> text=<<TIDDLER-TEMPLATE>>
> load-description-button="{{||Description-button}}"
> tags=<<mytags>>/>
> </$set>
> <span style=<<BUTTON-TEXT-COLOR>>><<BUTTON-NAME>></span>
> </$button>
> <<mybutton>>
>
>
> Thank you,
>

-- 
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/1780be55-c363-4d6c-91a2-f51109fd3131n%40googlegroups.com.

Reply via email to