Jump to content

Module:WikidataIB/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ahecht (talk | contribs) at 14:35, 21 July 2020 (fix). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

{{#invoke:WikidataIB |getValue|P717|fetchwikidata=ALL|onlysourced=no |prefix= |postfix= |linkprefix="List of observatory codes#" |linkpostfix= |qid=Q532127}}

{{#invoke:WikidataIB |getValue|P717|fetchwikidata=ALL|onlysourced=no |prefix= |postfix= |linkprefix="List of observatory codes#" |linkpostfix= |qid=Q532127}}→[List of observatory codes#045 045] Edit this on Wikidata

{{#invoke:WikidataIB |getValue}}

{{#invoke:WikidataIB |getValue}}→No property supplied

{{#invoke:WikidataIB |getQualifierValue |qid=Q1513315 |P793 |pval=Q385378 |qual=P580 |name=xyz |fetchwikidata=ALL }}

{{#invoke:WikidataIB |getQualifierValue |qid=Q1513315 |P793 |pval=Q385378 |qual=P580 |name=xyz |fetchwikidata=ALL }}→November 2006 Edit this on Wikidata

{{#invoke:WikidataIB |getValueByQual |qid=Q10990 |P443 |qualID=P407 |qvalue=Q7979 |fwd=ALL |osd=no |noicon=true}}

{{#invoke:WikidataIB |getValueByQual |qid=Q10990 |P443 |qualID=P407 |qvalue=Q7979 |fwd=ALL |osd=no |noicon=true}}

{{#invoke:WikidataIB |getValueByLang |qid=Q7565108 |P856 |lang=ja |fwd=ALL |osd=no |noicon=true}}

{{#invoke:WikidataIB |getValueByLang |qid=Q7565108 |P856 |lang=ja |fwd=ALL |osd=no |noicon=true}}https://ja.osdn.net/

{{#invoke:WikidataIB |getValueByLang |qid=Q7565108 |P856 |fwd=ALL |osd=no |noicon=true}}

{{#invoke:WikidataIB |getValueByLang |qid=Q7565108 |P856 |fwd=ALL |osd=no |noicon=true}}https://osdn.net/

{{#invoke:WikidataIB |getLink |Q29016906}}Corisca and the Satyr

{{#invoke:WikidataIB |getLink |Q3621491}}archaeologist

{{#invoke:WikidataIB |getLabel |Q29016906}}

{{#invoke:WikidataIB |getLabel |Q29016906}}→Corisca and the Satyr

{{#invoke:WikidataIB |getLabel |Q3621491}}

{{#invoke:WikidataIB |getLabel |Q3621491}}→archaeologist

{{#invoke:WikidataIB |getLabel |Q19805408}}

{{#invoke:WikidataIB |getLabel |Q19805408}}→Module:Biblio/Ouvrage

{{#invoke:WikidataIB |label |Q29016906}}

{{#invoke:WikidataIB |label |Q29016906}}→Corisca and the Satyr

{{#invoke:WikidataIB |label |Q3621491}}

{{#invoke:WikidataIB |label |Q3621491}}→archaeologist

{{#invoke:WikidataIB |label |Q19805408}}

{{#invoke:WikidataIB |label |Q19805408}}→Module:Biblio/Ouvrage

{{#invoke:WikidataIB |getAT |Q29016906}}

{{#invoke:WikidataIB |getAT |Q29016906}}→Corisca and the Satyr

{{#invoke:WikidataIB |getAT |Q3621491}}

{{#invoke:WikidataIB |getAT |Q3621491}}→Archaeologist

{{#invoke:WikidataIB |getDescription |qid=Q29016906 |wikidata}}

{{#invoke:WikidataIB |getDescription |qid=Q29016906 |wikidata}}→painting by Artemisia Gentileschi

{{#invoke:WikidataIB |getDescription |qid=Q29016906 |A painting}}

{{#invoke:WikidataIB |getDescription |qid=Q29016906 |A painting}}→A painting

{{#invoke:WikidataIB |getDescription |qid=Q29016906 |none}}

{{#invoke:WikidataIB |getDescription |qid=Q29016906 |none}}

{{#invoke:WikidataIB |getDescription |qid=Q3621491 |wikidata}}

{{#invoke:WikidataIB |getDescription |qid=Q3621491 |wikidata}}→person studying human activity in the past

{{#invoke:WikidataIB |getDescription |qid=Q3621491 |A profession}}

{{#invoke:WikidataIB |getDescription |qid=Q3621491 |A profession}}→A profession

{{#invoke:WikidataIB |getDescription |qid=Q3621491 |none}}

{{#invoke:WikidataIB |getDescription |qid=Q3621491 |none}}

{{#invoke:WikidataIB |formatDate | 1 August 30 BCE |bc=BCE |df=dmy}}

{{#invoke:WikidataIB |formatDate | 1 August 30 BCE |bc=BCE |df=dmy}}→1 August 30 BCE

{{#invoke:WikidataIB |formatDate | 1 August 30 BCE |bc=BC |df=mdy}}

{{#invoke:WikidataIB |formatDate | 1 August 30 BCE |bc=BC |df=mdy}}→August 1, 30 BC

{{#invoke:WikidataIB |checkBlacklist |name=nationality |suppressfields=residence; nationality; citizenship}}

{{#invoke:WikidataIB |checkBlacklist |name=nationality |suppressfields=residence; nationality; citizenship}}→false

{{#invoke:WikidataIB |getvalue |P99 |fwd=ALL}}

{{#invoke:WikidataIB |getvalue |P99 |fwd=ALL}}Script error: The function "getvalue" does not exist.

{{#invoke:WikidataIB |emptyor |1= <span class="xxx">{{#invoke:WikidataIB |getvalue |P99 |fwd=ALL}}</span> }}

{{#invoke:WikidataIB |emptyor |1= <span class="xxx">{{#invoke:WikidataIB |getvalue |P99 |fwd=ALL}}</span> }}Script error: The function "getvalue" does not exist.

{{#invoke:WikidataIB |examine |qid=Q1396889 |P50}}

{{#invoke:WikidataIB |examine |qid=Q1396889 |P50}}

table#1 {
    table#2 {
        ["id"] = "q1396889$168E77B7-133C-4FC4-923A-A51D4AA59CB0",
        ["mainsnak"] = table#3 {
            ["datatype"] = "wikibase-item",
            ["datavalue"] = table#4 {
                ["type"] = "wikibase-entityid",
                ["value"] = table#5 {
                    ["entity-type"] = "item",
                    ["id"] = "Q3335",
                    ["numeric-id"] = 3335,
                },
            },
            ["property"] = "P50",
            ["snaktype"] = "value",
        },
        ["rank"] = "normal",
        ["references"] = table#6 {
            table#7 {
                ["hash"] = "103dce6ad764e93e6aa75eb7afc785f5fb4634bc",
                ["snaks"] = table#8 {
                    ["P957"] = table#9 {
                        table#10 {
                            ["datatype"] = "external-id",
                            ["datavalue"] = table#11 {
                                ["type"] = "string",
                                ["value"] = "0-89356-451-6",
                            },
                            ["property"] = "P957",
                            ["snaktype"] = "value",
                        },
                    },
                },
                ["snaks-order"] = table#12 {
                    "P957",
                },
            },
            table#13 {
                ["hash"] = "cabaa50fc2fa044a17fef2e41578b73718470295",
                ["snaks"] = table#14 {
                    ["P1274"] = table#15 {
                        table#16 {
                            ["datatype"] = "external-id",
                            ["datavalue"] = table#17 {
                                ["type"] = "string",
                                ["value"] = "2423",
                            },
                            ["property"] = "P1274",
                            ["snaktype"] = "value",
                        },
                    },
                    ["P248"] = table#18 {
                        table#19 {
                            ["datatype"] = "wikibase-item",
                            ["datavalue"] = table#20 {
                                ["type"] = "wikibase-entityid",
                                ["value"] = table#21 {
                                    ["entity-type"] = "item",
                                    ["id"] = "Q2629164",
                                    ["numeric-id"] = 2629164,
                                },
                            },
                            ["property"] = "P248",
                            ["snaktype"] = "value",
                        },
                    },
                    ["P813"] = table#22 {
                        table#23 {
                            ["datatype"] = "time",
                            ["datavalue"] = table#24 {
                                ["type"] = "time",
                                ["value"] = table#25 {
                                    ["after"] = 0,
                                    ["before"] = 0,
                                    ["calendarmodel"] = "http://www.wikidata.org/entity/Q1985727",
                                    ["precision"] = 11,
                                    ["time"] = "+2025-04-22T00:00:00Z",
                                    ["timezone"] = 0,
                                },
                            },
                            ["property"] = "P813",
                            ["snaktype"] = "value",
                        },
                    },
                },
                ["snaks-order"] = table#26 {
                    "P248",
                    "P1274",
                    "P813",
                },
            },
        },
        ["type"] = "statement",
    },
}