Template:WD translator/doc
This is a documentation subpage for Template:WD translator. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
To list a work on the Author page of a translator, where use of their name is redundant; using information imported from Wikidata.
Parameter | Description | Type | Status | |
---|---|---|---|---|
QID Main | 1 qidmain | The qid number from the main wikidata record. | String | required |
QID Scan | 2 qidscan | adds a small scan link to the citation | String | suggested |
Example
[edit]For a work translated by William Rae Macdonald, on his Author page:
{{WD translator|Q107661385|Q107644932}} produces:
The Construction of the Wonderful Canon of Logarithms by John Napier (1889) (transcription project)
The second parameter is optional, so:
{{WD translator|Q107661385}} produces:
The Construction of the Wonderful Canon of Logarithms by John Napier (1889) (transcription project)
more examples
[edit]The template is fairly flexible for the information it needs and can use and that is available:
- Beauty and the Beast by Gabrielle-Suzanne de Villeneuve, illustrated by Walter Crane (1874)
- "The tale of a youth who set out to learn what fear was" by Brothers Grimm, 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 author}}
- {{WD editor}}
- {{WD illustrator}}