"વિભાગ:Wikidata/doc" ની આવૃત્તિઓ વચ્ચેનો તફાવત

નાનું
Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
નાનું (en:Module:Wikidata/doc માંથી આયાત કરેલ ૨ પુનરાવર્તનો)
નાનું (Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html])
=== Testing spouse ===
Copy and paste the following into any article and preview it (please don't save!):
<sourcesyntaxhighlight lang="moin">
* - {{#invoke:Wikidata|getValue|P26|}}
* - {{#invoke:Wikidata|getValue|P26|FETCH_WIKIDATA}}
* - {{#invoke:Wikidata|getValue|P26|[[Hillary Rodham Clinton]]}}
</syntaxhighlight>
</source>
 
In [[Bill Clinton]] you should get:
=== Testing birthplace ===
Copy and paste the following into any article and preview it (please don't save!):
<sourcesyntaxhighlight lang="moin">
* - {{#invoke:Wikidata|getValue|P19|}}
* - {{#invoke:Wikidata|getValue|P19|FETCH_WIKIDATA}}
* - {{#invoke:Wikidata|getValue|P19|[[Newport]]}}
</syntaxhighlight>
</source>
Try [[William Ellery]] and check that the Wikidata call correctly disambiguates.
 
૭,૯૧૫

edits