Examples/Parameter: categoriesminmax (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum m (FrozenPlum moved page Criteria for page selection/Parameter: categoriesminmax (example 1) to Examples/Parameter: categoriesminmax (example 1): Simplifying how things are structured) |
imported>FrozenPlum (Formatting and note) |
||
Line 7: | Line 7: | ||
==Example== |
==Example== |
||
The list will only contain articles which belong to [[:Category:Countries in Europe]] and at least three other categories, for a total of four '''minimum''' as set in the ''min'' position of <code>categoriesminmax</code> argument syntax. Note the parameter name's ending, "minmax", provides a reminder of the order in which its arguments must be specified |
The list will only contain articles which belong to [[:Category:Countries in Europe]] and at least three other categories, for a total of four '''minimum''' as set in the ''min'' position of <code>categoriesminmax</code> argument syntax. Note the parameter name's ending, "minmax", provides a reminder of the order in which its arguments must be specified {{tt|[min],[max]}}. Either parameter is optional, but their position must be held appropriately using a <code>,</code> comma. |
||
<pre> |
<pre> |
Latest revision as of 07:09, 1 April 2023
Example
The list will only contain articles which belong to Category:Countries in Europe and at least three other categories, for a total of four minimum as set in the min position of categoriesminmax
argument syntax. Note the parameter name's ending, "minmax", provides a reminder of the order in which its arguments must be specified [min],[max]. Either parameter is optional, but their position must be held appropriately using a ,
comma.
{{#dpl: |category=Countries in Europe |categoriesminmax=4 }}
Result
{{#dpl: |category=Countries in Europe |categoriesminmax=4 }}