View Single Post
Old 09-09-2023, 01:38 PM   #4
chris33
Enthusiast
chris33 began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Sep 2020
Device: ipad, kobo libra 2
@theducks
I'm using a docker container for calibre server on my NAS and export files on a network share, then files are moved to the devices

@chaley

Quote:
Originally Posted by chaley View Post
See the calibre template language documentation, in particular the Advanced Formatting section that describes how to include conditional text.
Yes thank you.
It should look like this:
Code:
{series}{series_index:| - | - }{title} - {authors}
I tried with the template editor too but not able to do what I expect.
I would like to insert () around series/series_index like

(series - series_index) - title - authors

I tried:
Code:
{series}{series_index:(| - |) - }{title} - {authors}
The opening parenthesis will fail, the closing works.
chris33 is offline   Reply With Quote