Module:WikidataIB/doc: Difference between revisions

Content deleted Content added
Undid revision 1112473016 by DePiep (talk) no
 
(2 intermediate revisions by 2 users not shown)
Line 462:
 
==== Example of getValueByQual ====
In {{Q|Q10990}} there is a property {{Q|P443}} that has multiple values, each of which has a qualifier {{Q|P407}}. We can return the property value whose qualifier has the value {{Q|Q797913955}}
* <code><nowiki>{{#invoke:WikidataIB |getValueByQual |qid=Q10990 |P443 |qualID=P407 |qvalue=Q7979Q13955 |fwd=ALL |osd=no |noicon=true}}</nowiki></code> → {{#invoke:WikidataIB/sandbox |getValueByQual |qid=Q10990 |P443 |qualID=P407 |qvalue=Q7979Q13955 |fwd=ALL |osd=no |noicon=true}}
 
=== Function getValueByLang ===
Line 775:
==== Complex date dependencies ====
[[Module:Complex_date]] relies on the following modules:
* [[Module:Calendar]] (lazy loading with no dependencies)
* [[Module:ISOdate]]
** [[Module:DateI18n]] (no dependencies)
*** [[Module:No globals]] (from en.wikipedia)
* [[Module:i18n/complex date]]
** [[Module:Ordinal]] (lazy loading)
Line 785 ⟶ 783:
*** [[Module:Formatnum]] (no dependencies)
** [[Module:Roman]] (lazy loading with no dependencies)
** [[Module:Linguistic]] (lazy loading with no dependencies)
*** [[Module:No globals]] (from en.wikipedia)
Unless otherwise noted, the authoritative version of each module can be found on [https://commons.wikimedia.org/ Commons] although the versions on English Wikipedia are usually kept in sync.