Template:MPList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 46: Line 46:
|tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/,  
|tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/ \([^\)]+\)$/,  
|noresultsheader= }}
|noresultsheader= }}
|{{#dpl:category={{#dplvar:catn}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include=
|'''POINTB'''
{{#dpl:category={{#dplvar:catn}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include=
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no:[[%PAGE%¦%TITLE%]]
{{#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|}}}|,|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}}
Line 74: Line 75:
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\s\((.*)\))?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9)/|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\((.*)\))?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9)/|pg=,/($1).*($2).*($3).*($4).*($5).*($6).*($7).*($8).*($9)/|com|arr|first|gen|lastsg|lan|instr|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
|'''PointA'''
|'''PointA'''
{{#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 22:20, 30 June 2019


Documentation

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


EXPERIMENTAL