View Single Post
Old 12-11-2021, 09:09 PM   #214
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 908
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by chaley View Post
What is the serial number? Your image shows the series, the series index, and a number 3. Where does the 3 come from?

EDIT: never mind, I see it now. You want something like
Code:
program:
	if $series then
		if $#series then
			strcat($series, ' [', $series_index, '/', $#series_index, ']')
		else
			strcat($series, ' [', $series_index, ']')
		fi
	fi
where my custom series lookup name #series is replaced by the lookup name of your custom series column. Also, I might have the order of the numbers reversed.

EDIT 2: This also works, should you prefer Single Function Mode templates.
Code:
{series}{series_index:| [|}{#series_index:|/|]}{#series_index:test(,])}
Thanks Chaley it works !!!!

Last edited by dunhill; 12-11-2021 at 09:18 PM.
dunhill is offline   Reply With Quote