I strongly recommend you look at the
template language manual.
You are breaking a major rule for Single Function Mode:
Quote:
Do not use subtemplates (`{ … }`) as function arguments. Instead, use Template Program Mode and General Program Mode.
|
In addition, the Single Function Mode documentation says:
Quote:
Important: If you have programming experience, please note that the syntax in Single Function Mode is not what you expect. Strings are not quoted and spaces are significant. All arguments are considered to be constants; there are no expressions.
|
My suspicion is that in your situation using
Template Program Mode is easiest. Something like
Code:
{title:'maketitle($, $author, $series, $series_index, $#category, $#pairing)'}