@aman I use this:
{{#each entry.author}}[[Authors/{{#if this.family}}{{this.family}}, {{#if this.given}}{{this.given}}{{else}}{{…/authorString}}{{/if}}{{/if}}|{{#if this.family}}{{this.family}}, {{#if this.given}}{{this.given}}{{else}}{{…/authorString}}{{/if}}{{/if}}]]; {{/each}}
It results in a note for each author, placed in the /Authors/ folder like
[[Authors/LastName1, FirstName1]]; [[Authors/LastName2, Firstname2]], but the | part means Obsidian automatically renders it with just the “LastName, First Name” format.
if you don’t want them inside an Authors/ folder you can just remove that part