Template:MPList5: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifexpr:{{#dpl:category={{#dplvar:catn}}|distinct= | {{#ifexpr:{{#dpl:category={{#dplvar:catn}}|category={{#dplvar:cato}}|distinct=true|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|titlematch={{#ifeq:{{#pos:{{#dplvar:plcc}}|,}}||%{{#dplvar:plcc}}%|%{{#replaceset:{{#dplvar:plcc}}|/([^\,]*)\,+([^\,]*)/=$1}}%}}|noresultsheader=0|allowcachedresults=false}}={{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}} | ||
|{{#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%]] | |{{#dpl:category={{#dplvar:catn}}|category={{#dplvar:cato}}|notcategory=Works with all editions withdrawn|mode=userformat|distinct=true|linksto={{PAGENAME}}|namespace=|include={{#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}} | ||
|{{#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|subg2={Genre}:3|vo={Voicing}:1|voices={Voicing}:2|yr={Pub}:2|instr={Instruments}:1}} | |{{#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|subg2={Genre}:3|vo={Voicing}:1|voices={Voicing}:2|yr={Pub}:2|instr={Instruments}:1}} | ||
Line 15: | Line 15: | ||
{{#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:mse}}|No| | |includematch={{#ifeq:{{#dplvar:mse}}|No| | ||
{{#replaceset:{{TitleOnly|{{#dplvar:pnc}}}}|/^(\d* | |||
|table=class="wikitable sortable" | |table=class="wikitable sortable" | ||
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title | {{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title | ||
Line 55: | Line 55: | ||
{{#switch:{{#explode:{{{1|}}}|,|9}}|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|}}}|,|9}}|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}} | {{#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}} | |tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|replaceintitle=/ \([^\)]+\)$/; |noresultsheader= }} | ||
|{{#dpl:category={{#dplvar:catn}}|notcategory=Works with all editions withdrawn|mode=userformat|linksto={{PAGENAME}}|namespace=|include= | |{{#dpl:category={{#dplvar:catn}}|category={{#dplvar:cato}}|notcategory=Works with all editions withdrawn|mode=userformat|distinct=true|linksto={{PAGENAME}}|namespace=|include= | ||
{{#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}} | {{#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|}}}|,|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|subg2={Genre}:3|vo={Voicing}:1|voices={Voicing}:2|yr={Pub}:2|instr={Instruments}:1}} | |{{#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|subg2={Genre}:3|vo={Voicing}:1|voices={Voicing}:2|yr={Pub}:2|instr={Instruments}:1}} | ||
Line 70: | Line 70: | ||
{{#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:mse}}|No|{{#if:{{#explode:{{#dplvar:pnc}}|,|4}} | |includematch={{#ifeq:{{#dplvar:mse}}|No|{{#if:{{#explode:{{#dplvar:pnc}}|,|4}} | ||
|{{#replaceset:{{#dplvar:pnc}}|/^(\d*)\s([ | |||
|{{#if:{{#explode:{{#dplvar:pnc}}|,|4}} | |{{#if:{{#explode:{{#dplvar:pnc}}|,|4}} | ||
|{{#replaceset:{{#dplvar:pnc}}|/^(\d*)\s([ | |||
|table=class="wikitable sortable" | |table=class="wikitable sortable" | ||
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title | {{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|,-,No.,Title | ||
Line 137: | Line 137: | ||
{{#switch:{{#explode:{{{1|}}}|,|9}}|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|}}}|,|9}}|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}} | {{#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}} | |tablesortcol={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|1|0}}|replaceintitle=/ \([^\)]+\)$/; |noresultsheader= }}}}</includeonly><noinclude> | ||
</includeonly><noinclude> | |||
{{Doc|1= | {{Doc|1= | ||
<big>TEST TEMPLATE!!</big> | |||
THIS TEMPLATE IS CALLED BY TEMPLATE {{tl|MultiPubList5}}, WHICH SEE FOR DETAILS. | THIS TEMPLATE IS CALLED BY TEMPLATE {{tl|MultiPubList5}}, WHICH SEE FOR DETAILS. | ||
PLEASE DO NOT USE THIS TEMPLATE BY ITSELF. | PLEASE DO NOT USE THIS TEMPLATE BY ITSELF. | ||
VERSION | VERSION 18b - 2023-01-24 | ||
}} | }} | ||
[[Category:DPL templates]] | |||
[[Category:Experimental templates]] | [[Category:Experimental templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:38, 25 January 2023
TEST TEMPLATE!! THIS TEMPLATE IS CALLED BY TEMPLATE {{MultiPubList5}}, WHICH SEE FOR DETAILS. PLEASE DO NOT USE THIS TEMPLATE BY ITSELF.
VERSION 18b - 2023-01-24