Template:MultiPubList
![]() | This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
THIS TEMPLATE calls template {{MPList}}; the description below includes both.
This template is for use on a Music publication page. This template requires the use of the template {{Pub}} on all work pages belonging to this publication.
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, so users do not have to manually add works.
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).
|
Columns in the table depend on what the first code (<code1>) is:
|
Sorting. If seq is is the first code (<code1>), sequence number appears as the first column in the table, and the table is sorted (numerically) on sequence number. If no= is specified on work pages as anything but an number, the table will sort alphabetically by sequence; please use another system for expressing sequence. Sequence systems that sort correctly:
On the other hand, the following sequence systems will not sort correctly:
Please do not click the sort arrows for the sequence column; this will cause the column to sort alphabetically (1,10,100,101,102,11,12,13,14,15,16,17,18,19,2,20,21,…); refresh the page to get the native sort back. If the first code is something other than seq then the first column is the work title, in which case the table is sorted by work Title, using sort keys as specified in {{DEFAULTSORT:{{NameSorter}}}} on the work pages. IF seq IS SPECIFIED IN THE MultiPubList CALL, THEN THE PARAMETER no= MUST BE SPECIFIED ON EVERY WORK PAGE. If the sequence number is not known, use no=0 or no=00. The same is true of the yr and pg parameters. Guidelines for title of a Music publication page can be found here. The second parameter is required; enter the year of publication. This must be a four-digit year. Pad years before 1000 with zeroes, as "0870" or "0033". If the code yr is used in the MultiPubList template, then the second parameter of the {{Pub|1}} template must have a four-digit value on all work pages belonging to the publications. IF THERE ARE MULTIPLE BOOKS IN THE SAME PUBLICATION, such as Editions, Volumes, Parts, etc.: Please use the Template {{Volumes}} – see the description of that template for more details. In that case, a command such as {{MultiPubList|yr,com,lyr,gen,subg,vo}} (notice no second parameter) will yield several tables, one for each book specified in the {{Volumes}} command.
|