Local parameter, fetchwikidata, suppressfields మార్చు

Article Code Result
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50}}
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |Fred Bloggs}} Fred Bloggs
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=author; number_of_pages |name=author}} George Orwell  
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=title; number_of_pages |name=author}}
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL}} George Orwell  
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |Freda Bloggs}} Freda Bloggs
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=author}} 
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=author |name=author}}
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=title |name=author}} George Orwell  
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |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
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=no}} George Orwell  
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=yes}} George Orwell  
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=no}} Hugo Award for Best Novella, Modern Library 100 Best Novels, NPR Top 100 Science Fiction and Fantasy Books, Prometheus Award - Hall of Fame  
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=yes}}
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=}}
Article Code Result
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=no}} George Orwell  
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=yes}} George Orwell
యానిమల్ ఫార్మ్ (Q1396889) {{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=}} George Orwell  

getValue for dates మార్చు

Article Code Result
(Q357585) {{#invoke:WikidataIB |getValue |qid=Q357585 |P569 |fwd=ALL |osd=no}} 2 century BCdate QS:P,-150-00-00T00:00:00Z/7  
(Q51673) {{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no}} 14 జనవరి 83 BCdate QS:P,-0083-01-14T00:00:00Z/11, 83.0 BC  
(Q51673) {{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BC}} 14 జనవరి 83 BCdate QS:P,-0083-01-14T00:00:00Z/11, 83.0 BC  
(Q51673) {{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BCE}} 14 జనవరి 83 BCEdate QS:P,-0083-01-14T00:00:00Z/11, 83.0 BCE  
(Q51673) {{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=mdy}} 14 జనవరి 83 BCdate QS:P,-0083-01-14T00:00:00Z/11, 83.0 BC  
(Q51673) {{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=y}} 83.0 BC, 83.0 BC  
(Q51673) {{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |lang=fr}} 14 janvier 83 av. J.-C.date QS:P,-0083-01-14T00:00:00Z/11, 83 av. J.-C.  
(Q151973) {{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no}} 10 నవంబరు 1925  
(Q151973) {{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |bc=BC}} 10 నవంబరు 1925  
(Q151973) {{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=mdy}} 10 నవంబరు 1925  
(Q151973) {{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=y}} 1925  
(Q1817) {{#invoke:WikidataIB |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no}} c. 204  
(Q1817) {{#invoke:WikidataIB |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no |pd=yes}} 204  
(Q1817) {{#invoke:WikidataIB |getValue |qid=Q1817 |P570 |fwd=ALL |osd=no}} 249  

Earliest and latest date as qualifiers మార్చు

Article Code Result
(Q61714940) {{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940}} 20 centurydate QS:P,+1950-00-00T00:00:00Z/7
(Q61714940) {{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940 |qual=ALL}} 20 centurydate QS:P,+1950-00-00T00:00:00Z/7 (after 1933date QS:P,+1933-00-00T00:00:00Z/7,P1319,+1933-00-00T00:00:00Z/9)
(Q1786) {{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786}} 1428
(Q1786) {{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786 |qual=ALL}} 1428 (before 1429date QS:P,+1429-00-00T00:00:00Z/7,P1326,+1429-00-00T00:00:00Z/9)
జూలియస్ సీజర్ (Q1048) {{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048}} జూలై 100 BCdate QS:P,-0100-07-00T00:00:00Z/10
జూలియస్ సీజర్ (Q1048) {{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048 |qual=ALL}} జూలై 100 BCdate QS:P,-0100-07-00T00:00:00Z/10 (before 100 BC, disputed, after 100 BC)
పారిశ్రామిక విప్లవం (Q2269) {{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269}} 2010
పారిశ్రామిక విప్లవం (Q2269) {{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |qual=ALL}} 2010 (before 1840date QS:P,+1840-00-00T00:00:00Z/7,P1326,+1840-00-00T00:00:00Z/9, after 1820date QS:P,+1820-00-00T00:00:00Z/7,P1319,+1820-00-00T00:00:00Z/9)
పారిశ్రామిక విప్లవం (Q2269) {{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=fr |qual=ALL}} 2010 (avant 1840date QS:P,+1840-00-00T00:00:00Z/7,P1326,+1840-00-00T00:00:00Z/9, après 1820date QS:P,+1820-00-00T00:00:00Z/7,P1319,+1820-00-00T00:00:00Z/9)
పారిశ్రామిక విప్లవం (Q2269) {{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=zh |qual=ALL}} 2010年 (在1840年之前date QS:P,+1840-00-00T00:00:00Z/7,P1326,+1840-00-00T00:00:00Z/9, 在1820年之后date QS:P,+1820-00-00T00:00:00Z/7,P1319,+1820-00-00T00:00:00Z/9)
ఫ్రాన్స్ (Q142) {{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl}}
  • Mont Blanc
  • Barre des Écrins  
ఫ్రాన్స్ (Q142) {{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl |qual=ALL}}
  • Mont Blanc (Treaty of Turin, 45°49′57″N 6°51′53″E, 4,808.72 మీటరు, 1860–)
  • Barre des Écrins (before 1860date QS:P,+1860-00-00T00:00:00Z/7,P1326,+1860-00-00T00:00:00Z/9, 4,102 మీటరు, 44°55′19″N 6°21′34″E)  

వృత్తి (P106)

Article Code Result
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no}}
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=}}
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |locally supplied value}} locally supplied value
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=locally supplied value}} locally supplied value
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత, సైన్స్ ఫిక్షన్ రచయిత, హాస్యనటుడు, రచయిత, musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత, సైన్స్ ఫిక్షన్ రచయిత, హాస్యనటుడు, రచయిత, musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత, సైన్స్ ఫిక్షన్ రచయిత, హాస్యనటుడు, రచయిత, musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=1}} నాటక రచయిత  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=4}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=99}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత, సైన్స్ ఫిక్షన్ రచయిత, హాస్యనటుడు, రచయిత, musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=0}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత, సైన్స్ ఫిక్షన్ రచయిత, హాస్యనటుడు, రచయిత, musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=yes |qid=Q42 |maxvals=0}} స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, సైన్స్ ఫిక్షన్ రచయిత, రచయిత, musician  

Quantity handling మార్చు

వైశాల్యం (P2046), సముద్ర మట్టం నుండి ఎత్తు (P2044)

Article Code Result
బర్మింగ్‌హామ్ (Q2256) {{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no}} 267.77 ±0.01 చదరపు కిలోమీటరు  
బర్మింగ్‌హామ్ (Q2256) {{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no |unitabbr=yes}} 267.77 ±0.01 km²  
బర్మింగ్‌హామ్ (Q2256) {{#invoke:WikidataIB |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)  
(Q18208369) {{#invoke:WikidataIB |getValue |qid=Q18208369 |P2044 |ps=1 |uabbr=y |conv=y}} 4.5 m (15 ft)
(Q4574072) {{#invoke:WikidataIB |getValue |qid=Q4574072 |P2044 |ps=1 |uabbr=y |conv=y}} 8,848 m (29,029 ft)
అంతర్జాతీయ అంతరిక్ష కేంద్రం (Q25271) {{#invoke:WikidataIB |getValue |qid=Q25271 |P2044 |ps=1 |uabbr=y |conv=y}} 405 km (252 mi)
Article Code Result
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత, సైన్స్ ఫిక్షన్ రచయిత, హాస్యనటుడు, రచయిత, musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |sep=" – "}} నాటక రచయిత – స్క్రీన్‌ప్లే రచయిత – నవలాకారుడు – బాలసాహిత్య రచయిత – సైన్స్ ఫిక్షన్ రచయిత – హాస్యనటుడు – రచయిత – musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=hlist}}
  • నాటక రచయిత
  • స్క్రీన్‌ప్లే రచయిత
  • నవలాకారుడు
  • బాలసాహిత్య రచయిత
  • సైన్స్ ఫిక్షన్ రచయిత
  • హాస్యనటుడు
  • రచయిత
  • musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=ubl}}
  • నాటక రచయిత
  • స్క్రీన్‌ప్లే రచయిత
  • నవలాకారుడు
  • బాలసాహిత్య రచయిత
  • సైన్స్ ఫిక్షన్ రచయిత
  • హాస్యనటుడు
  • రచయిత
  • musician  
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=prose}} నాటక రచయిత, స్క్రీన్‌ప్లే రచయిత, నవలాకారుడు, బాలసాహిత్య రచయిత, సైన్స్ ఫిక్షన్ రచయిత, హాస్యనటుడు, రచయిత, musician  

Getting value and qualifiers మార్చు

ఇది ఈ ప్రాంతానికి రాజధాని (P1376) for జెనీవా (Q71)
Qualifiers: ప్రారంభ సమయం (P580) and ముగింపు తేదీ (P582)
Code Result
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71}} Canton of Geneva, Léman, రిపబ్లిక్ అఫ్ జెనీవా, రిపబ్లిక్ అఫ్ జెనీవా  
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P580}} Canton of Geneva (1815–), Léman (1798–), రిపబ్లిక్ అఫ్ జెనీవా (1534–), రిపబ్లిక్ అఫ్ జెనీవా (1813–)  
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P582}} Canton of Geneva, Léman (–1813), రిపబ్లిక్ అఫ్ జెనీవా (–1798), రిపబ్లిక్ అఫ్ జెనీవా (–1815)  
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P1326}} Canton of Geneva, Léman, రిపబ్లిక్ అఫ్ జెనీవా, రిపబ్లిక్ అఫ్ జెనీవా  
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=DATES}} Canton of Geneva (1815–), Léman (1798–1813), రిపబ్లిక్ అఫ్ జెనీవా (1534–1798), రిపబ్లిక్ అఫ్ జెనీవా (1813–1815)  
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL}} Canton of Geneva (1815–), Léman (1798–1813), రిపబ్లిక్ అఫ్ జెనీవా (1534–1798), రిపబ్లిక్ అఫ్ జెనీవా (1813–1815)  
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL |sep=" or " |qsep=" to "}} Canton of Geneva (1815–) or Léman (1798–1813) or రిపబ్లిక్ అఫ్ జెనీవా (1534–1798) or రిపబ్లిక్ అఫ్ జెనీవా (1813–1815)  

రాజధాని (P36) for ఫ్రాన్స్ (Q142)
Code Result
{{#invoke:WikidataIB |getValue |P36 |fwd=ALL |osd=no |qid=Q142 |qual=DATES |list=ubl}}
  • పారిస్ (1789–)
  • Bayeux (1944–1944)
  • Vichy (1940–1944)
  • ఆల్జీర్స్ (1942–1944)
  • లండన్ (1940–1942)
  • బ్రేజావిల్లె (1940–1942)
  • బోర్డియక్స్ (1940–1940)
  • టూర్స్ (1940–1940)
  • Versailles (1871–1879)
  • Versailles (1682–1789)  

అత్యంత ఎత్తైన ప్రాంతము (P610) for ఫ్రాన్స్ (Q142)
Qualifiers: అంత్యంత ఇటీవలి తేదీ (P1326) is handled to include "before "
Code Result
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142}} Mont Blanc, Barre des Écrins  
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=DATES}} Mont Blanc (1860–), Barre des Écrins  
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P1326}} Mont Blanc, Barre des Écrins (before 1860date QS:P,+1860-00-00T00:00:00Z/7,P1326,+1860-00-00T00:00:00Z/9)  
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P1326 |list=hlist}}
  • Mont Blanc
  • Barre des Écrins (before 1860date QS:P,+1860-00-00T00:00:00Z/7,P1326,+1860-00-00T00:00:00Z/9)  

Scaling quantities మార్చు

(P2131) for అమెరికా సంయుక్త రాష్ట్రాలు (Q30) and జర్మనీ (Q183)
Code Result
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n}} 2,33,15,08,05,60,000 యునైటెడ్ స్టేట్స్ డాలర్, 2,54,62,70,00,00,000 యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |uabbr=y}} $2,33,15,08,05,60,000, $2,54,62,70,00,00,000  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=3}}} 23,31,50,80,560 thousand యునైటెడ్ స్టేట్స్ డాలర్, 25,46,27,00,000 thousand యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=3 |uabbr=y}}} $23,31,50,80,560 thousand, $25,46,27,00,000 thousand  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=6}}} 2,33,15,081 million యునైటెడ్ స్టేట్స్ డాలర్, 2,54,62,700 million యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=6 |uabbr=y}}} $2,33,15,081 million, $2,54,62,700 million  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=9}}} 23,315 billion యునైటెడ్ స్టేట్స్ డాలర్, 25,463 billion యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=9 |uabbr=y}}} $23,315 billion, $25,463 billion  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=12}}} 23.32 trillion యునైటెడ్ స్టేట్స్ డాలర్, 25.46 trillion యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=12 |uabbr=y}}} $23.32 trillion, $25.46 trillion  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=}}} 2,33,15,08,05,60,000 యునైటెడ్ స్టేట్స్ డాలర్, 2,54,62,70,00,00,000 యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale= |uabbr=y}}} $2,33,15,08,05,60,000, $2,54,62,70,00,00,000  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=10}}} 23,315 billion యునైటెడ్ స్టేట్స్ డాలర్, 25,463 billion యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=10 |uabbr=y}}} $23,315 billion, $25,463 billion  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=-10}}} 2,33,15,08,05,60,000 యునైటెడ్ స్టేట్స్ డాలర్, 2,54,62,70,00,00,000 యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=-10 |uabbr=y}}} $2,33,15,08,05,60,000, $2,54,62,70,00,00,000  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}} 23,315 billion యునైటెడ్ స్టేట్స్ డాలర్, 25,463 billion యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}} $23,315 billion, $25,463 billion  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}} 23,315 billion యునైటెడ్ స్టేట్స్ డాలర్, 25,463 billion యునైటెడ్ స్టేట్స్ డాలర్  
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}} $23,315 billion, $25,463 billion  
{{#invoke:WikidataIB |getValue |qid=Q183 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}} 4,121 billion యూరో  
{{#invoke:WikidataIB |getValue |qid=Q183 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}} 4,121 billion €  

Fetching the names of the స్రష్ట (P170) from (Q29016906) (one value preferred):

Code Result
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}} Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione  
{{#invoke:WikidataIB |getPreferredValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}} Artemisia Gentileschi  
Using getValue only:
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=}} Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione  
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}} Artemisia Gentileschi  
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}} Aniella di Beltrano, Massimo Stanzione  
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}} Artemisia Gentileschi  
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}} Artemisia Gentileschi, Aniella di Beltrano, Massimo Stanzione  

Fetching the values of చిత్రణ (P180) from (Q29016906) (no values preferred):

Code Result
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}} Corisca, satyr, nymph, wig  
{{#invoke:WikidataIB |getPreferredValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}} Corisca, satyr, nymph, wig  
Using getValue only:
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=}} Corisca, satyr, nymph, wig  
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}}
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}} Corisca, satyr, nymph, wig  
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}} Corisca, satyr, nymph, wig  
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}} Corisca, satyr, nymph, wig  

Using template – Fetching the names of the స్రష్ట (P170) from (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  
(Q16240603) {{#invoke:WikidataIB |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=}} Ziegler  
(Q16240603) {{#invoke:WikidataIB |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=en}} Ziegler  
(Q16240603) {{#invoke:WikidataIB |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=ru}} Циглер  

Monolingual text handling మార్చు

Testing getValue using జన్మ నామం (P1477) for (Q16185856)
(Q16185856) {{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no}} Bleta Rexha  
(Q16185856) {{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=}} Bleta Rexha  
(Q16185856) {{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=en}} Bleta Rexha  
(Q16185856) {{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=en-gb}} Bleta Rexha  
(Q16185856) {{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=de}} Bleta Rexha  
(Q16185856) {{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=zh-mo}} Bleta Rexha  
Testing getValue using జన్మ నామం (P1477) for మావో జెడాంగ్ (Q5816)
మావో జెడాంగ్ (Q5816) {{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no}} 毛澤東  
మావో జెడాంగ్ (Q5816) {{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=}} 毛澤東  
మావో జెడాంగ్ (Q5816) {{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=en}} 毛澤東  
మావో జెడాంగ్ (Q5816) {{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=en-gb}} 毛澤東  
మావో జెడాంగ్ (Q5816) {{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=gu}} 毛澤東  
మావో జెడాంగ్ (Q5816) {{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=zh-mo}} 毛澤東  
Testing getValue using జన్మ నామం (P1477) for మోహన్ దాస్ కరంచంద్ గాంధీ (Q1001)
మోహన్ దాస్ కరంచంద్ గాంధీ (Q1001) {{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no}} મોહનદાસ ગાંધી  
మోహన్ దాస్ కరంచంద్ గాంధీ (Q1001) {{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=}} મોહનદાસ ગાંધી  
మోహన్ దాస్ కరంచంద్ గాంధీ (Q1001) {{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=en}} મોહનદાસ ગાંધી  
మోహన్ దాస్ కరంచంద్ గాంధీ (Q1001) {{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=en-gb}} મોહનદાસ ગાંધી  
మోహన్ దాస్ కరంచంద్ గాంధీ (Q1001) {{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=gu}} મોહનદાસ ગાંધી  
మోహన్ దాస్ కరంచంద్ గాంధీ (Q1001) {{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=zh-mo}} મોહનદાસ ગાંધી  
Code Result
{{coord |-24.627333 |-70.404167 |display=inline}} 24°37′38″S 70°24′15″W / 24.627333°S 70.404167°W / -24.627333; -70.404167
{{coord |-24.627333 |-70.404167 |display=inline |format=dms}} 24°37′38″S 70°24′15″W / 24.627333°S 70.404167°W / -24.627333; -70.404167
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628}} 24°37′38.4″S 70°24′15″W  
{{#invoke:WikidataIB |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline}} 24°37′38″S 70°24′15″W / 24.62733°S 70.40417°W / -24.62733; -70.40417
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |format=dms}} 24°37′38.4″S 70°24′15″W  
{{#invoke:WikidataIB |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline|format=dms}} 24°37′38″S 70°24′15″W / 24.62733°S 70.40417°W / -24.62733; -70.40417
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |format=dec}} 24.62733°S 70.40417°W  
{{#invoke:WikidataIB |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline|format=dec}} 24°37′38″S 70°24′15″W / 24.62733°S 70.40417°W / -24.62733; -70.40417
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=long}} -70.40417
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=lat}} -24.62733
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=longlat}} -70.40417, -24.62733

getQualifierValue మార్చు

Date precision is month
In (Q1513315): property ముఖ్య సంఘటన (P793) equal to నిర్మాణం (Q385378) has a ప్రారంభ సమయం (P580) qualifier
Code Result
{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P580 |fwd=ALL |qid=Q1513315}} నవంబరు 2006  
{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P580 |fwd=ALL |qid=Q1513315 |osd=no}} నవంబరు 2006  
Date precision is day
In (Q151973): property జీవిత భాగస్వామి (P26) equal to (Q3469983) has a ప్రారంభ సమయం (P580) qualifier
Code Result
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q3469983 |qual=P580 |fwd=ALL |qid=Q151973}}
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q3469983 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no}} 3 జూలై 1983  
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q3469983 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no |df=mdy}} 3 జూలై 1983  
Multiple date values
In (Q151973): property జీవిత భాగస్వామి (P26) equal to ఎలిజబెత్ టేలర్ (Q34851) has ప్రారంభ సమయం (P580) qualifiers
Code Result
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q34851 |qual=P580 |fwd=ALL |qid=Q151973}} 15 మార్చి 1964  
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q34851 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no}} 15 మార్చి 1964, 10 అక్టోబరు 1975  
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q34851 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no |df=mdy}} 15 మార్చి 1964, 10 అక్టోబరు 1975  
Qualifier value is an article
In (Q1513315): property (P2670) equal to (Q1205231) has an అవతారం (P31) qualifier
Code Result
{{#invoke:WikidataIB |getQualifierValue |P2670 |pval=Q1205231 |qual=P31 |fwd=ALL |qid=Q1513315}} altazimuth mount  
{{#invoke:WikidataIB |getQualifierValue |P2670 |pval=Q1205231 |qual=P31 |fwd=ALL |qid=Q1513315 |osd=no}} altazimuth mount  

getValueByQual మార్చు

In మాంసము (Q10990), the value of the property పలికే విధం (P443) which has qualifier భాష (P407) equal to బ్రిటిష్ ఆంగ్లం (Q7979) is:

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

getValueByLang మార్చు

In మాంసము (Q10990), the value of the property పలికే విధం (P443) which has the fixed qualifier "language of work or name" equal to a given language code (or default) is:

{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=sv}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en-gb}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en-us}}

getDescription మార్చు

Testing getDescription
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription}}
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=}}
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=Q42}}
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=Q42 |}}
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=Q42 |1=}}
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=Q42 |wikidata}} ఇంగ్లీషు రచయిత, హాస్యకారుడు
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=Q42 |1=wikidata}} ఇంగ్లీషు రచయిత, హాస్యకారుడు
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=Q42 |locally supplied description}} locally supplied description
డగ్లస్ ఆడమ్స్ (Q42) {{#invoke:WikidataIB |getDescription |qid=Q42 |none}}

Expensive call if using arbitrary access.

Testing getAliases
(Q407592) {{#invoke:WikidataIB |getAliases |qid= |fwd=ALL}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=alias}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=alias |Tramadol}} Tramadol
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |spf=alias}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |spf=alias |Tramadol}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |list=hlist}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |list=ubl}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |lang=de}}
(Q407592) {{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |lang=fr}}
debugging
{{#invoke:WikidataIB |location}}
{{#invoke:WikidataIB |location |qid=Q1}}
{{#invoke:WikidataIB |location |debug=}}
{{#invoke:WikidataIB |location |debug= |qid=Q1}}
{{#invoke:WikidataIB |location |debug=y}} → Wikidata entity not found.
{{#invoke:WikidataIB |location |debug=y |qid=Q1}}
(Q248188)
Milton Keynes, మిల్టన్ కీన్స్, బకింగ్హంషైర్, South East England, ఇంగ్లాండ్
Milton Keynes, మిల్టన్ కీన్స్, బకింగ్హంషైర్, South East England, ఇంగ్లాండ్
Milton Keynes Dons F.C., Milton Keynes, మిల్టన్ కీన్స్, బకింగ్హంషైర్, South East England, ఇంగ్లాండ్
తాజ్ మహల్ (Q9141)
{{#invoke:WikidataIB |location |Q9141 |first=yes |skip=yes}}తాజ్ మహల్, భారతదేశం
{{#invoke:WikidataIB |location |Q9141 |first=yes}}తాజ్ మహల్, ఆగ్రా, ఆగ్రా జిల్లా, Agra division, ఉత్తర ప్రదేశ్, భారతదేశం

But 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.

ఎంపైర్ స్టేట్ బిల్డింగ్ (Q9188)
{{#invoke:WikidataIB |location |Q9188 |first=yes |skip=yes}}ఎంపైర్ స్టేట్ బిల్డింగ్, అమెరికా సంయుక్త రాష్ట్రాలు
{{#invoke:WikidataIB |location |Q9188 |first=yes}}ఎంపైర్ స్టేట్ బిల్డింగ్, Midtown Manhattan, మాన్హాటన్, న్యూయార్క్, న్యూయార్క్ రాష్ట్రం, అమెరికా సంయుక్త రాష్ట్రాలు

For British locations, it would skip to యునైటెడ్ కింగ్‌డమ్ (Q145) which is the first instance of దేశం (Q6256). Unfortunately ఇంగ్లాండ్ (Q21) is not an instance of a country, but an instance of a (Q3336843), according to Wikidata. So also test for Q3336843 when skip is true.

(Q248188)
{{#invoke:WikidataIB |location |Q248188 |first=y |skip=y}} → Milton Keynes Dons F.C., ఇంగ్లాండ్
{{#invoke:WikidataIB |location |Q248188 |first=y}} → Milton Keynes Dons F.C., Milton Keynes, మిల్టన్ కీన్స్, బకింగ్హంషైర్, South East England, ఇంగ్లాండ్

Some locations (like ఉత్తర యార్క్ షైర్ (Q23086)) have multiple values for వున్న పరిపాలనా ప్రాంతం (P131). So check for qualifier అన్వయించే భాగం (P518) to pick the right one.

సెల్బి (Q527846)
{{#invoke:WikidataIB |location |Q527846 |first=y |skip=y}} → సెల్బి, ఇంగ్లాండ్
{{#invoke:WikidataIB |location |Q527846 |first=y}} → సెల్బి, Selby, North Yorkshire, ఉత్తర యార్క్ షైర్, ఇంగ్లాండ్

Examining యానిమల్ ఫార్మ్ (Q1396889) బొమ్మ (P18)

{{#invoke:WikidataIB |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 {
            ["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",
    },
}

{{#invoke:WikidataIB |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 {
            ["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",
    },
}

{{#invoke:WikidataIB |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 {
            ["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",
    },
}

{{#invoke:WikidataIB |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 {
            ["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",
    },
}

{{#invoke:WikidataIB |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 {
            ["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",
    },
}

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 {
            ["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",
    },
}

Some test cases for the function formatDate. Call like {{#invoke:WikidataIB |formatDate | 1 August 30 BCE |bc=BCE |df=dmy}}

Input date: 1 August 30 BCE, 12:39:56
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
Input date: 20 January 2017, 12:39:56
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
Return to "WikidataIB/testing" page.