Quote:
Originally Posted by Khan-Dam
does it possible to parametrize "2s" with the number of digit of the greatest series_index in the serie ?
|
I think you are asking if the template can know the maximum series_index in the series, so that the output can be "book 3 of 7" where "3" is the series_index and "7" is the maximum series_index in that series. It's not possible. Templates work one book at a time. The template as applied to book 3 doesn't have any idea what's in the metadata fields of the other books. Specifically, it doesn't know if there are any other books in that series with a higher series_index. You could do this with code to fill a custom column with the max for each series, but it would take some work and you'd need to run it regularly to keep it correct.
I hate saying it can't be done, as most of the time, Charles knows how to do it, or will write code to do it, but I also hate not answering when I'm pretty sure I know the answer.