Jump to content

Template:WD version/doc

From Wikisource

This produces a citation-like statement for use on Portal and version pages using information from Wikidata.

Template parameters

ParameterDescriptionTypeStatus
QID Main1 qidmain

The qid number from the main wikidata record.

Stringrequired
QID Scan2 qidscan

The qid number for a Wikidata item with property P996, linking to the scan; this adds a link to Index

Stringsuggested

Example

[edit]

For a work written by John Napier and a translator William Rae Macdonald

{{WD version|Q107661385|Q107644932}} produces:

The Construction of the Wonderful Canon of Logarithms by John Napier, translated by William Rae Macdonald (1889) (transcription project)

The second parameter is optional, and if present, may even point to the same Wikidata item, as long as the item has property P996 pointing to the file at Commons:

{{WD version|Q107661385}} produces:

The Construction of the Wonderful Canon of Logarithms by John Napier, 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:

version
* {{WD version|Q106941989}} 
* {{WD version|Q19100550}}

See Also

[edit]

There are versions with each of the people fields excluded, for use on Author pages of the named person:

{{WD author}}
{{WD translator}}
{{WD editor}}
{{WD illustrator}}