It is the template for author-sort, but modified with the sublist function. sublist shortens lists and takes 4 parameters; here it is used to sublist only the first author in author_sort:
the first parameter is implied in template mode, it is the template field which was previously defined as author_sort. That is what we are operating on.
the second and third are the start through end indices of the list (here, author_sort) which should be returned. using "0,1" returns the zeroth through first elements of the list.
The fourth parameter is the divider. In this case, "&" divides each author in author_sort
The documentation for templates is at http:/manual.calibre-ebook.com/template_lang.html
|