Template:MultiCatList: Difference between revisions
Jump to navigation
Jump to search
(new template for listing pages common to 2 or three categories) |
(categorize in templates; add dummy ?? to pages) |
||
Line 7: | Line 7: | ||
param number=n displays n pages (defaults to 200, max allowable is 500) | param number=n displays n pages (defaults to 200, max allowable is 500) | ||
---> | ---> | ||
There are <includeonly>{{#dpl:category={{{1}}}|category={{{2}}}|category={{{3|{{{1}}}}}}|mode=userformat|resultsheader=%TOTALPAGES%}}</includeonly> pages common to the categories {{CiteCat|{{{1}}}}}{{#switch:{{{3|}}}|=<nowiki> </nowiki>and {{CiteCat|{{{2}}}}}|#default=, {{CiteCat|{{{2}}}}}, and {{CiteCat|{{{3}}}}}}}. | There are <includeonly>{{#dpl:category={{{1}}}|category={{{2}}}|category={{{3|{{{1}}}}}}|mode=userformat|resultsheader=%TOTALPAGES%}}</includeonly><noinclude>??</noinclude> pages common to the categories {{CiteCat|{{{1}}}}}{{#switch:{{{3|}}}|=<nowiki> </nowiki>and {{CiteCat|{{{2}}}}}|#default=, {{CiteCat|{{{2}}}}}, and {{CiteCat|{{{3}}}}}}}. | ||
:'''Results {{#expr:{{{skip|0}}}+1}} through {{#expr:{{{skip|0}}}+{{{number|200}}}}}:''' | :'''Results {{#expr:{{{skip|0}}}+1}} through {{#expr:{{{skip|0}}}+{{{number|200}}}}}:''' | ||
Line 31: | Line 31: | ||
|columns={{#switch:{{{col|}}}|=1|{{{col}}}}} | |columns={{#switch:{{{col|}}}|=1|{{{col}}}}} | ||
}} | }} | ||
}} | }}<noinclude> | ||
[[Category:Templates|{{PAGENAME}}]] | |||
</noinclude> |
Revision as of 23:54, 18 November 2008
There are ?? pages common to the categories [[:Category:{{{1}}}|{{{1}}}]] and [[:Category:{{{2}}}|{{{2}}}]].
- Results 1 through 200:
Extension:DynamicPageList3 (DPL3), version 3.5.2: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants