Quote:
Originally Posted by gabby98
FWIW I ended up using
Code:
{#collection:test([Collection] {#collection}/{title}/{title},{author}/{#myseries2}{series}/{series_index:0>2s} {title}/{title})}
|
That template can break in mysterious ways because it uses subtemplates, something that doesn't work well in
single function mode templates. As the documentation says:
Do not use subtemplates (`{ ... }`) as function arguments. Instead, use template program mode and general program mode.
I would use
general program mode for this. Something like
Code:
program:
test(
field('#collection'),
template('[Collection] {#collection}/{title}/{title}'),
template('{author}/{#myseries2}{series}/{series_index:0>2s} {title}/{title}')
)