Template:PubList: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Made this template obsolete and unusable) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><!--{{#dpl:category=Sheet music | ||
{{#dpl:category=Sheet music | |||
|category={{#if:{{{2|}}}|{{{2|}}} works}} | |category={{#if:{{{2|}}}|{{{2|}}} works}} | ||
|notcategory=Works with all editions withdrawn | |notcategory=Works with all editions withdrawn | ||
Line 8: | Line 7: | ||
|ordermethod=sortkey | |ordermethod=sortkey | ||
|include= | |include= | ||
{{#switch:{{#explode:{{{1|}}}|,|0}}|seq={ | {{#switch:{{#explode:{{{1|}}}|,|0}}|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|}}}|,|1}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|1}}|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|}}}|,|2}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|2}}|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|}}}|,|3}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|3}}|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|}}}|,|4}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|4}}|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|}}}|,|5}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|5}}|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|}}}|,|6}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|6}}|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|}}}|,|7}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|7}}|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|}}}|,|8}}|seq=,{ | {{#switch:{{#explode:{{{1|}}}|,|8}}|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=,{ | {{#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=,{ | {{#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|}}}|,|11}}|seq=,{ | {{#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=,{ | {{#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}} | ||
|table=class="wikitable sortable",Title | |table=class="wikitable sortable",Title on CPDL | ||
{{#switch:{{#explode:{{{1|}}}|,|0}}|seq=,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|}}}|,|0}}|seq=,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|}}}|,|1}}|seq=,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|}}}|,|1}}|seq=,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}} | ||
Line 36: | Line 35: | ||
{{#switch:{{#explode:{{{1|}}}|,|12}}|seq=,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=,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}} | ||
|format=,\n[[%PAGE%|%TITLE%]] | |format=,\n[[%PAGE%|%TITLE%]] | ||
|replaceintitle=/\([^\)]+\)$/ | |replaceintitle=/\([^\)]+\)$/; | ||
|tablesortcol= | |tablesortcol= | ||
{{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|2|{{#ifeq:{{#explode:{{{1|}}}|,|1}}|seq|3|{{#ifeq:{{#explode:{{{1|}}}|,|2}}|seq|4|{{#ifeq:{{#explode:{{{1|}}}|,|3}}|seq|5|{{#ifeq:{{#explode:{{{1|}}}|,|4}}|seq|6|{{#ifeq:{{#explode:{{{1|}}}|,|5}}|seq|7|{{#ifeq:{{#explode:{{{1|}}}|,|6}}|seq|8|{{#ifeq:{{#explode:{{{1|}}}|,|7}}|seq|9|{{#ifeq:{{#explode:{{{1|}}}|,|8}}|seq|10|{{#ifeq:{{#explode:{{{1|}}}|,|9}}|seq|11|{{#ifeq:{{#explode:{{{1|}}}|,|10}}|seq|12|{{#ifeq:{{#explode:{{{1|}}}|,|11}}|seq|13|{{#ifeq:{{#explode:{{{1|}}}|,|12}}|seq|14|}}}}}}}}}}}}}}}}}}}}}}}}}} | {{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|2|{{#ifeq:{{#explode:{{{1|}}}|,|1}}|seq|3|{{#ifeq:{{#explode:{{{1|}}}|,|2}}|seq|4|{{#ifeq:{{#explode:{{{1|}}}|,|3}}|seq|5|{{#ifeq:{{#explode:{{{1|}}}|,|4}}|seq|6|{{#ifeq:{{#explode:{{{1|}}}|,|5}}|seq|7|{{#ifeq:{{#explode:{{{1|}}}|,|6}}|seq|8|{{#ifeq:{{#explode:{{{1|}}}|,|7}}|seq|9|{{#ifeq:{{#explode:{{{1|}}}|,|8}}|seq|10|{{#ifeq:{{#explode:{{{1|}}}|,|9}}|seq|11|{{#ifeq:{{#explode:{{{1|}}}|,|10}}|seq|12|{{#ifeq:{{#explode:{{{1|}}}|,|11}}|seq|13|{{#ifeq:{{#explode:{{{1|}}}|,|12}}|seq|14|}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
|noresultsheader= | |noresultsheader= | ||
}}</includeonly><noinclude> | }}--></includeonly><noinclude> | ||
{{Doc|1= | {{Doc|1= | ||
THIS TEMPLATE is obsolete. Please use {{tl|MultiPubList}} instead. | |||
The first column of the table is always the title of the work, without the composer's name. Following columns of the table are specified in the list in the first parameter, comma-delimited with no spaces. A second, optional parameter would give the year of publication, if necessary to distinguish different editions of the publication. | <!--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 {{tl|Pub}} template. This table will be automatically updated. The first column of the table is always the title of the work, without the composer's name. Following columns of the table are specified in the list in the first parameter, comma-delimited with no spaces. A second, optional parameter would give the year of publication, if necessary to distinguish different editions of the publication. | ||
Syntax: <nowiki>{{PubList|<code1>,<code2>,…,<coden>|YYYY}}</nowiki>, where <codei> is one of the codes below, and YYYY is the year of publication (optional). | Syntax: <nowiki>{{PubList|<code1>,<code2>,…,<coden>|YYYY}}</nowiki>, where <codei> is one of the codes below, and YYYY is the year of publication (optional). | ||
Line 82: | Line 81: | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
Correct listing by this template requires that each works page contain a link to the publication page on which the template resides, usually within the {{tl|Published}} template. IF THERE ARE MORE THAN ONE PUBLICATION LISTED ON ANY WORK PAGE, then the template {{tl|MultiPubList}} should be used instead. | |||
For example, the template <tt><nowiki>{{PubList|yr,seq,pg,first,lyr,met,vo|1795}}</nowiki></tt> on the page [[The Middlesex Harmony (Samuel Babcock)]] produces | For example, the template <tt><nowiki>{{PubList|yr,seq,pg,first,lyr,met,vo|1795}}</nowiki></tt> on the page [[The Middlesex Harmony (Samuel Babcock)]] produces | ||
Line 87: | Line 88: | ||
etc. | etc. | ||
--> | |||
}} | }} | ||
[[Category: | [[Category:DPL templates]] | ||
[[Category:Obsolete templates]] | |||
</noinclude> | </noinclude> | ||
Line 109: | Line 111: | ||
}} | }} | ||
[[Category:DPL templates]] | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
--> | --> |