Template:MPList5: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
{{#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={{#if:{{#explode:{{#dplvar:pnc}}|,| | |includematch={{#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)/,}}}} | |{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\s\((.*)\))?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9)/,}}}} | ||
{{#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)/|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)/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}} |
Revision as of 16:42, 7 September 2019
THIS TEMPLATE IS CALLED BY TEMPLATE {{MultiPubList5}}, WHICH SEE FOR DETAILS. PLEASE DO NOT USE THIS TEMPLATE BY ITSELF.
VERSION 15b - 2019-07-01