Difference between revisions of "Template:MultiPubList5"

From ChoralWiki
Jump to navigation Jump to search
Line 10: Line 10:
 
{{#if:{{#dplvar:vn}}
 
{{#if:{{#dplvar:vn}}
 
|{{#if:{{#dplvar:y1}}|{{#dplvar:set|pncx|{{#dplvar:pnc}}}}{{#dplvar:set|pnc|{{#dplvar:y1}} {{#dplvar:pnc}},{{#dplvar:vname}} {{#dplvar:z1}}}}{{#dplvar:set|catn|Works in {{#dplvar:vname}} {{#dplvar:z1}}}}{{#ifexpr:{{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|category={{#dplvar:y1}} works|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}>0|<h3>{{#dplvar:vname}} {{#dplvar:z1}} ({{#dplvar:y1}})</h3>
 
|{{#if:{{#dplvar:y1}}|{{#dplvar:set|pncx|{{#dplvar:pnc}}}}{{#dplvar:set|pnc|{{#dplvar:y1}} {{#dplvar:pnc}},{{#dplvar:vname}} {{#dplvar:z1}}}}{{#dplvar:set|catn|Works in {{#dplvar:vname}} {{#dplvar:z1}}}}{{#ifexpr:{{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|category={{#dplvar:y1}} works|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}>0|<h3>{{#dplvar:vname}} {{#dplvar:z1}} ({{#dplvar:y1}})</h3>
{{MPList5|{{{1|}}}|{{#dplvar:y1}}}}}}{{#dplvar:set|pnc|{{#dplvar:pncx}}}}}}
+
{{MPList5|{{{1|}}}|{{#dplvar:y1}}}}}}{{#dplvar:set|pnc|{{#dplvar:pncx}}}}}}{{#if:{{#dplvar:y2}}|{{#dplvar:set|pncx|
{{#if:{{#dplvar:y2}}|{{#dplvar:set|pncx|{{#dplvar:pnc}}}}{{#dplvar:set|pnc|{{#dplvar:y2}} {{#dplvar:pnc}},{{#dplvar:vname}} {{#dplvar:z2}}}}{{#dplvar:set|catn|Works in {{#
 
 
{{MPList5|{{{1|}}}|{{#dplvar:y70}}}}}}{{#dplvar:set|pnc|{{#dplvar:pncx}}}}}}
 
{{MPList5|{{{1|}}}|{{#dplvar:y70}}}}}}{{#dplvar:set|pnc|{{#dplvar:pncx}}}}}}
 
|{{#if:{{{2|}}}|{{#dplvar:set|pnc|{{{2|}}} {{#dplvar:pnc}}}}}}{{#dplvar:set|catn|Sheet music}}{{#ifexpr:{{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|category={{{2|}}} works|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}=0|:''No works at CPDL''
 
|{{#if:{{{2|}}}|{{#dplvar:set|pnc|{{{2|}}} {{#dplvar:pnc}}}}}}{{#dplvar:set|catn|Sheet music}}{{#ifexpr:{{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|category={{{2|}}} works|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}=0|:''No works at CPDL''

Revision as of 02:31, 22 November 2020


Documentation

THIS TEMPLATE calls template {{MPList5}}; the description below includes both.

TEST TEMPLATE

Version 17b 2020-11-21