Examples/Parameter: categoriesminmax (example 2): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum m (The parameter's function description was not worded to make clear that either/or could be set, or both together at the same time (should be clear from the syntax, but making it clear is preferable). I'll fix that on-page too, and have in the examples (hopefully) reinforced this understanding given the past wording choice.) |
||
Line 7:
==Example==
The list will list articles that belong to category [[:Category:Countries in Europe]] and are only assigned to two other categories,
<pre>
|
Revision as of 01:10, 22 April 2022
Example
The list will list articles that belong to category Category:Countries in Europe and are only assigned to two other categories, for a maximum of three categories. The first categoriesminmax
argument for minimum (or "min") is left blank, meaning no minimum will apply, and just the last (comma separated) argument specifying the maximum will be applied. Alternatively, both a "min" and a "max" value could be specified, if desired.
{{#dpl: |category=Countries in Europe |categoriesminmax=,3 }}
Result
{{#dpl: |category=Countries in Europe |categoriesminmax=,3 }}