Template:WikidataItem
This documentation is transcluded from Template:WikidataItem/doc.
Category:Main message boxesCategory:Lua-based templates
- Usage
- Use this template to add a reference to a Wikidata Item
- Samples
- {{WikidataItem|Q4167836}}
- {{WikidataItem|Q4167836|lang=en}}
- {{WikidataItem|Q4167836|lang=pl}}
- Results
- 'Wikimedia category' (Q4167836)
- 'Wikimedia category' (Q4167836)
- 'kategoria w projekcie Wikimedia' (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
- Module:Wikidata used to determine the label Category:Wikidata access templates Category:Lua-based templates Category:Biology wikidata templates#Item