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|,,=,}}}}
{{#ifexpr:{{#dpl:category=sheet music|mode=userformat|namespace=|linksto={{PAGENAME}}|include={Pub}|includematch={{#multireplace:{{#dplvar:pnc}}|/(\d*)\s([^\s^\,]*).*/=/$1(.*)$2/}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}>0|{{#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= |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}}
Line 106: Line 106:
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|subg2=,Subg. 2|vo=,Vo.|voices=,Voices|yr=,Year|instr=,Instruments}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|subg2=,Subg. 2|vo=,Vo.|voices=,Voices|yr=,Year|instr=,Instruments}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|subg2=,Subg. 2|vo=,Vo.|voices=,Voices|yr=,Year|instr=,Instruments}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|subg2=,Subg. 2|vo=,Vo.|voices=,Voices|yr=,Year|instr=,Instruments}}
|tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader= |suppresserrors=true}}}}|No works at CPDL}}
|tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader= |suppresserrors=true}}}}}}
</includeonly><noinclude>
</includeonly><noinclude>



Revision as of 03:37, 25 June 2019


Documentation

TEST TEMPLATE

Version 14