Template:WD editor/doc
This is a documentation subpage for Template:WD editor. 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 an editor, 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 edited by Andrew Lang,
{{WD version|Q19100550}} produces:
"The tale of a youth who set out to learn what fear was" by Brothers Grimm, translated by May Sellar, edited by Andrew Lang, illustrated by Henry Justice Ford, in The Blue Fairy Book (1889)
while {{WD editor|Q19100550}} produces:
"The tale of a youth who set out to learn what fear was" by Brothers Grimm, translated by May Sellar, illustrated by Henry Justice Ford, in The Blue Fairy Book (1889)
excluding the mention of Andrew Lang, and so suitable for his Author page.
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 translator}}
- {{WD illustrator}}