Module:WikidataIB/doc: Difference between revisions

Content deleted Content added
add hatnote referring to {{Wdib}}
preset sets wrap into <pre>
Line 402:
To simplify the use of <code>getValue</code> in other circumstances, common combinations of parameters can be specified with {{para|parameterset}} or its alias {{para|ps}} for convenience. Two combinations are implemented at present and these are:
;ps=1 : a common set of overrides to get a simple value, linked where possible:
<pre>
* rank = "best"
|rank ="best"
* |fetchwikidata = "ALL"
* |onlysourced = "no"
* |noicon = ="true"
</pre>
 
;ps=2 : a sort of raw value in plain text:
<pre>
* rank = "best"
* |rank = "best"
* fetchwikidata = "ALL"
* onlysourced|fetchwikidata = "noALL"
*|onlysourced noicon = "trueno"
*|noicon linked = "notrue"
|linked = "no"
* |plaindate = "true"
</pre>
Other sets could be created if there is a demand.