Quote:
Originally Posted by chaley
This single-function-mode template gives what the OP asked for:
Code:
{authors} {series:|(| }{series_index:0>5.2f|#|)} {series:test(, - )} {title}
Using "test" instead of "ifempty" lets us output an empty string when the series is not empty, otherwise a hyphen.
|
Wow, certainly is simple, elegant and still does exactly what Im after
I have another piece I would like some help with. Not sure if I should be starting a new thread or if Im right to continue here..
I would like my book series index to appear as:
#01 and #01.5 when I have .x in the series
at the moment I am using
Code:
{series_index:0>5.2f|#|}
which gives #01.00, so is there a way to have no trailing zeros but have the decimal and number after it appear if they exist?