Single template that does it all for you.
Code:
program:
prefix_if_series = strcat(
field('series'),
' - (',
field('publisher'),
')/[',
field('series_index'),
'] - '
);
final = strcat(
test(
field('series'),
prefix_if_series,
''
),
field('title'),
' - ',
field('authors')
);
Explanation: You want "title - authors", and IF there is a series, you want the series and publisher info in front.
So, first we calculate what all that extra information in front should be.
In the form:
Code:
series - (publisher)/[series #] -
Then, test to see if series has content.
If so, prepend the calculated extra information.
If not, prepend an empty string, i.e. nothing.
Finally, add the: