Module talk:WikidataIB: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
 
(7 intermediate revisions by 5 users not shown)
Line 1:
{{Permanently protected}}
{{WPBS|
{{WikiProject Wikidata}}
}}
{{banner holder|text=Page history|1=
{{oldtfdfull|date= 2020 September 15 |result=keep |disc=Module:Wikidata Infobox}}
}}
{{to-do|collapsed=yes}}
{{archives|search=yes}}
{{User:MiszaBot/config
|archiveheader = {{talkarchivenav}}
Line 10 ⟶ 17:
|archive = Module talk:WikidataIB/Archive %(counter)d
}}
{{oldtfdfull|date= 2020 September 15 |result=keep |disc=Module:Wikidata Infobox}}
{{archives|search=yes}}
 
== Possible bug ==
 
I think <code><nowiki>{{wdib|P38|qid=Q30|sn=true|noicon=true|osd=no|fwd=ALL}}</nowiki></code> should output "[[United States dollar|US dollar]]", not "[[United States dollar]]" (as it does now), because <code>sn=true</code> was given. Is it a bug? [[User:Janhrach|Janhrach]] ([[User talk:Janhrach|talk]]) 08:20, 8 July 2023 (UTC)
 
:@[[User:Janhrach|Janhrach]]: Fixed with [[Special:Diff/1164512594|this edit]] in [[Module:WikidataIB/sandbox]]. In the meantime, use {{para|shortname}} instead of {{para|sn}}. [[User:LennardHofmann|LennardHofmann]] ([[User talk:LennardHofmann|talk]]) 15:33, 9 July 2023 (UTC)
::{{ping|LennardHofmann}} Thank you. [[User:Janhrach|Janhrach]] ([[User talk:Janhrach|talk]]) 15:50, 9 July 2023 (UTC)
 
===Edit request on 10 July 2023===
{{edit template-protected|Module:WikidataIB|answered=yes}}
Please copy the contents of [[Module:WikidataIB/sandbox|the sandbox]] to the [[Module:WikidataIB|main module]]. {{u|LennardHofmann}} probably forgot to make an edit request, so I'm making it instead. [[User:Janhrach|Janhrach]] ([[User talk:Janhrach|talk]]) 11:59, 10 July 2023 (UTC)
: {{done}} [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 18:09, 10 July 2023 (UTC)
 
==Caption fails to appear from either the Media legend in Wikidata or if set locally with <code>|caption=</code>==
Please see:
*{{diff|Kaliflower Commune| 1142661983||Kaliflower Commune}} (oldid=1142661983), in which this version fails to display the Media legend from Wikidata.
*{{diff|Kaliflower Commune| 1173522586||Kaliflower Commune}} (oldid=1173522586), in which this version fails to display the local value for <code>|caption=Commune residents in 1972</code>
[[User:Peaceray|Peaceray]] ([[User talk:Peaceray|talk]]) 00:27, 3 September 2023 (UTC)
 
:{{ping|Peaceray}} This question should probably be asked at [[Template talk:Infobox organization/Wikidata]], not here. [[User:Janhrach|Janhrach]] ([[User talk:Janhrach|talk]]) 06:53, 3 September 2023 (UTC)
 
==Multiple qualifiers==
Line 39 ⟶ 24:
 
==Option to get 'raw value'==
IThere couldn'tshould findbe an option to get '''raw value''' of a wikidata item using this module, similar to what we get from {{code|{{wikidata{{!}}property{{!}}raw{{!}}...}}}}.
 
ThisAbsence of this option makes itthe template difficult to be used in infoboxes which require some wikidata property of a wikidata item which in turn is specified by some property of the given {{para|qid}}.
 
An example requirementThis is {{para|mla}} of {{tl|Infobox Indian Constituency (wd)}}necessary in order to comply with [[Wikipedia:Wikidata/2018 Infobox RfC | this RFC]] and [[Wikipedia:Wikidata#Appropriate_usage_in_articles|this list of RFCs]] which make it mandatory to use {{tl|Wdib}} with {{para|osd|true}} in infoboxes. [[User Talk:Riteze|<span style="color:green;">Riteze</span>]] 08:19, 4 March 2025 (UTC)
 
An example requirement is {{para|mla}} of {{tl|Infobox Indian Constituency (wd)}}. [[User Talk:Riteze|<span style="color:green;">Riteze</span>]] 08:19, 4 March 2025 (UTC)
 
== open and close quotation mark ==
This makes it difficult to be used in infoboxes which require some wikidata property of a wikidata item which in turn is specified by some property of the given {{para|qid}}.
 
Many of [[Quotation mark]]s have opening and closing, so both open and close quotation mark should be able to specified in [[Module:WikidataIB/titleformats|/titleformats]]. [[User:FlatLanguage|FlatLanguage]] ([[User talk:FlatLanguage|talk]]) 18:54, 26 March 2025 (UTC)
An example requirement is {{para|mla}} of {{tl|Infobox Indian Constituency (wd)}} in order to comply with [[Wikipedia:Wikidata/2018 Infobox RfC | this RFC]] and [[Wikipedia:Wikidata#Appropriate_usage_in_articles|this list of RFCs]] which make it mandatory to use {{tl|Wdib}} in infoboxes. [[User Talk:Riteze|<span style="color:green;">Riteze</span>]] 08:19, 4 March 2025 (UTC)
:Please see [[MOS:CURLY]]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 01:57, 27 March 2025 (UTC)
::/titleformats is for i18n, so projects other than enwiki should be considered. --[[User:FlatLanguage|FlatLanguage]] ([[User talk:FlatLanguage|talk]]) 01:59, 27 March 2025 (UTC)