Examples/Parameter: categoriesminmax (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum (Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This preloads the example for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' page, and if you enter a "subject" it becomes the section heading. --> ==Example== The list...") |
imported>FrozenPlum (Formatting and note) |
||
(3 intermediate revisions by the same user not shown) | |||
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 |
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> |
||
Line 24: | Line 24: | ||
<noinclude> |
<noinclude> |
||
[[Category:Select by category-related criteria]] |
|||
[[Category:Uses category parameter]] |
[[Category:Uses category parameter]] |
||
[[Category:Uses categoriesminmax parameter]] |
[[Category:Uses categoriesminmax parameter]] |
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 }}