View Single Post
Old 06-29-2021, 03:28 AM   #1
halloleo
Groupie
halloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 156
Karma: 12649
Join Date: Feb 2020
Device: iPad
Have the series number in the generated cover only when it is not zero

The subtitle for generated book covers contains the Series name plus the Series number. This is acchive with the following template code:

Code:
{series:'test($, strcat("<i>", $, "</i> - ", raw_field("formatted_series_index")), "")'}
In some books I have set the series number to zero and then I only want the series name, but not the number in the sub title. - How can I achieve this on the book cover?

I looked for a "greater than" test in the Template Program Modesection of the doco, but couldn't figure it out...
halloleo is offline   Reply With Quote