Inyandikorugero:Examine Wikidata item
Appearance
(Bisubijwe kuva kuri Inyandikorugero:Examine)
No property supplied
This template uses Lua: |
A wrapper template for the examine call in Module:WikidataIB.
The template takes two parameters: the propertyID and the entityID. These may be unnamed or given as |pid=
and |qid=
or any combination.
The propertyID must begin with "P" and the entityID must begin with "Q".
If the entityId is omitted, the template will look at Wikidata for the entity connected to the current page.
Usage
[hindura inkomoko]- Example
- Examining (Q1396889) (P18)
All of the following produce the same result:
{{examine |pid=P18 |qid=Q1396889}}
{{examine |P18 |qid=Q1396889}}
{{examine |pid=P18 |Q1396889}}
{{examine |P18 |Q1396889}}
{{examine |qid=Q1396889 |pid=P18}}
{{examine |Q1396889 |pid=P18}}
{{examine |qid=Q1396889 |P18}}
{{examine |Q1396889 |P18}}
{{examine |P18}}
(if used in the Animal Farm article){{examine Wikidata item |pid=P18 |qid=Q1396889}}
{{#invoke:WikidataIB |examine |P18 |Q1396889}}
Result:
table#1 { table#2 { ["id"] = "Q1396889$152458fe-434e-a46e-299c-36f3ffdb2c6b", ["mainsnak"] = table#3 { ["datatype"] = "commonsMedia", ["datavalue"] = table#4 { ["type"] = "string", ["value"] = "Animal Farm - 1st edition.jpg", }, ["property"] = "P18", ["snaktype"] = "value", }, ["qualifiers"] = table#5 { ["P2096"] = table#6 { table#7 { ["datatype"] = "monolingualtext", ["datavalue"] = table#8 { ["type"] = "monolingualtext", ["value"] = table#9 { ["language"] = "en", ["text"] = "First edition cover", }, }, ["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04", ["property"] = "P2096", ["snaktype"] = "value", }, }, }, ["qualifiers-order"] = table#10 { "P2096", }, ["rank"] = "normal", ["type"] = "statement", }, }
See also
[hindura inkomoko]- {{Dump}}
- Module:Dump