Quote:
Originally Posted by capink
Code:
{series:ifempty({authors})}/{title} - {authors}
|
Subtemplates don't work reliably in
single function mode (SFM) because they are interpolated before the arguments are parsed, meaning the content will be parsed as arguments.
Better would be this in
template program mode (TPM):
Code:
{series:'ifempty($, $authors)'}/{title} - {authors}
I suggest that the template should use only the first author to avoid path length problems. This one does that using both TPM and SFM
Code:
{series:'ifempty($, list_item($authors, 0, '&'))'}/{title} - {authors:list_item(0,&)}