Utente:Wedhro/Sandbox/Aiuto:DPL: differenze tra le versioni

Nessun oggetto della modifica
Riga 28:
}}</nowiki>
Si possono anche cercare pagine ''senza'' categoria, specificando come categoria <code><nowiki>_none_</nowiki></code> (occhio ai trattini bassi). ''Non basta'' lasciare il parametro vuoto, ciò non produrrà alcun risultato.
 
==== and/or ====
Riga 42:
 
<nowiki>{{#dpl:
| category = vattelapesca|&minchiate|&abominii
}}</nowiki>
Riga 57:
Questa cerca le pagine che sono in ''categoria:vattelapesca'' '''e''' anche in almeno una fra ''categoria:minchiate'' o ''categoria:abominii''.
 
''If [[#ordermethod|ordermethod]]=category,... and [[#headingmode|headingmode]] are enabled, you can restrict the categories you want as headings in the result by preceding the list of categories (specified with the category parameter) with a '+' or '-'. See the example below.
* A '+' means that only the categories listed in that statement are allowed to appear as headings in the output.
* A '-' means that the categories listed in that statement are NOT allowed to appear as headings in the output (but all others)
Riga 66:
Notes:
 
If you want to use magic words like <code><nowiki> {{CURRENTMONTHNAME}}</nowiki></code>, <code><nowiki>{{CURRENTDAY}}</nowiki></code>, <code><nowiki>{{CURRENTYEAR}} </nowiki></code> etc in the category name, you must use the parser function syntax variant.
 
To prevent a DPL query from returning huge output (or consuming too many resources) there are some
[[#Extension_options|configuration variables]] in the source code of the extension module like <code>$wgDPL2MaxCategoryCount</code>, <code>$wgDPL2AllowUnlimitedCategories</code>, <code>$wgDPL2MinCategoryCount</code>.''
 
 
=== categorymatch ===