Content deleted Content added
→Methods: update documentation |
m clean up from old page move, replaced: Hillary Rodham Clinton → Hillary Clinton (2) using AWB |
||
Line 49:
=== Example: spouse (P26) ===
* <code><nowiki>{{#invoke:Wikidata|getValue|P26|}}</nowiki></code> = returns nothing, so suppresses the display of spouse in an infobox
* <code><nowiki>{{#invoke:Wikidata|getValue|P26|FETCH_WIKIDATA}}</nowiki></code> = returns the linked value(s) of property P26 (spouse) stored in wikidata for the corresponding article (e.g. for article [[Bill Clinton]], it returns [[Hillary
* <code><nowiki>{{#invoke:Wikidata|getValue|P26|[[Hillary Clinton]]}}</nowiki></code> = returns [[Hillary Clinton]], allowing an infobox to use a local value rather than the value stored in Wikidata.
Line 110:
In [[Bill Clinton]] you should get:
* -
* - [[Hillary
* - [[Hillary Clinton]]
|