Template:MultiPubList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#dpl:category=Sheet music
{{#dpl:category=Sheet music
|category={{#if:{{{2|}}}|{{#multireplace:{{{2|}}}|/^(\d\d\d\d)(\D*)/=$1}} works|'''ERROR. PARAMETER 2 MUST BE THE FOUR-DIGIT YEAR OF PUBLICATION.'''}}
|category={{#if:{{{2|}}}|{{{2|}}} works|'''ERROR. PARAMETER 2 MUST BE THE FOUR-DIGIT YEAR OF PUBLICATION.'''}}
|notcategory=Works with all editions withdrawn
|notcategory=Works with all editions withdrawn
|mode=userformat
|mode=userformat
Line 22: Line 22:
{{#switch:{{#explode:{{{1|}}}|,|11}}|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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#switch:{{#explode:{{{1|}}}|,|11}}|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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#switch:{{#explode:{{{1|}}}|,|12}}|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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
{{#switch:{{#explode:{{{1|}}}|,|12}}|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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}}
|includematch=
|includematch={{#ifexpr:{{#rpos:{{TitleOnly|{{PAGENAME}}}}|,}}<>-1|
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/{{{2|}}}/
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2/,}}}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
|{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/{{{2|}}}/|com=|arr=|first=|gen=|lan=|lyr=|met=|subg=|vo=|voices=|yr=/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2/|pg=,|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\,\s*(.*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2/|pg=,/$1(.*)$2/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#switch:{{#explode:{{{1|}}}|,|11}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
|{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1/,}}}}
{{#switch:{{#explode:{{{1|}}}|,|12}}|seq=,/{{{2|}}}/|pg=,/{{{2|}}}/|com=,|arr=,|first=,|gen=,|lan=,|lyr=,|met=,|subg=,|vo=,|voices=,|yr=,/{{{2|}}}/}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}
{{#multireplace:{{TitleOnly|{{PAGENAME}}}}|/^(.*)\s*(\(*)/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1/|pg=,/$1/|com|arr|first|gen|lan|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
Line 55: Line 66:
{{#switch:{{#explode:{{{1|}}}|,|12}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
{{#switch:{{#explode:{{{1|}}}|,|12}}|seq=,align=right¦No.|pg=,Page|com=,Composer|arr=,Arranger|first=,First Line|gen=,Genre|lan=,Language|lyr=,Lyricist|met=,Meter|subg=,Subgenre|vo=,Vo.|voices=,Voices|yr=,Year}}
|tablerow={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|align=right¦%%,¦%%,
|tablerow={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|align=right¦%%,¦%%,
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=align=right¦%%|com=%%|arr=%%|first=%%|gen=%%|lan=%%|lyr=%%|met=%%|subg=%%|vo=align=right¦%%|voices=%%|yr=¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=align=right¦%%|com=%%|arr=%%|first=%%|gen=%%|lan=%%|lyr=%%|met=%%|subg=%%|vo=align=right¦%%|voices=%%|yr=align=right¦%%}}
|{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=align=right¦%%|com=%%|arr=%%|first=%%|gen=%%|lan=%%|lyr=%%|met=%%|subg=%%|vo=align=right¦%%|voices=%%|yr=¦%%}}
|{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=align=right¦%%|com=%%|arr=%%|first=%%|gen=%%|lan=%%|lyr=%%|met=%%|subg=%%|vo=align=right¦%%|voices=%%|yr=align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}}}
{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}}}
{{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|11}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|11}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|12}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,¦%%}}
{{#switch:{{#explode:{{{1|}}}|,|12}}|seq=,¦%%|pg=,align=right¦%%|com=,%%|arr=,%%|first=,%%|gen=,%%|lan=,%%|lyr=,%%|met=,%%|subg=,%%|vo=,align=right¦%%|voices=,%%|yr=,align=right¦%%}}
|tablesortcol=
|tablesortcol=
|format=,\n[[%PAGE%|%TITLE%]]
|format=,\n[[%PAGE%|%TITLE%]]
|distinct=strict
|replaceintitle=/ \([^\)]+\)$/,  
|replaceintitle=/ \([^\)]+\)$/,  
|noresultsheader=
|noresultsheader=

Revision as of 14:46, 5 March 2019


Documentation

This template is for use on a Music publication page; it produces a table listing all the works that have links to the publication within the template {{Pub}} on their work pages. This table will be automatically updated.

Syntax: {{MultiPubList|<code1>,<code2>,…,<coden>|YYYY}}

where <codei> is one of the codes below (comma-delimited, in any order), and YYYY is the year that the publication was first issued (shown on the publication page as the first parameter within template {{PubDatePlace}} (REQUIRED).
Code Output
arr Arranger
com Composer
first First Line
gen Genre
lan Language
lyr Lyricist
met Meter
pg Page number(s) in publication
seq Sequence no. in publication
subg Subgenre
vo Number of voices
voices Voices
yr Year of publication

Columns in the table depend on what the first code (<code1>) is:

<code1> Columns (* = sorted column)
seq No. ¦ Title* ¦ <code2> ¦ <code3> ¦ …
(other) Title* ¦ <code1> ¦ <code2> ¦ …

If seq is is the first code (<code1>), sequence number appears as the first column in the table. If the first code is something other than seq then the first column is the work title. In any case the table is sorted by work Title, using sort keys as specified in {{DEFAULTSORT:{{NameSorter}}}} on the work pages.

The second parameter is required; enter the year of publication.