Template:Volumes

From ChoralWiki
Jump to: navigation, search


Documentation

THIS TEMPLATE is to be used on a music publication page, where more than one Edition, Volume, or Part exist. It has up to 102 parameters, for up to 50 volumes, editions, or parts.

1. Number of volumes (editions, parts, etc.)
2. Name of different volumes, capitalized, singular and in the appropriate language. Defaults to Volume. Such as:

  • Book
  • Edition
  • Heft
  • Part
  • Parte
  • Teil
  • Volume
  • Volumen

3. Four-digit year of publication of volume (part, edition, etc.) 1.
4. Text comments, such as number of pages, publisher on volume 1.

5. Four-digit year of second volume
6. Text comments on second volume

7. Four-digit year of third volume
8. Text comments on third volume

... and so on, up to 102 parameters.

Example 1
{{Volumes|4|Edition|1830|178 pp., published in London.|1835|232 pp.|1837|234 pp.|1840|259 pp.}}

would yield

Editions

Edition 1, 1830 – 178 pp., published in London.
Edition 2, 1835 – 232 pp.
Edition 3, 1837 – 234 pp.
Edition 4, 1840 – 259 pp.

Example 2
{{Volumes|2||1604|Madrigals|1609|Motets}}

would yield

Volumes

Volume 1, 1604 – Madrigals
Volume 2, 1609 – Motets

This template is designed for use with Template {{MultiPubList}}; when the two are used together, and with "vol=" in the {{Pub}} template on all work pages, several tables are produced, one for each volume. For examples, see Musica Transalpina or Heinrich Schütz: Sämtliche Werke.

This template produces several DPL variables (dplvar) that are used in {{MultiPubList}} later in the page: y1, y2, …, y50 (four-digit years, up to 50 of them); vn (the number of volumes); and vname (the name of books, "Volume" or "Edition", etc.)