Template:MultiCatList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(add parameter "not" ( not=something excludes pages that are in category:something))
(add namespace=)
(6 intermediate revisions by 3 users not shown)
Line 6: Line 6:
                 only be 1, 2, or maybe 3)
                 only be 1, 2, or maybe 3)
   param skip=m          skips the first m pages (defaults to 0)
   param skip=m          skips the first m pages (defaults to 0)
  param namespace=      defaults to (Main)
   param number=n        displays up to n pages (defaults to max of 500)
   param number=n        displays up to n pages (defaults to max of 500)
  param not=SATB        excludes works categorized in SATB
  param nott=Motets    excludes works categorized in Motets
   param match=Q        displays results whose title begins with Q
   param match=Q        displays results whose title begins with Q
   param match=%Byrd    displays results with "Byrd" somewhere in the title
   param match=%Byrd    displays results with "Byrd" somewhere in the title
Line 17: Line 20:
--->
--->
There are <includeonly>{{#dpl:category={{{1}}}|category={{{2}}}|category={{{3|{{{1}}}}}}|category={{{4|{{{1}}}}}}|category={{{5|{{{1}}}}}}
There are <includeonly>{{#dpl:category={{{1}}}|category={{{2}}}|category={{{3|{{{1}}}}}}|category={{{4|{{{1}}}}}}|category={{{5|{{{1}}}}}}
|namespace=
|notcategory={{{not|}}}
|notcategory={{{not|}}}
|notcategory={{{nott|}}}
|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}}}}}}}.
|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}}}}}}}.
:'''Up to {{{number|500}}} results, starting with result {{#expr:{{{skip|0}}}+1}} ... ({{#expr:{{{skip|0}}}+{{{number|500}}}}}):'''
:'''Up to {{{number|500}}} results, starting with result {{#expr:{{{skip|0}}}+1}} ... ({{#expr:{{{skip|0}}}+{{{number|500}}}}}):'''
Line 25: Line 30:
|category={{{1}}}
|category={{{1}}}
|category={{{2}}}
|category={{{2}}}
|notcategory={{{not|}}}
|notcategory={{{nott|}}}
|titlematch={{{match|}}}%
|titlematch={{{match|}}}%
|ordermethod=title
|ordermethod=title
Line 39: Line 46:
|category={{{4|{{{3}}}}}}
|category={{{4|{{{3}}}}}}
|category={{{5|{{{3}}}}}}
|category={{{5|{{{3}}}}}}
|notcategory={{{not|}}}
|notcategory={{{nott|}}}
|titlematch={{{match|}}}%
|titlematch={{{match|}}}%
|ordermethod=title
|ordermethod=title
Line 48: Line 57:
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:DPL templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 02:37, 4 October 2020

There are ?? pages common to the categories [[:Category:{{{1}}}|{{{1}}}]] and [[:Category:{{{2}}}|{{{2}}}]].

Up to 500 results, starting with result 1 ... (500):