View Single Post
Old 03-13-2018, 05:32 AM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,479
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Divingduck View Post
Code:
{authors} {series:|(| }{series_index:0>5.2f|#|)} {series:ifempty(-)} {title}
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.
chaley is offline   Reply With Quote