Template:Wikidata link

From Wikispore
(Redirected from Template:Wdl)
Jump to navigation Jump to search
Template documentation

About

This template can be used to link to the most appropriate page for a given Wikidata item. It links to the first of the following sites that have a matching page:

  1. this wiki;
  2. Wikipedia;
  3. Commons;
  4. Wikisource; or
  5. Wikidata.

The template returns a wikilink, often to Q328, suitable for a line in an Q15515987 or inclusion within article text.

Usage

{{wikidata link|Qnnn|Label text}}
{{wdl|Qnnn|Label text}}

{{wdl}} is a shortcut.

Examples

TemplateData

Add a link via a Wikidata ID to the most useful page for that item, on this wiki, Wikipedia, Commons, or Wikisource.

[Edit template data]

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Wikidata ID1 wikidata

The Q-ID of the item to link to.

Example
Q42
Stringrequired
Link text2 label

The text that will be shown to the user as the link text.

Stringsuggested

See also