Template:MPList: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
{{#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}} | {{#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=/\s\([^\)]+\)$/, |noresultsheader= }} | |tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|format=,\n[[%PAGE%|%TITLE%]]|replaceintitle=/\s\([^\)]+\)$/, |noresultsheader= }} | ||
|{{#dpl:category={{#dplvar:catn}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include= | |{{#dpl:category={{#dplvar:catn}}|debug=5|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 86: | Line 86: | ||
{{#multireplace:{{#dplvar:pnc}}|/^(\d*)\s([^\,^\(]*)(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\,([^\,^\(]*))?(?:\s\(([^\,^\)]*)\,?([^\,^\)]*)\,?([^\,^\)]*)\))?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|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|}}}|,|8}}|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|}}}|,|9}}|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|}}}|,|9}}|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\{{!}}/}}}} | {{#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\{{!}}/}}}}}} | ||
|table=class="wikitable sortable" | |table=class="wikitable sortable" | ||
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title | {{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title |
Revision as of 03:03, 1 July 2019
THIS TEMPLATE IS CALLED BY TEMPLATE {{MultiPubList}}, WHICH SEE FOR DETAILS. PLEASE DO NOT USE THIS TEMPLATE BY ITSELF.
EXPERIMENTAL