View Single Post
Old 11-06-2013, 08:15 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You could shorten it to: {title}{series:| (|, }{series_index:|Book |)}

The 0>1s part says format with leading zeros, to have a minimum width of 1, of type string. You got this from the calibre manual for the template language? If so, they used this here (with a 3 not a 1) to make sure series displays as 001, 002, 003, ... , 009, 010, 011, etc.

The template language is a bit hard to understand, but this is what's happening. And you could just let it default to always displaying everything, by just not including that chunk. Or leave it alone because it still works, albeit in a visually confusing manner.
eschwartz is offline   Reply With Quote