Template:WikidataItem

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

'Demo' (Q224380)

Documentationviewedithistorypurge
This documentation is transcluded from Template:WikidataItem/doc.

Usage
Use this template to add a reference to a Wikidata Item
Samples
{{WikidataItem|Q4167836}}
{{WikidataItem|Q4167836|lang=en}}
Results
'Wikimedia category' (Q4167836)
'Wikimedia category' (Q4167836)
Syntax
{{WikidataItem | id | lang=<lang> }}
Parameters
  • id
the id of the item on Wikidata.
Sample (for Q4167836): Q4167836
  • lang=<lang> (optional)
The lang which label you want to display
Sample (for Q4167836): lang=en
Use sample
See also
  • {{WikidataProperty}}, same template but for a wikidata property
  • {{Data}} outputs the content of an item’s property
  • {{Label}} outputs the localized data label and sets a Wikimedia link (can be disabled)
  • sub-templates