Board Thread:Support Requests - Getting Technical/@comment-4356266-20130526122704

I've struggled for months to create a template that can do both normal and named references, combining and  parser function but, as evidenced by my writing this, it doesn't work as expected.

The major problem is to have the include the name= parameter when the  parameter is specified. Common sense suggests the following code: As is the case, it doesn't work. The doesn't get passed to the ref tag. I've tried the following:

and it also does not work - all the references in the page got collated into a single citation note (probably because the name= got set to "")

So... I'm at my wit's end. You can see the problem at my sandbox page and the template here. Thanks in advance. 