Template:MultiPubList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 127: Line 127:
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
|table=class="wikitable sortable"
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title
{{#switch:{{#explode:{{{1|}}}|,|1}}|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}}
|,Title{{#switch:{{#explode:{{{1|}}}|,|0}}|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|}}}|,|1}}|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|}}}|,|2}}|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|}}}|,|3}}|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|}}}|,|4}}|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|}}}|,|5}}|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|}}}|,|6}}|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|}}}|,|7}}|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|}}}|,|8}}|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}}
|tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|suppresserrors=true}}}}
</includeonly><noinclude>
______________________________________
Test Code:
{{#ifeq:{{#pos:{{PAGENAME}}|#39;}}||{{#dplvar:set|pnc|{{PAGENAME}}}}|{{#dplvar:set|pnc|{{#multireplace:{{PAGENAME}}|/^([^#39;]*)(#39;)(.*)$/=$1$3|&=,}}}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/(.*)/=$1|.=,}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^([^([^&#133;]*)(&#133;)(.*)$/=$1$3|&=,}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^([^([^\…]*)\s(\…)(.*)$/=$1,$3}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|-=,|:=,|;=,}}}}
{{#if:{{{2|}}}|{{#dplvar:set|pnc|{{{2|}}} {{#dplvar:pnc}}}}|{{#dplvar:set|pnc|1 {{#dplvar:pnc}}}}
{{#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}}}}
{{#dplvar:pnc}}
{{#dplvar:plcc}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/=$1–$2–$6–$7}}
{{TitleOnly|{{#dplvar:pnc}}}}
Umlauts
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/=$1–$2–$6–$10–$14–$15}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/=$1–$2–$6–$10–$14–$15}}
9. ALLOW FOR UMLAUTS
<includeonly>
{{#ifeq:{{#pos:{{PAGENAME}}|#39;}}||{{#dplvar:set|pnc|{{PAGENAME}}}}|{{#dplvar:set|pnc|{{#multireplace:{{PAGENAME}}|/^([^#39;]*)(#39;)(.*)$/=$1$3|&=,}}}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/(.*)/=$1|.=,}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^([^([^&#133;]*)(&#133;)(.*)$/=$1$3|&=,}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^([^([^\…]*)\s(\…)(.*)$/=$1,$3}}}}
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|-=,|:=,|;=,}}}}
{{#if:{{{2|}}}|{{#dplvar:set|pnc|{{{2|}}} {{#dplvar:pnc}}}}}}
{{#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|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|}}}|,|0}}|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}}|seq=,{Pub}:no|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|}}}|,|2}}|seq=,{Pub}:no|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|}}}|,|3}}|seq=,{Pub}:no|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|}}}|,|4}}|seq=,{Pub}:no|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|}}}|,|5}}|seq=,{Pub}:no|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|}}}|,|6}}|seq=,{Pub}:no|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|}}}|,|7}}|seq=,{Pub}:no|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|}}}|,|8}}|seq=,{Pub}:no|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|}}}|,|9}}|seq=,{Pub}:no|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|}}}|,|10}}|seq=,{Pub}:no|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}}
|includematch={{#ifexpr:{{#rpos:{{TitleOnly|{{#dplvar:pnc}}}}|,}}<>-1|{{#ifeq:{{#explode:{{TitleOnly|{{#dplvar:pnc}}}}|,|2}}||{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$6(.*)$10(.*)$11/,}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
|{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/,}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
|{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$6(.*)$7/,}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
|table=class="wikitable sortable"
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title
{{#switch:{{#explode:{{{1|}}}|,|1}}|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}}
|,Title{{#switch:{{#explode:{{{1|}}}|,|0}}|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|}}}|,|1}}|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|}}}|,|2}}|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|}}}|,|3}}|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|}}}|,|4}}|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|}}}|,|5}}|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|}}}|,|6}}|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|}}}|,|7}}|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|}}}|,|8}}|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}}
|tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|suppresserrors=true}}
|{{#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|}}}|,|0}}|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}}|seq=,{Pub}:no|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|}}}|,|2}}|seq=,{Pub}:no|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|}}}|,|3}}|seq=,{Pub}:no|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|}}}|,|4}}|seq=,{Pub}:no|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|}}}|,|5}}|seq=,{Pub}:no|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|}}}|,|6}}|seq=,{Pub}:no|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|}}}|,|7}}|seq=,{Pub}:no|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|}}}|,|8}}|seq=,{Pub}:no|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|}}}|,|9}}|seq=,{Pub}:no|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|}}}|,|10}}|seq=,{Pub}:no|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}}
|includematch={{#ifexpr:{{#rpos:{{#dplvar:pnc}}|,}}<>-1|{{#ifeq:{{#explode:{{#dplvar:pnc}}|,|2}}||{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$6(.*)$10(.*)$11/,}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)[\s\.]?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$11/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }}
|{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/,}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|pg=,/$1(.*)$2(.*)$6(.*)$10(.*)$14(.*)$15/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
|{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$6(.*)$7/,}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$6(.*)$7/|pg=,/$1(.*)$2(.*)$6(.*)$7/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
|table=class="wikitable sortable"
|table=class="wikitable sortable"
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title
Line 225: Line 399:


}}
}}
:(Version 8a)
:(Version 9a)


[[Category:Templates]]
[[Category:Templates]]

Revision as of 18:53, 10 May 2019


  ______________________________________ Test Code:




{{#if:||


1 {{#multireplace:{{#multireplace:{{#multireplace:{{#multireplace:MultiPubList|/(.*)/=$1|.=,}}|/^([^([^&#133;]*)(&#133;)(.*)$/=$1$3|&=,}}|/^([^([^\…]*)\s(\…)(.*)$/=$1,$3}}|/^(.*)$/=$1|-=,|:=,|;=,}}

zzzz

{{#multireplace:1 {{#multireplace:{{#multireplace:{{#multireplace:{{#multireplace:MultiPubList|/(.*)/=$1|.=,}}|/^([^([^&#133;]*)(&#133;)(.*)$/=$1$3|&=,}}|/^([^([^\…]*)\s(\…)(.*)$/=$1,$3}}|/^(.*)$/=$1|-=,|:=,|;=,}}|/^(\d*)\s((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/=$1–$2–$6–$7}}


1 {{#multireplace:{{#multireplace:{{#multireplace:{{#multireplace:MultiPubList|/(.*)/=$1|.=,}}|/^([^


Umlauts {{#multireplace: 1 {{#multireplace:{{#multireplace:{{#multireplace:{{#multireplace:MultiPubList|/(.*)/=$1|.=,}}|/^([^ |/^(\d*)\s((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\,\s?((\w)*(\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/=$1–$2–$6–$10–$14–$15}}

{{#multireplace: 1 {{#multireplace:{{#multireplace:{{#multireplace:{{#multireplace:MultiPubList|/(.*)/=$1|.=,}}|/^([^ |/^(\d*)\s(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\,\s?(([a-zA-Z\x7f-\xff])*(\s([a-zA-Z\x7f-\xff])+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/=$1–$2–$6–$10–$14–$15}}

  9. ALLOW FOR UMLAUTS



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
subg2 Subgenre 2
yr Year of publication
lan Language
first First Line
instr Instruments
met Meter
vo Number of voices
voices Voices
Sample template calls Columns produced
{{MultiPubList|com,arr,gen,subg,vo,voices}} Title | Composer | Arranger | Genre | Subgenre | No. Voices | Voices
{{MultiPubList|seq,com,gen,subg,vo,voices}} Sequence | Title | Composer | Arrager | Genre | Sungrnere | No. Voices | Voices
{{MultiPubList|com,arr,subg,vo,met}} Title | Composer | Arranger | Subgenre | No. Voices | Meter
{{MultiPubList|first,gen,subg,arr,vo}} Title | First Line | Subgenre | Arranger | No. Voices

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, and the table is sorted on sequence number. If no= is specified anything but an number, the table will not sort correctly; please use another first code.

If the first code is something other than seq then the first column is the work title, in which case the table is sorted by work Title, using sort keys as specified in {{DEFAULTSORT:{{NameSorter}}}} on the work pages.

Guidelines for title of a Music publication page can be found here.

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

(Version 9a)