Template:MPList5: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
{{#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|}}}|,|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}}
{{#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={{#ifeq:{{#dplvar:mms}}|No|
|includematch={{#ifeq:{{#dplvar:mse}}|No|
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8)/,}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8)/,}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8)/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8)/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
Line 69: Line 69:
{{#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|}}}|,|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}}
{{#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={{#ifeq:{{#dplvar:mms}}|No|{{#if:{{#explode:{{#dplvar:pnc}}|,|4}}
|includematch={{#ifeq:{{#dplvar:mse}}|No|{{#if:{{#explode:{{#dplvar:pnc}}|,|4}}
|{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\s\((.*)\))?(?:\,(.*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9).*($10)/,}}}}
|{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\s\((.*)\))?(?:\,(.*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9).*($10)/,}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\s\((.*)\))?(?:\,(.*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9).*($10)/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\s\((.*)\))?(?:\,(.*))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9).*($10)/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}

Revision as of 05:00, 17 November 2019


Documentation

THIS TEMPLATE IS CALLED BY TEMPLATE {{MultiPubList5}}, WHICH SEE FOR DETAILS. PLEASE DO NOT USE THIS TEMPLATE BY ITSELF.

VERSION 15e - 2019-09-08