![]() |
#1 |
Connoisseur
![]() Posts: 56
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,196
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||)} |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 56
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. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
remove unused CSS rules | rjwse@aol.com | Editor | 13 | 09-18-2019 09:39 AM |
Inconsistencies in Remove unused CSS rules!? | chaot | Editor | 8 | 04-28-2016 12:38 PM |
Remove unused class attributes | phossler | Editor | 15 | 01-26-2016 01:06 PM |
Remove unused folders in Calibre Library | hashken | Calibre | 3 | 11-16-2014 06:05 AM |
Remove unused CSS Rules | Divingduck | Editor | 2 | 06-21-2014 07:51 AM |