† Note that when a blacklist is supplied, a field name is also needed, otherwise the call returns nothing.
| Article | Code | Result |
|---|---|---|
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50}} |
|
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |Fred Bloggs}} |
Fred Bloggs |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=author; number_of_pages |name=author}} |
George Orwell |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=title; number_of_pages |name=author}} |
|
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL}} |
George Orwell |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |Freda Bloggs}} |
Freda Bloggs |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=author}}† |
|
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=author |name=author}} |
|
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=title |name=author}} |
George Orwell |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=author |name=author |Freda Bloggs}} |
† Note that when a blacklist is supplied, a field name is also needed, otherwise the call returns nothing.
| Article | Code | Result |
|---|---|---|
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=no}} |
George Orwell |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=yes}} |
George Orwell |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=no}} |
Retro Hugo Award for Best Novella, Modern Library's 100 Best Novels, NPR Top 100 Science Fiction and Fantasy Books, Prometheus Award - Hall of Fame |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=yes}} |
Retro Hugo Award for Best Novella |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=}} |
Retro Hugo Award for Best Novella |
| Article | Code | Result |
|---|---|---|
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=no}} |
George Orwell |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=yes}} |
George Orwell |
| Animal Farm (Q1396889) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=}} |
George Orwell |
| Article | Code | Result |
|---|---|---|
| Paris (Q90) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q90 |P17 |fwd=ALL |osd=n |rank=b}} |
France |
| London (Q84) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q84 |P17 |fwd=ALL |osd=n |rank=b}} |
United Kingdom |
| Ouagadougou (Q3777) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q3777 |P17 |fwd=ALL |osd=n |rank=b}} |
Burkina Faso |
{{#invoke:WikidataIB/sandbox |showNoLinks}} → Australia; Austria; Belgium; Canada; China; Denmark; England; France; Germany; Greece; Hungary; Iceland; India; Israel; Italy; Jamaica; Japan; Luxembourg; Mexico; Netherlands; New Zealand; Northern Ireland; Norway; Poland; Portugal; Republic of Ireland; Russia; Scotland; South Africa; Spain; Sweden; Switzerland; Turkey; UK; USA; United Kingdom; United States; Wales
| Article | Code | Result |
|---|---|---|
| Marcus Antonius Creticus (Q357585) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q357585 |P569 |fwd=ALL |osd=no}} |
2nd century BC |
| Mark Antony (Q51673) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no}} |
14 January 83 BC, 83 BC |
| Mark Antony (Q51673) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BC}} |
14 January 83 BC, 83 BC |
| Mark Antony (Q51673) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BCE}} |
14 January 83 BCE, 83 BCE |
| Mark Antony (Q51673) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=mdy}} |
January 14, 83 BC, 83 BC |
| Mark Antony (Q51673) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=y}} |
83 BC, 83 BC |
| Mark Antony (Q51673) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |lang=fr}} |
14 janvier 83 av. J.-C., 83 av. J.-C. |
| Richard Burton (Q151973) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no}} |
10 November 1925 |
| Richard Burton (Q151973) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |bc=BC}} |
10 November 1925 |
| Richard Burton (Q151973) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=mdy}} |
November 10, 1925 |
| Richard Burton (Q151973) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=y}} |
1925 |
| Philip the Arab (Q1817) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no}} |
c. 204 |
| Philip the Arab (Q1817) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no |pd=yes}} |
204 |
| Philip the Arab (Q1817) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1817 |P570 |fwd=ALL |osd=no}} |
249, September 249, October 249 |
| Philip the Arab (Q1817) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no |df=ymd}} |
0204-00-00 |
| Kylie Minogue (Q11998) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q11998 |P569 |fwd=ALL |osd=no |df=ymd}} |
1968-05-28 |
| Article | Code | Result |
|---|---|---|
| Fred W. Wright (Q61714940) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P570 |qid=Q61714940}} |
20th century |
| Fred W. Wright (Q61714940) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P570 |qid=Q61714940 |qual=ALL}} |
20th century (after 1933) |
| Jan I Carondelet (Q1786) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P569 |qid=Q1786}} |
1428, 1428 |
| Jan I Carondelet (Q1786) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P569 |qid=Q1786 |qual=ALL}} |
1428 (before 1429), 1428 |
| Julius Caesar (Q1048) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P569 |qid=Q1048}} |
July 100 BC |
| Julius Caesar (Q1048) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P569 |qid=Q1048 |qual=ALL}} |
July 100 BC (before 100 BC, disputed, after 100 BC) |
| Industrial Revolution (Q2269) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P582 |qid=Q2269}} |
1820 |
| Industrial Revolution (Q2269) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P582 |qid=Q2269 |qual=ALL}} |
1820 (before 1840, after 1820) |
| Industrial Revolution (Q2269) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P582 |qid=Q2269 |lang=fr |qual=ALL}} |
1820 (avant 1840, après 1820) |
| Industrial Revolution (Q2269) | {{#invoke:WikidataIB/sandbox |getValue |ps=1 |P582 |qid=Q2269 |lang=zh |qual=ALL}} |
1820年 (在1840年之前, 在1820年之后) |
| France (Q142) | {{#invoke:WikidataIB/sandbox |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl}} |
|
| France (Q142) | {{#invoke:WikidataIB/sandbox |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl |qual=ALL}} |
|
| Article | Code | Result |
|---|---|---|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |locally supplied value}} |
locally supplied value |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=locally supplied value}} |
locally supplied value |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |}} |
playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer, musician |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=}} |
playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer, musician |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42}} |
playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer, musician |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=1}} |
playwright |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=4}} |
playwright, screenwriter, novelist, children's writer |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=99}} |
playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer, musician |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=0}} |
playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer, musician |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fetchwikidata=ALL |onlysourced=yes |qid=Q42 |maxvals=0}} |
screenwriter, novelist, science fiction writer, writer, musician |
area (P2046), elevation above sea level (P2044)
| Article | Code | Result |
|---|---|---|
| Birmingham (Q2256) | {{#invoke:WikidataIB/sandbox |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no}} |
267.77 ±0.01 square kilometre |
| Birmingham (Q2256) | {{#invoke:WikidataIB/sandbox |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no |unitabbr=yes}} |
267.77 ±0.01 km² |
| Birmingham (Q2256) | {{#invoke:WikidataIB/sandbox |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no |unitabbr=yes |conv=y}} |
267.76 to 267.78 km2 (103.38 to 103.39 sq mi) |
| Capitancillo (Q18208369) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q18208369 |P2044 |ps=1 |uabbr=y |conv=y}} |
4.5 m (15 ft) |
| 1970 Mount Everest disaster (Q4574072) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q4574072 |P2044 |ps=1 |uabbr=y |conv=y}} |
8,848 m (29,029 ft) |
| International Space Station (Q25271) | {{#invoke:WikidataIB/sandbox |getValue |qid=Q25271 |P2044 |ps=1 |uabbr=y |conv=y}} |
| Article | Code | Result |
|---|---|---|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fwd=ALL |osd=no |qid=Q42}} |
playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer, musician |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |sep=" – "}} |
playwright – screenwriter – novelist – children's writer – science fiction writer – comedian – writer – musician |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=hlist}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=ubl}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=prose}} |
playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer and musician |
| Code | Result |
|---|---|
{{#invoke:WikidataIB/sandbox |getValue |P1376 |fwd=ALL |osd=no |qid=Q71}} |
Canton of Geneva, Léman (department), Republic of Geneva, Republic of Geneva |
{{#invoke:WikidataIB/sandbox |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P580}} |
Canton of Geneva (1815–), Léman (department) (1798–), Republic of Geneva (1534–), Republic of Geneva (1813–) |
{{#invoke:WikidataIB/sandbox |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P582}} |
Canton of Geneva, Léman (department) (–1813), Republic of Geneva (–1798), Republic of Geneva (–1815) |
{{#invoke:WikidataIB/sandbox |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P1326}} |
Canton of Geneva, Léman (department), Republic of Geneva, Republic of Geneva |
{{#invoke:WikidataIB/sandbox |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=DATES}} |
Canton of Geneva (1815–), Léman (department) (1798–1813), Republic of Geneva (1534–1798), Republic of Geneva (1813–1815) |
{{#invoke:WikidataIB/sandbox |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL}} |
Canton of Geneva (1815–), Léman (department) (1798–1813), Republic of Geneva (1534–1798), Republic of Geneva (1813–1815) |
{{#invoke:WikidataIB/sandbox |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL |sep=" or " |qsep=" to "}} |
Canton of Geneva (1815–) or Léman (department) (1798–1813) or Republic of Geneva (1534–1798) or Republic of Geneva (1813–1815) |
| Code | Result |
|---|---|
{{#invoke:WikidataIB/sandbox |getValue |P36 |fwd=ALL |osd=no |qid=Q142 |qual=DATES |list=ubl}} |
|
| Code | Result |
|---|---|
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142}} |
Mont Blanc, Barre des Écrins |
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=DATES}} |
Mont Blanc (1860–), Barre des Écrins |
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P1326}} |
Mont Blanc, Barre des Écrins (before 1860) |
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P1326 |list=hlist}} |
|
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=ALL}} |
Mont Blanc (Treaty of Turin, 45°49′57″N 6°51′53″E, 4,808.72 metre, 1860–), Barre des Écrins (before 1860, 4,102 metre, 44°55′19″N 6°21′34″E) |
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P828, P625, P2044}} |
Mont Blanc (Treaty of Turin, 45°49′57″N 6°51′53″E, 4,808.72 metre), Barre des Écrins (44°55′19″N 6°21′34″E, 4,102 metre) |
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P1326, P2044, DATES}} |
Mont Blanc (4,808.72 metre, 1860–), Barre des Écrins (before 1860, 4,102 metre) |
{{#invoke:WikidataIB/sandbox |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=DATES, P2044, P1326}} |
Mont Blanc (4,808.72 metre, 1860–), Barre des Écrins (4,102 metre, before 1860) |
Fetching the names of the creator (P170) from Corisca and the Satyr (Q29016906) (one value preferred):
| Code | Result |
|---|---|
{{#invoke:WikidataIB/sandbox |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}} |
Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione |
{{#invoke:WikidataIB/sandbox |getPreferredValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}} |
Artemisia Gentileschi |
| Using getValue only: | |
{{#invoke:WikidataIB/sandbox |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=}} |
Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione |
{{#invoke:WikidataIB/sandbox |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}} |
Artemisia Gentileschi |
{{#invoke:WikidataIB/sandbox |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}} |
Aniella di Beltrano, Massimo Stanzione |
{{#invoke:WikidataIB/sandbox |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}} |
Artemisia Gentileschi |
{{#invoke:WikidataIB/sandbox |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}} |
Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione |
Fetching the values of depicts (P180) from Corisca and the Satyr (Q29016906) (no values preferred):
| Code | Result |
|---|---|
{{#invoke:WikidataIB/sandbox |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}} |
Corisca, satyr, nymph, wig |
{{#invoke:WikidataIB/sandbox |getPreferredValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}} |
Corisca, satyr, nymph, wig |
| Using getValue only: | |
{{#invoke:WikidataIB/sandbox |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=}} |
Corisca, satyr, nymph, wig |
{{#invoke:WikidataIB/sandbox |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}} |
|
{{#invoke:WikidataIB/sandbox |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}} |
Corisca, satyr, nymph, wig |
{{#invoke:WikidataIB/sandbox |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}} |
Corisca, satyr, nymph, wig |
{{#invoke:WikidataIB/sandbox |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}} |
Corisca, satyr, nymph, wig |
Using template – Fetching the names of the creator (P170) from Corisca and the Satyr (Q29016906) (one value preferred):
| Code | Result |
|---|---|
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no}} |
Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione |
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=p}} |
Artemisia Gentileschi |
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=n}} |
Aniella di Beltrano, Massimo Stanzione |
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=best}} |
Artemisia Gentileschi |
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=xyz}} |
Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione |
| Maddie Ziegler (Q16240603) | {{#invoke:WikidataIB/sandbox |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=}} |
Ziegler |
| Maddie Ziegler (Q16240603) | {{#invoke:WikidataIB/sandbox |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=en}} |
Ziegler |
| Maddie Ziegler (Q16240603) | {{#invoke:WikidataIB/sandbox |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=ru}} |
Циглер |
| Bebe Rexha (Q16185856) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no}} |
Bleta Rexha |
| Bebe Rexha (Q16185856) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=}} |
Bleta Rexha |
| Bebe Rexha (Q16185856) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=en}} |
Bleta Rexha |
| Bebe Rexha (Q16185856) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=en-gb}} |
Bleta Rexha |
| Bebe Rexha (Q16185856) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=de}} |
Bleta Rexha |
| Bebe Rexha (Q16185856) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=zh-mo}} |
Bleta Rexha |
| Mao Zedong (Q5816) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no}} |
毛澤東 |
| Mao Zedong (Q5816) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=}} |
毛澤東 |
| Mao Zedong (Q5816) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=en}} |
毛澤東 |
| Mao Zedong (Q5816) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=en-gb}} |
毛澤東 |
| Mao Zedong (Q5816) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=gu}} |
毛澤東 |
| Mao Zedong (Q5816) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=zh-mo}} |
毛澤東 |
| Mahatma Gandhi (Q1001) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no}} |
મોહનદાસ ગાંધી |
| Mahatma Gandhi (Q1001) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=}} |
મોહનદાસ ગાંધી |
| Mahatma Gandhi (Q1001) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=en}} |
મોહનદાસ ગાંધી |
| Mahatma Gandhi (Q1001) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=en-gb}} |
મોહનદાસ ગાંધી |
| Mahatma Gandhi (Q1001) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=gu}} |
મોહનદાસ ગાંધી |
| Mahatma Gandhi (Q1001) | {{#invoke:WikidataIB/sandbox |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=zh-mo}} |
મોહનદાસ ગાંધી |
| Code | Result |
|---|---|
{{wdib/sandbox |ps=1 |P610 |qid=Q1286}} |
Mont Blanc |
{{wdib/sandbox |ps=1 |P610 |qid=Q1286 |replacetext=}} |
Mont Blanc |
{{wdib/sandbox |ps=1 |P610 |qid=Q1286 |replacetext=[[:Category:Wikidata available for highest point]]}} |
Category:Wikidata available for highest point |
{{wdib/sandbox |ps=1 |P2044 |qid=Q1286}} |
4,810.9 metre |
{{wdib/sandbox |ps=1 |P2044 |qid=Q1286 |rt=}} |
4,810.9 metre |
{{wdib/sandbox |ps=1 |P2044 |qid=Q1286 |rt=[[:Category:Wikidata available for elevation]]}} |
Category:Wikidata available for elevation |
{{wdib/sandbox |ps=1 |P1943 |qid=Q1286}} |
|
{{wdib/sandbox |ps=1 |P1943 |qid=Q1286 |rt=}} |
|
{{wdib/sandbox |ps=1 |P1943 |qid=Q1286 |rt=[[:Category:Wikidata available for location map]]}} |
|
{{wdib/sandbox |fwd=ALL |osd=n |P610 |qid=Q1286}} |
Mont Blanc |
{{wdib/sandbox |fwd=ALL |osd=n |P610 |qid=Q1286 |replacetext=[[:Category:Wikidata available for Infobox mountain]]}} |
Category:Wikidata available for Infobox mountain |
{{wdib/sandbox |fwd=none |osd=n |P610 |qid=Q1286}} |
|
{{wdib/sandbox |fwd=none |osd=n |P610 |qid=Q1286 |replacetext=[[:Category:Wikidata available for Infobox mountain]]}} |
Category:Wikidata available for Infobox mountain |
| Code | Result |
|---|---|
{{coord |-24.627333 |-70.404167}} |
24°37′38″S 70°24′15″W / 24.627333°S 70.404167°W |
{{coord |-24.627333 |-70.404167 |display=inline}} |
24°37′38″S 70°24′15″W / 24.627333°S 70.404167°W |
{{coord |-24.627333 |-70.404167 |display=inline |format=dms}} |
24°37′38″S 70°24′15″W / 24.627333°S 70.404167°W |
{{#invoke:WikidataIB/sandbox |getCoords |fwd=ALL |osd=no |qid=Q265628}} |
24°37′39″S 70°24′15″W / 24.6275°S 70.4042°W |
{{#invoke:WikidataIB/sandbox |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline}} |
24°37′39″S 70°24′15″W / 24.6275°S 70.4042°W |
{{#invoke:WikidataIB/sandbox |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline|format=dms}} |
24°37′39″S 70°24′15″W / 24.6275°S 70.4042°W |
{{#invoke:WikidataIB/sandbox |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline|format=dec}} |
24°37′39″S 70°24′15″W / 24.6275°S 70.4042°W |
{{#invoke:WikidataIB/sandbox |getValue |P625 |fwd=ALL |osd=no |qid=Q265628}} |
24°37′39″S 70°24′15″W |
{{#invoke:WikidataIB/sandbox |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |format=dms}} |
24°37′39″S 70°24′15″W |
{{#invoke:WikidataIB/sandbox |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |format=dec}} |
24.6275°S 70.4042°W |
{{#invoke:WikidataIB/sandbox |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=long}} |
-70.4042 |
{{#invoke:WikidataIB/sandbox |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=lat}} |
-24.6275 |
{{#invoke:WikidataIB/sandbox |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=longlat}} |
-70.4042, -24.6275 |
| Code | Result |
|---|---|
{{#invoke:WikidataIB/sandbox |getQualifierValue |P2670 |pval=Q1205231 |qual=P31 |fwd=ALL |qid=Q1513315}} |
altazimuth mount |
{{#invoke:WikidataIB/sandbox |getQualifierValue |P2670 |pval=Q1205231 |qual=P31 |fwd=ALL |qid=Q1513315 |osd=no}} |
altazimuth mount |
| In meat (Q10990), the value of the property pronunciation audio (P443) which has qualifier language of work or name (P407) equal to British English (Q7979): | |
{{#invoke:WikidataIB/sandbox |getValueByQual |qid=Q10990 |P443 |qualID=P407 |qvalue=Q7979 |fwd=ALL |osd=no |noicon=true}}
|
|
| In Mexico (Q96), the value of the property inception (P571) which has qualifier criterion used (P1013) equal to declaration of independence (Q1464916): | |
{{#invoke:WikidataIB/sandbox |getValueByQual |qid=Q96 |P571 |qualID=P1013 |qvalue=Q1464916 |fwd=ALL |osd=no |noicon=true}}
|
28 September 1821, 16 September 1810 |
| In Mexico (Q96), the best value of the property inception (P571) which has qualifier criterion used (P1013) equal to declaration of independence (Q1464916): | |
{{#invoke:WikidataIB/sandbox |getValueByQual |qid=Q96 |P571 |qualID=P1013 |qvalue=Q1464916 |rank=best |fwd=ALL |osd=no |noicon=true}}
|
16 September 1810 |
| In Hungary (Q28), the value of the property nominal GDP (P2131) which has the reference source property stated in (P248) with qualifier World Bank Open Data (Q21540096): | |
{{#invoke:WikidataIB/sandbox |getValueByRefSource |qid=Q28| P2131 |qvalue=Q21540096|fwd=ALL|noicon=true}}
|
157,182,045,260 United States dollar, 181,848,022,230 United States dollar |
| In economy of Turkey (Q431095), the value of the property nominal GDP (P2131) which has the reference source property stated in (P248) with qualifier International Monetary Fund (Q7804), return the last (list=p-1) normal ranked value (rank=n), using the |qvalue= parameter: | |
{{#invoke:WikidataIB/sandbox |getValueByRefSource |qid=Q431095|P2131 |qvalue =Q7804 |fwd=ALL |osd=n |rank=n|list=p-1}}
|
815,271,751,720 United States dollar |
| In economy of Turkey (Q431095), the value of the property nominal GDP (P2131) which has the reference source property stated in (P248) with qualifier International Monetary Fund (Q7804), return the last (list=p-1) normal ranked value (rank=n), using the |match= parameter: | |
{{#invoke:WikidataIB/sandbox |getValueByRefSource |qid=Q431095|P2131 |match=Q7804 |fwd=ALL |osd=n |rank=n|list=p-1}}
|
1,030,000,000,000 United States dollar |
| In Toronto (Q172), the value of the property population (P1082) which has the reference source property stated in (P248) with qualifier Canada 2016 Census (Q16955163): | |
{{#invoke:WikidataIB/sandbox |getValueByRefSource |qid=Q172 | P1082 |match=Q16955163|fwd=ALL}}
|
|
For Leningrad Nuclear Power Plant (Q3279825) (which has 4 RBMK + 4 water-water energetic reactors):
{{#invoke:WikidataIB/sandbox |getSumOfParts |fwd=ALL| osd=n |qid=Q3279825 |vlist=Q377968, Q468846, Q558152, Q558181, Q319449, Q3100709, Q1204277, Q379573, Q557804, Q552334, Q1058741,Q2058283, Q1622414, Q373950, Q4391458, Q432432, Q35957}} →For Olkiluoto Nuclear Power Plant (Q1412996) (which has 1 PWR + 2 boiling water reactors):
{{#invoke:WikidataIB/sandbox |getSumOfParts |fwd=ALL| osd=n |qid=Q1412996 |vlist=Q377968, Q468846, Q558152, Q558181, Q319449, Q3100709, Q1204277, Q379573, Q557804, Q552334, Q1058741,Q2058283, Q1622414, Q373950, Q4391458, Q432432, Q35957}} →For Bruce Nuclear Generating Stationc (Q795104) (which has 8 CANDU reactors):
{{#invoke:WikidataIB/sandbox |getSumOfParts |fwd=ALL| osd=n |qid=Q795104 |vlist=Q377968, Q468846, Q558152, Q558181, Q319449, Q3100709, Q1204277, Q379573, Q557804, Q552334, Q1058741,Q2058283, Q1622414, Q373950, Q4391458, Q432432, Q35957}} →For Three Mile Island Nuclear Generating Station (Q862589) (which doesn't seem to have any reactors, according to Wikidata):
{{#invoke:WikidataIB/sandbox |getSumOfParts |fwd=ALL| osd=n |qid=Q862589 |vlist=Q377968, Q468846, Q558152, Q558181, Q319449, Q3100709, Q1204277, Q379573, Q557804, Q552334, Q1058741,Q2058283, Q1622414, Q373950, Q4391458, Q432432, Q35957}} →In meat (Q10990), the value of the property pronunciation audio (P443) which has the fixed qualifier "language of work or name" equal to a given language code (or default) is:
{{#invoke:WikidataIB/sandbox |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true}}
|
|
{{#invoke:WikidataIB/sandbox |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=sv}}
|
|
{{#invoke:WikidataIB/sandbox |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en}}
|
|
{{#invoke:WikidataIB/sandbox |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en-gb}}
|
|
{{#invoke:WikidataIB/sandbox |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en-us}}
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=Q42}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=Q42 |}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=Q42 |1=}} |
|
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=Q42 |wikidata}} |
British science fiction writer and humorist (1952–2001) |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=Q42 |1=wikidata}} |
British science fiction writer and humorist (1952–2001) |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=Q42 |locally supplied description}} |
locally supplied description |
| Douglas Adams (Q42) | {{#invoke:WikidataIB/sandbox |getDescription |qid=Q42 |none}} |
| Philip the Arab (Q1817), date of death (P570) | {{#invoke:WikidataIB/sandbox |getDatePrecision |P570 |qid=Q1817}} |
9 |
| Philip the Arab (Q1817), country (P17) | {{#invoke:WikidataIB/sandbox |getDatePrecision |P17 |qid=Q1817}} |
0 |
| Philip the Arab (Q1817), country of citizenship (P27) | {{#invoke:WikidataIB/sandbox |getDatePrecision |P27 |qid=Q1817}} |
0 |
| Wikidata Sandbox (Q4115189), date of death (P570) | {{#invoke:WikidataIB/sandbox |getDatePrecision |P570 |qid=Q4115189}} |
0 |
Expensive call if using arbitrary access.
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |fwd=ALL}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid= |fwd=ALL}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=ALL}} |
(+)-trans-2-(dimethylaminomethyl)-1-(m-methoxyphenyl)cyclohexanol, (+)-tramadol, 2-[(dimethylamino)methyl]-1-(3-methoxyphenyl)cyclohexan-1-ol, (R,R)-tramadol |
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=alias}} |
(+)-trans-2-(dimethylaminomethyl)-1-(m-methoxyphenyl)cyclohexanol, (+)-tramadol, 2-[(dimethylamino)methyl]-1-(3-methoxyphenyl)cyclohexan-1-ol, (R,R)-tramadol |
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=alias |Tramadol}} |
Tramadol |
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=ALL |spf=alias}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=ALL |spf=alias |Tramadol}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=ALL |list=hlist}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=ALL |list=ubl}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=ALL |lang=de}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAliases |qid=Q407592 |fwd=ALL |lang=fr}} |
Expensive call if using arbitrary access.
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllAliases}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllAliases |qid=}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllAliases |qid=Q407592}} |
(±)-tramadol (nn); טרמל, זאלדיאר, טרמדקס (he); (R,R)-tramadol, (+)-trans-2-(dimethylaminomethyl)-1-(m-methoxyphenyl)cyclohexanol, (+)-tramadol (cy); ترمدول (ar); (+)-trans-2-(dimethylaminomethyl)-1-(m-methoxyphenyl)cyclohexanol, (+)-tramadol, 2-[(dimethylamino)methyl]-1-(3-methoxyphenyl)cyclohexan-1-ol, (R,R)-tramadol (en); (+)-Tramadol, (R,R)-tramadol (eu); 曲馬多, 曲马朵, 特拉嗎竇 (zh); (+)-trans-2-(dimethylaminomethyl)-1-(m-methoxyphenyl)cyclohexanol, (+)-tramadol, 2-[(dimethylamino)methyl]-1-(3-methoxyphenyl)cyclohexan-1-ol, (R,R)-tramadol (gpe) |
Expensive call if using arbitrary access.
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllLabels}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllLabels |qid=}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllLabels |qid=Q407592}} |
tramadol (es); tramadol (hu); Трамадол (uk); tramadol (eu); ٹراماڈول (ks); Tramadol (ast); трамадол (ru); 曲马多 (zh-hans); Tramadol (de); 曲马多 (zh); տրամադոլ (hy); Трамадол (sr-ec); трамадол (bg); tramadol (da); tramadol (ro); 曲馬多 (zh-hk); トラマドール (ja); Tramadol (mg); Tramadol (sv); tramadol (pt); טרמדול (he); tramadol (gpe); 曲馬多 (zh-hant); 曲马多 (zh-cn); Tramadol (uz); tramadoli (fi); Tramadol (wa); tramadol (ca); Трамадол (mk); 曲馬多 (zh-tw); tramadolo (it); Tramadol (dag); tramadol (fr); (R,R)-tramadol (pl); tramadool (et); ทรามาดอล (th); 트라마돌 (ko); Τραμαδόλη (el); ترامادول (mzn); tramadol (sk); Tramadol (sr-el); Tramadol (vi); Tramadol (sh); tramadol (cy); ترامادول (azb); трамадол (sr); tramadol (sl); ترامادول (arz); ଟ୍ରାମାଡଲ (or); 曲马多 (zh-sg); tramadol (id); tramadol (nn); ട്രമാഡോൾ (ml); tramadol (nl); Tramadol (tr); Трамадол (sah); tramadol (cs); ترامادول (fa); tramadol (en); ترامادول (ar); Tramadoło (vec); Tramadol (ha) |
Expensive call if using arbitrary access.
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllDescriptions}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllDescriptions |qid=}} |
|
| tramadol (Q407592) | {{#invoke:WikidataIB/sandbox |getAllDescriptions |qid=Q407592}} |
analgésico opioide (es); opioid, kábító fájdalomcsillapító (hu); konposatu kimiko (eu); کیٖمیٲیی مُرَکَب (ks); compuestu químicu (ast); compost químic (ca); chemische Verbindung (de-ch); organische Verbindung, Opioid, Arzneistoff, Analgetikum (de); chemical compound (en-gb); քիմիական միացություն (hy); 鸦片类药物,用作镇痛药 (zh); kemisk forbindelse (da); compus chimic (ro); chemická zlúčenina (sk); component quimic (oc); opioid pain medication (gpe); 鸦片类药物,用作镇痛药 (zh-cn); kemiallinen yhdiste (fi); kemia kombinaĵo (eo); chemická sloučenina (cs); compuesto quimico (an); রাসায়নিক যৌগ (bn); composé chimique (fr); composto químico (gl); 鸦片类药物,用作镇痛药 (zh-hans); compositum chemicum (la); composto químico e medicamento opioide (pt); kemisk förening (sv); ķīmisks savienojums (lv); chemiese verbinding (af); תרכובת (he); komponim kimik (sq); composto chimico (it); composto químico (pt-br); senyawa kimia (id); cheemesch Verbindung (lb); związek chemiczny (pl); kjemisk forbindelse (nb); chemische verbinding (nl); kjemisk sambinding (nn); chemical compound (en-ca); ମଧ୍ୟମ ଓ ସାଂଘାତିକ ଯନ୍ତ୍ରଣା ନିବାରକ ଔଷଧ (or); داروی ضددرد و مخدر (fa); pharmaceutical drug (en); مركب كيميائي (ar); οπιοειδές αναλγητικό φάρμακο (el); 약물의 종류 (ko) |
Wikidata won't directly allow a sitelink to a redirect, so Theodor Magnus Fries (Q15410) who has occupation (P106) of lichenologist (Q15924544) won't link to Lichenologist, which is a redirect to Lichenology, because there's no enwiki sitelink in lichenologist (Q15924544).
{{wdib/sandbox |fwd=ALL |osd=n |qid=Q15410 |P106}} → botanist, university teacher, economist, lichenologist, mycologist, botanical collector, scientific collector So we have a parameter, |linkredir=yes or no, that switches in a test whether there is a redirect on the wiki with the same title as the label.
{{wdib/sandbox |fwd=ALL |osd=n |qid=Q15410 |P106 |linkredir=y}} → botanist, university teacher, economist, lichenologist, mycologist, botanical collector, scientific collector Some titles of works, journals, etc. should be "quoted" (for small works) or italicised (for large works). So we have a parameter |formatvalue=y/n to allow that formatting when needed. For notable work (P800) in George Orwell (Q3335):
{{wdib |fwd=ALL |osd=n |qid=Q3335 |P800}} → The Road to Wigan Pier, Homage to Catalonia, Animal Farm, Nineteen Eighty-Four, Burmese Days, Coming Up for Air, Keep the Aspidistra Flying, A Clergyman's Daughter, Down and Out in Paris and London, Politics and the English Language, The Lion and the Unicorn: Socialism and the English Genius, Why I Write {{wdib/sandbox |fwd=ALL |osd=n |qid=Q3335 |P800}} → The Road to Wigan Pier, Homage to Catalonia, Animal Farm, Nineteen Eighty-Four, Burmese Days, Coming Up for Air, Keep the Aspidistra Flying, A Clergyman's Daughter, Down and Out in Paris and London, Politics and the English Language, The Lion and the Unicorn: Socialism and the English Genius, Why I Write {{wdib/sandbox |fwd=ALL |osd=n |qid=Q3335 |P800}} → The Road to Wigan Pier, Homage to Catalonia, Animal Farm, Nineteen Eighty-Four, Burmese Days, Coming Up for Air, Keep the Aspidistra Flying, A Clergyman's Daughter, Down and Out in Paris and London, Politics and the English Language, The Lion and the Unicorn: Socialism and the English Genius, Why I Write {{#invoke:WikidataIB/sandbox |location}} →{{#invoke:WikidataIB/sandbox |location |qid=Q1}} →{{#invoke:WikidataIB/sandbox |location |debug=}} →{{#invoke:WikidataIB/sandbox |location |debug= |qid=Q1}} →{{#invoke:WikidataIB/sandbox |location |debug=y}} → Wikidata entity not found.{{#invoke:WikidataIB/sandbox |location |debug=y |qid=Q1}} →{{#invoke:WikidataIB/sandbox |location |Q9141 |first=yes |skip=yes}} → Taj Mahal, India{{#invoke:WikidataIB/sandbox |location |Q9141 |first=yes}} → Taj Mahal, Uttar Pradesh, IndiaBut for the USA, we normally miss off the "US" part. So put it back and change Wikidata's "USA" to enwiki's "US" when skip is true.
{{#invoke:WikidataIB/sandbox |location |Q9188 |first=yes |skip=yes}} → Empire State Building, US{{#invoke:WikidataIB/sandbox |location |Q9188 |first=yes}} → Empire State Building, Midtown Manhattan, Manhattan, New York City, New YorkFor British locations, it would skip to United Kingdom (Q145) which is the first instance of country (Q6256). Unfortunately England (Q21) is not an instance of a country, but an instance of a constituent country of the United Kingdom (Q3336843), according to Wikidata. So also test for Q3336843 when skip is true.
{{#invoke:WikidataIB/sandbox |location |Q248188 |first=y |skip=y}} → Milton Keynes Dons F.C., England{{#invoke:WikidataIB/sandbox |location |Q248188 |first=y}} → Milton Keynes Dons F.C., Milton Keynes, City of Milton Keynes, Buckinghamshire, South East England, EnglandSome locations (like North Yorkshire (Q23086)) have multiple values for located in the administrative territorial entity (P131). So check for qualifier applies to part (P518) to pick the right one.
{{#invoke:WikidataIB/sandbox |location |Q527846 |first=y |skip=y}} → Selby, England{{#invoke:WikidataIB/sandbox |location |Q527846 |first=y}} → Selby, North Yorkshire, EnglandExamining Animal Farm (Q1396889) image (P18)
{{#invoke:WikidataIB/sandbox |examine |pid=P18 |qid=Q1396889}} →
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 {
metatable = table#6
["P2096"] = table#7 {
table#8 {
["datatype"] = "monolingualtext",
["datavalue"] = table#9 {
["type"] = "monolingualtext",
["value"] = table#10 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#11 {
["datatype"] = "monolingualtext",
["datavalue"] = table#12 {
["type"] = "monolingualtext",
["value"] = table#13 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#14 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB/sandbox |examine |P18 |qid=Q1396889}} →
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 {
metatable = table#6
["P2096"] = table#7 {
table#8 {
["datatype"] = "monolingualtext",
["datavalue"] = table#9 {
["type"] = "monolingualtext",
["value"] = table#10 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#11 {
["datatype"] = "monolingualtext",
["datavalue"] = table#12 {
["type"] = "monolingualtext",
["value"] = table#13 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#14 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB/sandbox |examine |pid=P18 |Q1396889}} →
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 {
metatable = table#6
["P2096"] = table#7 {
table#8 {
["datatype"] = "monolingualtext",
["datavalue"] = table#9 {
["type"] = "monolingualtext",
["value"] = table#10 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#11 {
["datatype"] = "monolingualtext",
["datavalue"] = table#12 {
["type"] = "monolingualtext",
["value"] = table#13 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#14 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB/sandbox |examine |P18 |Q1396889}} →
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 {
metatable = table#6
["P2096"] = table#7 {
table#8 {
["datatype"] = "monolingualtext",
["datavalue"] = table#9 {
["type"] = "monolingualtext",
["value"] = table#10 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#11 {
["datatype"] = "monolingualtext",
["datavalue"] = table#12 {
["type"] = "monolingualtext",
["value"] = table#13 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#14 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB/sandbox |examine |Q1396889 |P18}} →
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 {
metatable = table#6
["P2096"] = table#7 {
table#8 {
["datatype"] = "monolingualtext",
["datavalue"] = table#9 {
["type"] = "monolingualtext",
["value"] = table#10 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#11 {
["datatype"] = "monolingualtext",
["datavalue"] = table#12 {
["type"] = "monolingualtext",
["value"] = table#13 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#14 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
Using wrapper template
{{examine|Q1396889 |P18}} →
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 {
metatable = table#6
["P2096"] = table#7 {
table#8 {
["datatype"] = "monolingualtext",
["datavalue"] = table#9 {
["type"] = "monolingualtext",
["value"] = table#10 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#11 {
["datatype"] = "monolingualtext",
["datavalue"] = table#12 {
["type"] = "monolingualtext",
["value"] = table#13 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#14 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
Some test cases for the function formatDate. Call like {{#invoke:WikidataIB/sandbox |formatDate | 1 August 30 BCE |bc=BCE |df=dmy}}
| no parameters | 1 August 30 BCE |
| bc=BC | 1 August 30 BC |
| bc=BCE | 1 August 30 BCE |
| bc=bc | 1 August 30 BC |
| bc=bce | 1 August 30 BCE |
| bc=XYZ | 1 August 30 BCE |
| df=dmy | 1 August 30 BCE |
| df=DMY | 1 August 30 BCE |
| df=mdy | August 1, 30 BCE |
| df=MDY | August 1, 30 BCE |
| df=ABC | 1 August 30 BCE |
| df=y | 30 BCE |
| bc=BCE df=dmy | 1 August 30 BCE |
| bc=BCE df=mdy | 1 August 30 BCE |
| bc=BCE df=y | 30 BCE |
| bc=BC df=dmy | 1 August 30 BC |
| bc=BC df=mdy | August 1, 30 BC |
| bc=BC df=y | 30 BC |
| no parameters | 20 January 2017 |
| bc=BC | 20 January 2017 |
| bc=BCE | 20 January 2017 |
| bc=bc | 20 January 2017 |
| bc=bce | 20 January 2017 |
| bc=XYZ | 20 January 2017 |
| df=dmy | 20 January 2017 |
| df=DMY | 20 January 2017 |
| df=mdy | January 20, 2017 |
| df=MDY | January 20, 2017 |
| df=ABC | 20 January 2017 |
| df=y | 2017 |
| bc=BCE df=dmy | 20 January 2017 |
| bc=BCE df=mdy | 20 January 2017 |
| bc=BCE df=y | 2017 |
| bc=BC df=dmy | 20 January 2017 |
| bc=BC df=mdy | January 20, 2017 |
| bc=BC df=y | 2017 |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.