Template:MultiPubList5: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
{{#ifeq:{{#dplvar:plcc}}|zzzz|{{#ifeq:{{#pos:{{#dplvar:pnc}}|)}}|||{{#ifeq:{{#sub:{{#dplvar:pnc}}|-1}}|)|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=}}}}|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=,}}}}}}}}}}
{{#ifeq:{{#dplvar:plcc}}|zzzz|{{#ifeq:{{#pos:{{#dplvar:pnc}}|)}}|||{{#ifeq:{{#sub:{{#dplvar:pnc}}|-1}}|)|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=}}}}|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=,}}}}}}}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|,,=,}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|,,=,}}}}
{{#ifeq:{{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|includematch={{#multireplace:{{#dplvar:pnc}}|/(\d*)\s([^\s^\,]*).*/=/$1/}}|resultsheader=%PAGES%|noresultsheader= |allowcachedresults=false}}|0|:''No works at CPDL''|{{#ifexpr:{{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|titlematch={{#ifeq:{{#pos:{{#dplvar:plcc}}|,}}||%{{#dplvar:plcc}}%|%{{#multireplace:{{#dplvar:plcc}}|/([^\,]*)\,+([^\,]*)/=$1}}%}}|noresultsheader=0|allowcachedresults=false}}={{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}
{{#ifeq:{{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|includematch={{#multireplace:{{#dplvar:pnc}}|/(\d*)\s([^\s^\,]*).*/=/$1/}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}|0|:''No works at CPDL''|{{#ifexpr:{{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|titlematch={{#ifeq:{{#pos:{{#dplvar:plcc}}|,}}||%{{#dplvar:plcc}}%|%{{#multireplace:{{#dplvar:plcc}}|/([^\,]*)\,+([^\,]*)/=$1}}%}}|noresultsheader=0|allowcachedresults=false}}={{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}
|{{#dpl:category=Sheet music|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no:[[%PAGE%¦%TITLE%]]
|{{#dpl:category=Sheet music|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no:[[%PAGE%¦%TITLE%]]
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=,{Pub}:pg|com=,{Composer}:1|arr=,{Arranger}:1|first=,{FirstLine}:1|gen=,{Genre}:1|lan=,{Language}:1|lyr=,{Lyricist}:1|met=,{Meter}:1|subg=,{Genre}:2|subg2=,{Genre}:3|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2|instr=,{Instruments}:1}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=,{Pub}:pg|com=,{Composer}:1|arr=,{Arranger}:1|first=,{FirstLine}:1|gen=,{Genre}:1|lan=,{Language}:1|lyr=,{Lyricist}:1|met=,{Meter}:1|subg=,{Genre}:2|subg2=,{Genre}:3|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2|instr=,{Instruments}:1}}

Revision as of 03:40, 25 June 2019


Documentation

TEST TEMPLATE

Version 14