Template:WD author
This template uses Lua: |
To list a work on an Author page where use of the author's name would be redundant; using information imported from Wikidata.
Parameter | Description | Type | Status | |
---|---|---|---|---|
QID Main | 1 qidmain | The wikidata number for the Main record. | String | required |
QID scan | 2 qidscan | The wikidata entry for the scan. | String | suggested |
Example
[edit]For a work written by John Napier where the name of the author is redundant (eg, on the author page)
{{WD author|Q107661385|Q107644932}}
produces:
The Construction of the Wonderful Canon of Logarithms, translated by William Rae Macdonald (1889) (transcription project)
The second parameter is optional, so:
{{WD author|Q107661385}}
produces:
The Construction of the Wonderful Canon of Logarithms, translated by William Rae Macdonald (1889) (transcription project)
more examples
[edit]The template is fairly flexible for the information it needs and can use and that is available:
* {{WD author|Q106941989}}
* {{WD author|Q19100550}}
- Beauty and the Beast, illustrated by Walter Crane (1874)
- "The tale of a youth who set out to learn what fear was", translated by May Sellar, edited by Andrew Lang, illustrated by Henry Justice Ford, in The Blue Fairy Book (1889)
See Also
[edit]- {{WD version}} -- the full template
There are versions with each of the people fields excluded, for use on Author pages of the named person:
- {{WD translator}}
- {{WD editor}}
- {{WD illustrator}}