Moduldiskussion:WikidataIB/testing

message: * 
Article	Code                                                                                               	Result
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50}}                                                	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |Fred Bloggs}}                                   	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=author; number_of_pages |name=author}}      	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=title; number_of_pages |name=author}}       	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL}}                                       	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |Freda Bloggs}}                         	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=author}}                           	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=author |name=author}}              	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |spf=title |name=author}}               	
       	{{#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.
thread_title:  Local parameter, fetchwikidata, suppressfields 

message: * 
* 
Article	Code                                                                  	Result
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=no}}  	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=yes}} 	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=no}} 	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=yes}}	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=}}
thread_title:  Only sourced 

message: * 
Article	Code                                                                    	Result
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=no}} 	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=yes}}	
       	{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |noicon=}}
thread_title:  No icon 

message: * 
* 
Article	Code                                                                        	Result
       	{{#invoke:WikidataIB |getValue |qid=Q357585 |P569 |fwd=ALL |osd=no}}        	
       	{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no}}         	
       	{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BC}}  	
       	{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BCE}} 	
       	{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=mdy}} 	
       	{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=y}}   	
       	{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |lang=fr}}	
       	{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no}}        	
       	{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |bc=BC}} 	
       	{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=mdy}}	
       	{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=y}}  	
       	{{#invoke:WikidataIB |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no}}          	
       	{{#invoke:WikidataIB |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no |pd=yes}}  	
       	{{#invoke:WikidataIB |getValue |qid=Q1817 |P570 |fwd=ALL |osd=no}}          	
=== Earliest and latest date as qualifiers ===
* 
* 
* 
* 
Article	Code                                                                                	Result
       	{{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940}}                         	
       	{{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940 |qual=ALL}}               	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786}}                             	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786 |qual=ALL}}                   	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048}}                             	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048 |qual=ALL}}                   	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269}}                             	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |qual=ALL}}                   	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=fr |qual=ALL}}          	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=zh |qual=ALL}}          	
       	{{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl}}          	
       	{{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl |qual=ALL}}
thread_title:  getValue for dates 

message: * 
* 
* 
* 
Article	Code                                                                                	Result
       	{{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940}}                         	
       	{{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940 |qual=ALL}}               	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786}}                             	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786 |qual=ALL}}                   	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048}}                             	
       	{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048 |qual=ALL}}                   	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269}}                             	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |qual=ALL}}                   	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=fr |qual=ALL}}          	
       	{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=zh |qual=ALL}}          	
       	{{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl}}          	
       	{{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl |qual=ALL}}
thread_title:  Earliest and latest date as qualifiers 

message: Article	Code                                                                                                        	Result
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no}}                                   	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=}}                             	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |locally supplied value}}  	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=locally supplied value}}	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |}}                        	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=}}                      	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42}}                          	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=1}}               	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=4}}               	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=99}}              	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=0}}               	
       	{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=yes |qid=Q42 |maxvals=0}}
thread_title:  maxvals 

message: , 
Article	Code                                                                                     	Result
       	{{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no}}                      	
       	{{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no |unitabbr=yes}}        	
       	{{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no |unitabbr=yes |conv=y}}	
       	{{#invoke:WikidataIB |getValue |qid=Q18208369 |P2044 |ps=1 |uabbr=y |conv=y}}            	
       	{{#invoke:WikidataIB |getValue |qid=Q4574072 |P2044 |ps=1 |uabbr=y |conv=y}}             	
       	{{#invoke:WikidataIB |getValue |qid=Q25271 |P2044 |ps=1 |uabbr=y |conv=y}}
thread_title:  Quantity handling 

message: * 
Article	Code                                                                        	Result
       	{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42}}            	
       	{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |sep=" – "}} 	
       	{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=hlist}}	
       	{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=ubl}}  	
       	{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=prose}}
thread_title:  List handling 

message: :  for 
replies: text: Qualifiers:  and 
Code                                                                                                	Result
                                   	
                        	
                        	
                       	
                       	
                         	
	
----

text: for 
Code                                                                                  	Result
	
----

text: for

text: Qualifiers:  is handled to include "before "
Code                                                                                     	Result
                        	
            	
            	

thread_title:  Getting value and qualifiers 

message: :  for  and 
Code                                                                                         	Result
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n}}                     	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |uabbr=y}}            	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=3}}}           	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=3 |uabbr=y}}}  	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=6}}}           	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=6 |uabbr=y}}}  	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=9}}}           	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=9 |uabbr=y}}}  	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=12}}}          	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=12 |uabbr=y}}} 	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=}}}            	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale= |uabbr=y}}}   	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=10}}}          	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=10 |uabbr=y}}} 	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=-10}}}         	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=-10 |uabbr=y}}}	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}}        	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}}  	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}}        	
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}}  	
{{#invoke:WikidataIB |getValue |qid=Q183 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}}       	
{{#invoke:WikidataIB |getValue |qid=Q183 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}}
thread_title:  Scaling quantities 

message: Fetching the names of the  from  (one value preferred):
Code                                                                           	Result
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}}         	
{{#invoke:WikidataIB |getPreferredValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}}	
Using getValue only:                                                           	Using getValue only:
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=}}  	
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}} 	
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}} 	
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}} 	
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}} 	
----
Fetching the values of  from  (no values preferred):
Code                                                                           	Result
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}}         	
{{#invoke:WikidataIB |getPreferredValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}}	
Using getValue only:                                                           	Using getValue only:
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=}}  	
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}} 	
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}} 	
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}} 	
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}} 	
----
Using template – Fetching the names of the  from  (one value preferred):
Code                                                     	Result
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no}}           	
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=p}}   	
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=n}}   	
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=best}}	
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=xyz}}
thread_title:  Ranks 

message: {{#invoke:WikidataIB |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=}}  	
	{{#invoke:WikidataIB |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=en}}	
	{{#invoke:WikidataIB |getValue |P734 |qid=Q16240603 |fwd=ALL | osd=no | linked=no |lang=ru}}
thread_title:  Language code 

message: * 
 Testing getValue using  for 
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no}}            	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=}}     	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=en}}   	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=en-gb}}	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=de}}   	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q16185856 |fwd=ALL |osd=no |lang=zh-mo}}	
 Testing getValue using  for 
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no}}            	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=}}     	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=en}}   	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=en-gb}}	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=gu}}   	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q5816 |fwd=ALL |osd=no |lang=zh-mo}}	
 Testing getValue using  for 
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no}}            	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=}}     	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=en}}   	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=en-gb}}	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=gu}}   	
	{{#invoke:WikidataIB |getValue |P1477 |qid=Q1001 |fwd=ALL |osd=no |lang=zh-mo}}
thread_title:  Monolingual text handling 

message: * 
* 
Code                                                                                           	Result
{{coord |-24.627333 |-70.404167 |display=inline}}                                              	
{{coord |-24.627333 |-70.404167 |display=inline |format=dms}}                                  	
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628}}                           	
{{#invoke:WikidataIB |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline}}                	
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |format=dms}}               	
{{#invoke:WikidataIB |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline|format=dms}}     	
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |format=dec}}               	
{{#invoke:WikidataIB |getCoords |fwd=ALL |osd=no |qid=Q265628 |display=inline|format=dec}}     	
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=long}}   	
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=lat}}    	
{{#invoke:WikidataIB |getValue |P625 |fwd=ALL |osd=no |qid=Q265628 |noicon=true |show=longlat}}
thread_title:  Coordinates 

message: ; Date precision is month:
replies: text: In : property  equal to  has a  qualifier
Code                                                                                                   	Result
        	
	
; Date precision is day:

text: In : property  equal to  has a  qualifier
Code                                                                                                          	Result
                	
        	
	
; Multiple date values:

text: In : property  equal to  has  qualifiers
Code                                                                                                        	Result
                	
        	
	
; Qualifier value is an article:

text: In : property  equal to  has an  qualifier
Code                                                                                                    	Result
        	

thread_title:  getQualifierValue 

message: In , the value of the property  which has qualifier  equal to  is:
{{#invoke:WikidataIB |getValueByQual |qid=Q10990 |P443 |qualID=P407 |qvalue=Q7979 |fwd=ALL |osd=no |noicon=true}}
thread_title:  getValueByQual 

message: In , the value of the property  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}}
thread_title:  getValueByLang 

message: Testing getDescription
	{{#invoke:WikidataIB |getDescription}}                                       	
	{{#invoke:WikidataIB |getDescription |qid=}}                                 	
	{{#invoke:WikidataIB |getDescription |qid=Q42}}                              	
	{{#invoke:WikidataIB |getDescription |qid=Q42 |}}                            	
	{{#invoke:WikidataIB |getDescription |qid=Q42 |1=}}                          	
	{{#invoke:WikidataIB |getDescription |qid=Q42 |wikidata}}                    	
	{{#invoke:WikidataIB |getDescription |qid=Q42 |1=wikidata}}                  	
	{{#invoke:WikidataIB |getDescription |qid=Q42 |locally supplied description}}	
	{{#invoke:WikidataIB |getDescription |qid=Q42 |none}}
thread_title:  getDescription 

message: Testing getDatePrecision
,	{{#invoke:WikidataIB |getDatePrecision |P570 |qid=Q1817}}   	
,	{{#invoke:WikidataIB |getDatePrecision |P17 |qid=Q1817}}    	
,	{{#invoke:WikidataIB |getDatePrecision |P27 |qid=Q1817}}    	
,	{{#invoke:WikidataIB |getDatePrecision |P570 |qid=Q4115189}}
thread_title:  getDatePrecision 

message: Expensive call if using arbitrary access.
 Testing getAliases
	{{#invoke:WikidataIB |getAliases |fwd=ALL}}                                  	
	{{#invoke:WikidataIB |getAliases |qid= |fwd=ALL}}                            	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=}}                        	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL}}                     	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=alias}}                   	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=alias |Tramadol}}         	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |spf=alias}}          	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |spf=alias |Tramadol}}	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |list=hlist}}         	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |list=ubl}}           	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |lang=de}}            	
	{{#invoke:WikidataIB |getAliases |qid=Q407592 |fwd=ALL |lang=fr}}
thread_title:  getAliases 

message: Expensive call if using arbitrary access.
 Testing getAllAliases
	{{#invoke:WikidataIB |getAllAliases}}             	
	{{#invoke:WikidataIB |getAllAliases |qid=}}       	
	{{#invoke:WikidataIB |getAllAliases |qid=Q407592}}
thread_title:  getAllAliases 

message: Expensive call if using arbitrary access.
 Testing getAllLabels
	{{#invoke:WikidataIB |getAllLabels}}             	
	{{#invoke:WikidataIB |getAllLabels |qid=}}       	
	{{#invoke:WikidataIB |getAllLabels |qid=Q407592}}
thread_title:  getAllLabels 

message: Expensive call if using arbitrary access.
 Testing getAllDescriptions
	{{#invoke:WikidataIB |getAllDescriptions}}             	
	{{#invoke:WikidataIB |getAllDescriptions |qid=}}       	
	{{#invoke:WikidataIB |getAllDescriptions |qid=Q407592}}
thread_title:  getAllDescriptions 

message: ; debugging
replies: text:  →

text:  →

text:  →

text:  →

text:  →

text:  → 
;

text: ;

text:  →

text:  → 
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.
;

text:  →

text:  → 
For British locations, it would skip to  which is the first instance of .  Unfortunately  is not an instance of a country, but an instance of a , according to Wikidata. So also test for Q3336843 when skip is true.
;

text:  →

text:  → 
Some locations (like ) have multiple values for . So check for qualifier  to pick the right one.
;

text:  →

text:  →
thread_title:  location 

message: Examining  
{{#invoke:WikidataIB |examine |pid=P18 |qid=Q1396889}} → 
{{#invoke:WikidataIB |examine |P18 |qid=Q1396889}} → 
{{#invoke:WikidataIB |examine |pid=P18 |Q1396889}} → 
{{#invoke:WikidataIB |examine |P18 |Q1396889}} → 
{{#invoke:WikidataIB |examine |Q1396889 |P18}} → 
Using wrapper template
{{examine|Q1396889 |P18}} →
thread_title:  examine 

message: 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	
bc=BC        	
bc=BCE       	
bc=bc        	
bc=bce       	
bc=XYZ       	
df=dmy       	
df=DMY       	
df=mdy       	
df=MDY       	
df=ABC       	
df=y         	
bc=BCE df=dmy	
bc=BCE df=mdy	
bc=BCE df=y  	
bc=BC df=dmy 	
bc=BC df=mdy 	
bc=BC df=y   	
 Input date: 20 January 2017, 12:39:56
no parameters	
bc=BC        	
bc=BCE       	
bc=bc        	
bc=bce       	
bc=XYZ       	
df=dmy       	
df=DMY       	
df=mdy       	
df=MDY       	
df=ABC       	
df=y         	
bc=BCE df=dmy	
bc=BCE df=mdy	
bc=BCE df=y  	
bc=BC df=dmy 	
bc=BC df=mdy 	
bc=BC df=y
thread_title:  Format Dates 

message: no parameters                         		
url = www.google.com                  		
url = https://www.google.com          		
qid = Q95                             		
url = https://www.google.com qid = Q95		
url =
thread_title:  getWebsite