View Single Post
Old 10-02-2010, 07:51 AM   #3
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: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by economix View Post
I am wondering if there is a way to eliminate the extraneous dashes at the start of the title when there is nothing in the series field. Or alternatively, an easy way to turn the plugboard on and off.
Use
Code:
{series}{series_index:0>2s| - | - }{title}
The vertical bars separate the value from leading and trailing text that is added only if the value is not empty.

You might want to take a look at the (new) template tutorial in the manual. There are lots of fun toys.
chaley is offline   Reply With Quote