Template:WD author/doc

{	"params": { "1": {			"aliases": [ "qidmain" ],			"label": "QID Main", "description": "The wikidata number for the Main record.", "type": "string", "required": true },		"2": {			"aliases": [ "qidscan" ],			"label": "QID scan", "description": "The wikidata entry for the scan.", "type": "string", "suggested": true }	},	"description": "To list a work on an Author page where use of the author's name would be redundant; using information imported from Wikidata." }

Example
For a work written by John Napier where the name of the author is redundant (eg, on the author page)

produces:

The second parameter is optional, so:

produces:

more examples
The template is fairly flexible for the information it needs and can use and that is available: