Module talk:WikidataIB: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Module talk:WikidataIB/Archive 8) (bot
Line 54:
 
Is there an equivalent to this module to retrieve structured data from a file on wikimedia commons? E.g. [[c:File:Inhibition_mechanism_(irreversible).svg|this file]] should have P275 = Q20007257. Any ideas? [[User:Evolution and evolvability|T.Shafee(Evo<small>&#38;</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 06:29, 10 March 2023 (UTC)
 
== value instead of Qid in qvalue ==
 
With module [[:Module:Wd|Wd]] it's possible to do this (for ''total revenue'' in [[:d:Q30288051]]):
*<nowiki>{{#invoke:Wd|property|eid=Q30288051|P2139|P585=2017}}</nowiki> → {{#invoke:Wd|property|eid=Q30288051|P2139|P585=2017}}
but module WikidataIB only takes qualifier ID for qvalue so the following does not work
*<nowiki>{{#invoke:WikidataIB |getValueByQual |qid=Q30288051 |P2139 |qualID=P585 |qvalue=2017}}</nowiki> → {{#invoke:WikidataIB |getValueByQual |qid=Q30288051 |P2139 |qualID=P585 |qvalue=2017}}
Is there a way to use any value, like in module Wd? [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 18:00, 2 June 2023 (UTC)