On Friday, February 26, 2021 at 3:10:02 PM UTC+1 [email protected] wrote:

> I need the ability to create sequentially numbered tiddlers.  In other 
> words, a button that creates a new tiddler with the following pattern. 
> <<blankname>><<paddednumber1>>.  The next number in the series would have 
> <<blankname>><<paddednumber2>> and so on.  The title cannot contain any 
> spaces.  


As I wrote in my first post, there is a pending PR, which tries to achieve 
something slightly related. 

I did come up with an implementation that looks like this: 

<<unusedtitle baseName:"yourName">>  

will output 

yourName 
yourName  1
yourName  2

and so on

<<unusedtitle baseName:"yourName" template:"$baseName$ $CNT:4$">>  

which will output something like this: 

yourName 0000
yourName 0001
yourName 0002

and so on. 

<<unusedtitle baseName:"yourName" template:"$baseName$$CNT:2$">> 
results in
yourName00

As you can see, there is a little bit of a difference.  The *first *example 
is there for backwards compatibility. The *second* example is new behaviour 
and will start with the 0000 as the numbering. 

What do you think? Would this behaviour be OK for your usecase. 

@Jermolene .. What do you think.

A working TEST-wiki to test with will be posted soon!

-mario

-- 
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/0e2f2351-2385-4ed1-a860-abf4c01c800bn%40googlegroups.com.

Reply via email to