Template:Wikidata link
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:
- this wiki;
- Wikipedia;
- Commons;
- Wikisource; or
- 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
- Wikipedia:
{{wikidata link|Q42}}
→ Q42 - Commons:
{{wikidata link|Q30087264|Hackathon in Barcolona, 2018}}
→ Hackathon in Barcolona, 2018 - Wikisource:
{{wikidata link|Q114968645}}
→ Q114968645 - Local page:
{{wikidata link|Q15136611}}
→ Wikimedia Italia
TemplateData
Add a link via a Wikidata ID to the most useful page for that item, on this wiki, Wikipedia, Commons, or Wikisource.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikidata ID | 1 wikidata | The Q-ID of the item to link to.
| String | required |
Link text | 2 label | The text that will be shown to the user as the link text. | String | suggested |