Template:MultiPubList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^([^([^\…]*)\s(\…)(.*)$/=$1,$3}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^([^([^\…]*)\s(\…)(.*)$/=$1,$3}}}}
{{#ifexpr:{{#dpl:category=sheet music|category={{CompFromWorkTitle|{{#dplvar:pnc}}}} compositions|distinct=false|mode=userformat|namespace=|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}>0|{{#dplvar:set|plcc|{{CompFromWorkTitle|{{#dplvar:pnc}}}}}}|{{#dplvar:set|plcc|zzzz}}|{{#dplvar:set|plcc|zzzz}}}}
{{#ifexpr:{{#dpl:category=sheet music|category={{CompFromWorkTitle|{{#dplvar:pnc}}}} compositions|distinct=false|mode=userformat|namespace=|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}>0|{{#dplvar:set|plcc|{{CompFromWorkTitle|{{#dplvar:pnc}}}}}}|{{#dplvar:set|plcc|zzzz}}|{{#dplvar:set|plcc|zzzz}}}}
{{#ifexpr:{{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|titlematch=%{{#dplvar:plcc}}%|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|category={{#if:{{{2|}}}|{{{2|}}} works|'''ERROR. PARAMETER 2 MUST BE THE FOUR-DIGIT YEAR OF PUBLICATION.'''}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include=
{{#ifexpr:{{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|titlematch=%{{#dplvar:plcc}}%|noresultsheader=0|allowcachedresults=false}}={{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}|Case 1. All work titles by composer shown in publication title – NoCo permitted.<br>
{{#dpl:category=Sheet music|category={{#if:{{{2|}}}|{{{2|}}} works|'''ERROR. PARAMETER 2 MUST BE THE FOUR-DIGIT YEAR OF PUBLICATION.'''}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include=
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=,{Pub}:[[%PAGE%¦%TITLE%]]:pg|com=,{Composer}:[[%PAGE%¦%TITLE%]]:1|arr=,{Arranger}:[[%PAGE%¦%TITLE%]]:1|first=,{FirstLine}:[[%PAGE%¦%TITLE%]]:1|gen=,{Genre}:[[%PAGE%¦%TITLE%]]:1|lan=,{Language}:[[%PAGE%¦%TITLE%]]:1|lyr=,{Lyricist}:[[%PAGE%¦%TITLE%]]:1|met=,{Meter}:[[%PAGE%¦%TITLE%]]:1|subg=,{Genre}:[[%PAGE%¦%TITLE%]]:2|vo=,{Voicing}:[[%PAGE%¦%TITLE%]]:1|voices=,{Voicing}:[[%PAGE%¦%TITLE%]]:2|yr=,{Pub}:[[%PAGE%¦%TITLE%]]:2}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=,{Pub}:[[%PAGE%¦%TITLE%]]:pg|com=,{Composer}:[[%PAGE%¦%TITLE%]]:1|arr=,{Arranger}:[[%PAGE%¦%TITLE%]]:1|first=,{FirstLine}:[[%PAGE%¦%TITLE%]]:1|gen=,{Genre}:[[%PAGE%¦%TITLE%]]:1|lan=,{Language}:[[%PAGE%¦%TITLE%]]:1|lyr=,{Lyricist}:[[%PAGE%¦%TITLE%]]:1|met=,{Meter}:[[%PAGE%¦%TITLE%]]:1|subg=,{Genre}:[[%PAGE%¦%TITLE%]]:2|vo=,{Voicing}:[[%PAGE%¦%TITLE%]]:1|voices=,{Voicing}:[[%PAGE%¦%TITLE%]]:2|yr=,{Pub}:[[%PAGE%¦%TITLE%]]:2}}
Line 32: Line 33:
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
|{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$5(.*)$8(.*)$11/,}}}}
|{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$5(.*)$9(.*)$13(.*)$14/,}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
|{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1/,}}}}
|{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1/,}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
Line 85: Line 86:
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
|tablesortcol=|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|suppresserrors=true}}
|tablesortcol=|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|resultsfooter=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%PAGES%|suppresserrors=true}}
|{{#dpl:category=Sheet music|category={{#if:{{{2|}}}|{{{2|}}} works|'''ERROR. PARAMETER 2 MUST BE THE FOUR-DIGIT YEAR OF PUBLICATION.'''}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include=
|Case 2. General, List may be incomplete if NoCo used, unless publication title has no composer-compiler.<br>
{{#dpl:category=Sheet music|category={{#if:{{{2|}}}|{{{2|}}} works|'''ERROR. PARAMETER 2 MUST BE THE FOUR-DIGIT YEAR OF PUBLICATION.'''}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include=
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=,{Pub}:[[%PAGE%¦%TITLE%]]:pg|com=,{Composer}:[[%PAGE%¦%TITLE%]]:1|arr=,{Arranger}:[[%PAGE%¦%TITLE%]]:1|first=,{FirstLine}:[[%PAGE%¦%TITLE%]]:1|gen=,{Genre}:[[%PAGE%¦%TITLE%]]:1|lan=,{Language}:[[%PAGE%¦%TITLE%]]:1|lyr=,{Lyricist}:[[%PAGE%¦%TITLE%]]:1|met=,{Meter}:[[%PAGE%¦%TITLE%]]:1|subg=,{Genre}:[[%PAGE%¦%TITLE%]]:2|vo=,{Voicing}:[[%PAGE%¦%TITLE%]]:1|voices=,{Voicing}:[[%PAGE%¦%TITLE%]]:2|yr=,{Pub}:[[%PAGE%¦%TITLE%]]:2}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=,{Pub}:[[%PAGE%¦%TITLE%]]:pg|com=,{Composer}:[[%PAGE%¦%TITLE%]]:1|arr=,{Arranger}:[[%PAGE%¦%TITLE%]]:1|first=,{FirstLine}:[[%PAGE%¦%TITLE%]]:1|gen=,{Genre}:[[%PAGE%¦%TITLE%]]:1|lan=,{Language}:[[%PAGE%¦%TITLE%]]:1|lyr=,{Lyricist}:[[%PAGE%¦%TITLE%]]:1|met=,{Meter}:[[%PAGE%¦%TITLE%]]:1|subg=,{Genre}:[[%PAGE%¦%TITLE%]]:2|vo=,{Voicing}:[[%PAGE%¦%TITLE%]]:1|voices=,{Voicing}:[[%PAGE%¦%TITLE%]]:2|yr=,{Pub}:[[%PAGE%¦%TITLE%]]:2}}
Line 113: Line 115:
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
|{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$5(.*)$8(.*)$11/,}}}}
|{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$5(.*)$9(.*)$13(.*)$14/,}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$8(.*)$11/|pg=,/$1(.*)$5(.*)$8(.*)$11/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|pg=,/$1(.*)$5(.*)$9(.*)$13(.*)$14/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
|{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1/,}}}}
|{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1/,}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
Line 166: Line 168:
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
|tablesortcol=|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|suppresserrors=true}}}}
|tablesortcol=|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|resultsfooter=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%PAGES%|suppresserrors=true}}}}
</includeonly><noinclude>
</includeonly><noinclude>


Line 176: Line 178:
Syntax: '''<tt><nowiki>{{MultiPubList|<code1>,<code2>,…,<coden>|YYYY}}</nowiki></tt>'''  
Syntax: '''<tt><nowiki>{{MultiPubList|<code1>,<code2>,…,<coden>|YYYY}}</nowiki></tt>'''  
::where <codei> is one of the codes below (comma-delimited, in any order), and YYYY is the year that the '''publication''' was first issued (shown on the publication page as the first parameter within template {{tl|PubDatePlace}} (REQUIRED).
::where <codei> is one of the codes below (comma-delimited, in any order), and YYYY is the year that the '''publication''' was first issued (shown on the publication page as the first parameter within template {{tl|PubDatePlace}} (REQUIRED).
 
{{top}}
{{{!}}class="wikitable" align="center"
{{{!}}class="wikitable" align="center"
!color=#ddffdd{{!}}Code
!color=#ddffdd{{!}}Code
!color=#ddffdd{{!}}Output
!color=#ddffdd{{!}}Output
{{!}}-
{{!}}-
{{!}}arr{{!}}{{!}}Arranger
{{!}}seq{{!}}{{!}}Sequence no. in publication
{{!}}-
{{!}}pg{{!}}{{!}}Page number(s) in publication
{{!}}-
{{!}}-
{{!}}com{{!}}{{!}}Composer
{{!}}com{{!}}{{!}}Composer
{{!}}-
{{!}}-
{{!}}first{{!}}{{!}}First Line
{{!}}arr{{!}}{{!}}Arranger
{{!}}-
{{!}}lyr{{!}}{{!}}Lyricist
{{!}}-
{{!}}-
{{!}}gen{{!}}{{!}}Genre
{{!}}gen{{!}}{{!}}Genre
{{!}}-
{{!}}subg{{!}}{{!}}Subgenre
{{!}}-
{{!}}yr{{!}}{{!}}Year of publication
{{!}}-
{{!}}-
{{!}}lan{{!}}{{!}}Language
{{!}}lan{{!}}{{!}}Language
{{!}}-
{{!}}-
{{!}}lyr{{!}}{{!}}Lyricist
{{!}}first{{!}}{{!}}First Line
{{!}}-
{{!}}-
{{!}}met{{!}}{{!}}Meter
{{!}}met{{!}}{{!}}Meter
{{!}}-
{{!}}pg{{!}}{{!}}Page number(s) in publication
{{!}}-
{{!}}seq{{!}}{{!}}Sequence no. in publication
{{!}}-
{{!}}subg{{!}}{{!}}Subgenre
{{!}}-
{{!}}-
{{!}}vo{{!}}{{!}}Number of voices
{{!}}vo{{!}}{{!}}Number of voices
{{!}}-
{{!}}-
{{!}}voices{{!}}{{!}}Voices
{{!}}voices{{!}}{{!}}Voices
{{!}}-
{{!}}yr{{!}}{{!}}Year of publication
{{!}}-
{{!}}-
{{!}}}
{{!}}}
{{mdl}}
Some sample template calls:
:
{{btm}}


Columns in the table depend on what the first code (<code1>) is:
Columns in the table depend on what the first code (<code1>) is:

Revision as of 15:58, 2 April 2019


Documentation

This template is for use on a Music publication page, WHERE AT LEAST ONE WORK HAS MULTIPLE PUBLICATION CITATIONS. This template requires the use of the template {{Pub}} on all work pages. If no works in a publication have multiple publication citations, please use Template {{PubList}} instead (which uses {{Published}} on work pages).

This template produces a table listing all the works that have links to the publication within the template {{Pub}} on their work pages. This table will be automatically updated.

Syntax: {{MultiPubList|<code1>,<code2>,…,<coden>|YYYY}}

where <codei> is one of the codes below (comma-delimited, in any order), and YYYY is the year that the publication was first issued (shown on the publication page as the first parameter within template {{PubDatePlace}} (REQUIRED).
Code Output
seq Sequence no. in publication
pg Page number(s) in publication
com Composer
arr Arranger
lyr Lyricist
gen Genre
subg Subgenre
yr Year of publication
lan Language
first First Line
met Meter
vo Number of voices
voices Voices

Some sample template calls:

Columns in the table depend on what the first code (<code1>) is:

<code1> Columns (* = sorted column)
seq No. ¦ Title* ¦ <code2> ¦ <code3> ¦ …
(other) Title* ¦ <code1> ¦ <code2> ¦ …

If seq is is the first code (<code1>), sequence number appears as the first column in the table. If the first code is something other than seq then the first column is the work title. In any case the table is sorted by work Title, using sort keys as specified in {{DEFAULTSORT:{{NameSorter}}}} on the work pages.

The second parameter is required; enter the year of publication.