I really like the template language and conditional fields.
You might consider adding another example to the documentation
Code:
{author_sort}/{series}/{series}{series_index:0>3s|[|] - }{title} - {authors}
so the result would be
Code:
Asimov, Isaac/Foundation series/Foundation series[001] - The Foundation - Isaac Asimov
This example demonstrates that you can use conditional prefix, suffix with formatting of the series number
I was trying to test how some ... aehm ... not-very-obvious ... combinations in Templates work ;-)
Also, there seems to be a typo in documentation
Quote:
If a particular book does not have a particular piece of metadata, the field in the template is automatically removed for that book. Consider, for example:
{author_sort}/{series}/{title} {series_index}
If a book has a series, the template will produce:
{Asimov, Isaac}/Foundation/Second Foundation - 3
and if a book does not have a series:
{Asimov, Isaac}/Second Foundation
(calibre automatically removes multiple slashes and leading or trailing spaces).
|
- extra {} around author in the result
- extra space dash space ' - ' in the result between 'Second foundation' and series number.