Template:MultiPubList: Difference between revisions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}} | {{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}} | ||
{{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}} | {{#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|vo=,{Voicing}:1|voices=,{Voicing}:2|yr=,{Pub}:2}} | ||
|includematch={{#ifexpr:{{#rpos:{{PAGENAME}}|,}}<>-1|{{#ifeq:{{#explode:{{PAGENAME}}|,|3}}|{{#multireplace:{{PAGENAME}}|/^( | |includematch={{#ifexpr:{{#rpos:{{PAGENAME}}|,}}<>-1|{{#ifeq:{{#explode:{{PAGENAME}}|,|3}}||{{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$5(.*)$8(.*)$9/,}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\,((\s(\w)+)*)\s?[\(]?([^\(^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$8(.*)$9/|pg=,/$1(.*)$5(.*)$8(.*)$9/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}} }} | ||
|{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$3/,}}}} | |{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1(.*)$2(.*)$3/,}}}} | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}} | ||
Line 39: | Line 39: | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$3/|pg=,|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
Line 46: | Line 46: | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}} | {{#multireplace:{{PAGENAME}}|/^([^\,]*)\,\s([^\,]*)\,\s([^\,]*)(\,*)(.*)/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$2(.*)$3/|pg=,/$1(.*)$2(.*)$3/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}} | ||
|{{#multireplace:{{PAGENAME}}|/^( | |{{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|/$1/,}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{{#switch:{{#explode:{{{1|}}}|,|1}}|pg=/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|0}}|pg=/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=|yr=/\{{!}}1\{{!}}/}}}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq||{{#switch:{{#explode:{{{1|}}}|,|1}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|2}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|3}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|4}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|5}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|6}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|7}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|8}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|9}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|com|arr|first|gen|lan|lyr|met|subg|vo|voices=,|yr=,/\{{!}}1\{{!}}/}}}} | ||
{{#multireplace:{{PAGENAME}}|/^( | {{#multireplace:{{PAGENAME}}|/^((\w)*(\s(\w)+)*)\s?[\(]?([^\)]*)[\)]?\s?[\(]?([^\)]*)[\)]?$/={{#switch:{{#explode:{{{1|}}}|,|10}}|seq=,/$1(.*)$5(.*)$6/|pg=,/$1(.*)$5(.*)$6/|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 90: | Line 90: | ||
|replaceintitle=/ \([^\)]+\)$/, | |replaceintitle=/ \([^\)]+\)$/, | ||
|noresultsheader= | |noresultsheader= | ||
|resultsfooter= %PAGES% | |||
|suppresserrors=true | |suppresserrors=true | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 04:22, 22 March 2019
This template is for use on a Music publication page, WHERE AT LEAST ONE WORK HAS MULTIPLE PUBLICATION CITATIONS. This template requires the use of the template {{Pub}} on all work pages. If no works in a publication have multiple publication citations, please use Template {{PubList}} instead (which uses {{Published}} on work pages).
This template 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.