|
|
#1 |
|
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Aug 2018
Device: Kobo Aura H2O
|
Template tweaking to remove unused parameter
This template works great when all the fields are populated with data:
Code:
{author_sort}/{series}/{series_index:0>2|| - } {title} ({#sub_series}, Book {#sub_series_index:0>2||})
Code:
({#sub_series}, Book {#sub_series_index:0>2||})
|
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Move the optional text inside as a suffix inside the #sub_series, you also move the opening parenthesis "(" to be a prefix in the sub_series and the closing parenthesis as a suffix in the #sub_series_index
Code:
{author_sort}/{series}/{series_index:0>2|| - } {title} {#sub_series:|(|, Book} {#sub_series_index:0>2||)}
|
|
|
|
|
|
#3 |
|
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Aug 2018
Device: Kobo Aura H2O
|
Thanks, that worked great.
I did look at the manual, but it didn't really help out in this particular case, sorry. I'm only about 40% template savy. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| remove unused CSS rules | rjwse@aol.com | Editor | 13 | 09-18-2019 10:39 AM |
| Inconsistencies in Remove unused CSS rules!? | chaot | Editor | 8 | 04-28-2016 01:38 PM |
| Remove unused class attributes | phossler | Editor | 15 | 01-26-2016 02:06 PM |
| Remove unused folders in Calibre Library | hashken | Calibre | 3 | 11-16-2014 07:05 AM |
| Remove unused CSS Rules | Divingduck | Editor | 2 | 06-21-2014 08:51 AM |