Template:MultiPubList5: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 142: Line 142:
{{#switch:{{#explode:{{{1|}}}|,|9}}|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|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=|resultsfooter=     %PAGES%|suppresserrors=true}}}}
|CASE 4. No commas.
{{#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
{{#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|}}}|,|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|vo={Voicing}:1|voices={Voicing}:2|yr={Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
|includematch=
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$5(.*)$6/,}}}}
{{#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|}}}|,|0}}|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}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{#dplvar:pnc}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|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|vo=,Vo.|voices=,Voices|yr=,Year}}
|,Title{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}}}
{{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
|tablerow={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|align=right¦%%,¦%%,
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=align=right¦%%|com=%%|arr=%%|first=%%|gen=%%|lan=%%|lyr=%%|met=%%|subg=%%|vo=align=right¦%%|voices=%%|yr=align=right¦%%}}
|{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=align=right¦%%|com=%%|arr=%%|first=%%|gen=%%|lan=%%|lyr=%%|met=%%|subg=%%|vo=align=right¦%%|voices=%%|yr=align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}}}
{{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|8}}|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¦%%}}
|tablesortcol=|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|resultsfooter=     %PAGES%|suppresserrors=true}}
|tablesortcol=|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/, |noresultsheader=|resultsfooter=     %PAGES%|suppresserrors=true}}
}}}}|{{#ifexpr:{{#rpos:{{#dplvar:pnc}}|,}}<>-1|{{#ifeq:{{#explode:{{#dplvar:pnc}}|,|2}}||CASE 4. General, various composers, one comma.
}}}}}}}}}}}}
}}}}}}}}
</includeonly><noinclude>
</includeonly><noinclude>



Revision as of 03:36, 26 March 2019


Documentation

TEST TEMPLATE