Template:MultiCatList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(add matching facility, change default number of results to 500 (max allowable))
mNo edit summary
Line 13: Line 13:
   param match=%Palestrina%{{!}}A
   param match=%Palestrina%{{!}}A
                         both display results whose title begins with A
                         both display results whose title begins with A
                         and have "Palestrina" somewhere in the title.
                         OR have "Palestrina" somewhere in the title.
Note: {{!}} is essentially a pipe inside a #dpl: declaration (ususally "|" elsewhere), and % is a "wildcard".  Present coding automatically appends % to any match (so that if "match" is undeclared, any title will match).
Note: {{!}} is essentially a pipe inside a #dpl: declaration (ususally "|" elsewhere) but functions like a logical/boolean  OR , and % is a "wildcard".  Present coding automatically appends % to any match (so that if "match" is undeclared, any title will match).
--->
--->
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}}}}}}}.
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}}}}}}}.

Revision as of 16:26, 19 November 2008

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

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