![]() |
#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? |
![]() |
![]() |
![]() |
#2 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 415
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 01:33 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,908
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
save as template | ajean4 | Library Management | 12 | 04-15-2021 04:32 PM |
Can I use an IF statement in a Save template? | kelemvor | Library Management | 1 | 07-29-2016 07:05 PM |
Save Template Help | Maverynthia | Library Management | 10 | 05-19-2014 12:37 PM |
Multiple conditions in TEMPLATE code | HFC3 | Library Management | 4 | 07-07-2013 01:39 PM |
A little help with a save template...? | Belfaborac | Library Management | 2 | 02-04-2011 09:47 PM |