03-21-2024, 12:24 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2024
Device: Kindle Paperwhite Signature Edition
|
Need help with Save template. Can you make conditions?
This is my current Save template:
{series} {series_index:0>2s} - {title} - {authors} Which produces "The Thrawn Trilogy 01 - Heir to the Empire - Timothy Zahn" and "- Allegiance - Timothy Zahn" I would like it to produce "The Thrawn Trilogy 01 - Heir to the Empire - Timothy Zahn" and "Allegiance - Timothy Zahn" So only the - before the title if it has a series. I've tried looking but couldn't find anything. Is it that possible to do? |
03-21-2024, 02:31 PM | #2 |
Leftutti
Posts: 490
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Yep, somewhere in the manual there was a code for that.
Found it under template language Code:
{series}{series_index:| | - }{title} Last edited by Wiggo; 03-21-2024 at 02:33 PM. |
03-21-2024, 04:42 PM | #3 | |
Grand Sorcerer
Posts: 12,029
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
03-22-2024, 02:49 PM | #4 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2024
Device: Kindle Paperwhite Signature Edition
|
Wow. I tried looking I swear. I found so many threads and totally forgot to look at the basics. Sorry and thank you guys.
|
Tags |
help calibre, question |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
save as template | ajean4 | Library Management | 12 | 04-15-2021 05:32 PM |
Can I use an IF statement in a Save template? | kelemvor | Library Management | 1 | 07-29-2016 08:05 PM |
Save Template Help | Maverynthia | Library Management | 10 | 05-19-2014 01:37 PM |
Multiple conditions in TEMPLATE code | HFC3 | Library Management | 4 | 07-07-2013 02:39 PM |
A little help with a save template...? | Belfaborac | Library Management | 2 | 02-04-2011 10:47 PM |