Content deleted Content added
→Bug in fetching referenced data: prefer to use a local parameter for such a case |
|||
Line 349:
: I've just realised that your two examples you have 出生地點 ("Birth place") and 出生地点 (also "Birth place"). Does that mean you want to use ''both'' of those in your infoboxes? If so, then make two invocations in the infobox definition, one with <code>|name=出生地點</code> and the other with <code>|name=出生地点</code>. Then use {{para |fetchwikidata |abc, ..., 出生地點 出生地点, ..., xyz}} and both will be displayed, if that's what you want.
: Please ping me again if I've not answered your query with something useful, and let me know if I can be more specific. Cheers --[[User:RexxS|RexxS]] ([[User talk:RexxS|talk]]) 19:32, 5 February 2017 (UTC)
== getQualifierValue only works for properties that are Q-number valued ? ==
It seems getQualifierValue only works for properties that are Q-number valued.
Is there a good reason for this? I had been hoping to use it to extract a qualifier from a property that is external-identifier valued, for example:
* {{#invoke:WikidataIB |getQualifierValue |P1367 |pval=simpson-charles-walter-18851971 |qual=P1114 |fetchwikidata=ALL |qid=Q5083334 }}
to extract the number of [https://artuk.org/discover/artists/simpson-charles-walter-18851971 works at Art UK] associated with [[Charles Walter Simpson (English artist)]] ({{Q|5083334}}).
Also, is it possible to omit the value for <code>pval=</code> in cases where there is only one pval, since my template is not currently written to handle cases when there is more than one? Thanks. [[User:Jheald|Jheald]] ([[User talk:Jheald|talk]]) 09:35, 20 February 2017 (UTC)
|