Mòdul:Wikidades/ús/en: diferència entre les revisions

Contingut suprimit Contingut afegit
→‎Function getParentValues: deprecated parameters
Línia 182:
* <code>property=</code> (optional) Property id of the statement (Pid). By default it is {{P|131}}. Supports a list of alternative values ​​with any separator.
* <code>label=</code> (optional) Parent property id to use as label. By defaut it is {{P|31}}.
* <code>uptouptolabelid=</code> (optional) Last iteration to fetch, using Qid, if previously there is not any 'property' not found. Possible values:
** <code>upto=''quantity'':</code> (optional) Quantity value of maximum number of iterations. By default it is 10 as a protection, large enough for commonscommon cases.
** upto=''label'' (deprecated): last 'label'Alternative to fetch<code>uptolabelid</code> using a label value, for example "upto=country".
** upto=''quantity'': maximum number of iterations. By default it is 10 as a protection, large enough for commons cases.
* <code>uptolabelid=</code> (optional) Alternative to <code>upto=''label''</code> using Qid instead.
* <code>uptovalueid=</code> (optional) Alternative to <code>uptolabelid</code> using Qid of values instead of labels. It supports multiple values ​​with any separator. Alias uptolinkid provisionally for backwards compatibility.
* <code>labelshowshowlabelid=</code> (optional) White list of labelslabel Qids to show, with a slash as aany separator.
* <code>showlabelidlabelshow=</code> (optionaldeprecated) Alternative to <code>labelshowshowlabelid</code> using Qidlabel values with a slash as a insteadseparator.
* <code>include_self=true</code> (optional) Includes current page on the output list.
* <code>sorting=-1</code> (optional) Sorts the list of paired values in descending order.