Template:Volumes3: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><u>'''{{#switch:{{{2|}}}|Livre=Livres|Volume=Volumes|Part=Parts|Edition=Editions|Pars=Partes|Parte|parte=Parti|Heft=Hefte|Teil=Teile|Volumen=Volumina|Book=Books|Liber=Libri|Tomus=Tomi|Band=Bände}}'''</u>{{#dplvar:set|vname|{{{2|}}}}}{{#dplvar:set|vn|{{{1|}}}}}{{#ifexpr:{{{1|}}}>9|{{top}}}}{{#ifexpr:{{#expr:{{#dplvar:vn}}}}> | <includeonly><u>'''{{#switch:{{{2|}}}|Livre=Livres|Volume=Volumes|Part=Parts|Edition=Editions|Pars=Partes|Parte|parte=Parti|Heft=Hefte|Teil=Teile|Volumen=Volumina|Book=Books|Liber=Libri|Tomus=Tomi|Band=Bände|Tracht=Trachte|Set=Sets}}'''</u>{{#dplvar:set|vname|{{{2|}}}}}{{#dplvar:set|vn|{{{1|}}}}}{{#ifexpr:{{{1|}}}>9|{{top}}}}{{#ifexpr:{{#expr:{{#dplvar:vn}}}}>6|{{#dplvar:set|breakr|{{#expr:{{#expr:{{#dplvar:vn}}/2 round 0}}+1}}|{{#dplvar:set|breakr|0}}}}}}{{#if:{{{3|}}}|:'''{{{4|1}}}''' – {{PubDatePlace2|{{{3}}}|{{{5}}}|{{{2|Volume}}} {{{4|1}}}|format=invert}}{{#dplvar:set|y1|{{{3|}}}}}{{#dplvar:set|z1|{{{4|1}}}}}}}{{#if:{{{6|}}}|:'''{{{7|2}}}''' – {{PubDatePlace2|{{{6}}}|{{{8}}}|{{{2|Volume}}} {{{7|2}}}|format=invert}}{{#dplvar:set|y2|{{{6|}}}}}{{#dplvar:set|z2|{{{7|2}}}}}}}{{#if:{{{9|}}}|:'''{{{10|3}}}''' – {{PubDatePlace2|{{{9}}}|{{{11}}}|{{{2|Volume}}} {{{10|3}}}|format=invert}}{{#dplvar:set|y3|{{{9|}}}}}{{#dplvar:set|z3|{{{10|3}}}}}}}{{#if:{{{12|}}}|:'''{{{13|4}}}''' – {{PubDatePlace2|{{{12}}}|{{{14}}}|{{{2|Volume}}} {{{13|4}}}|format=invert}}{{#dplvar:set|y4|{{{12|}}}}}{{#dplvar:set|z4|{{{13|4}}}}}}}{{#if:{{{15|}}}|:'''{{{16|5}}}''' – {{PubDatePlace2|{{{15}}}|{{{17}}}|{{{2|Volume}}} {{{16|5}}}|format=invert}}{{#dplvar:set|y5|{{{15|}}}}}{{#dplvar:set|z5|{{{16|5}}}}}}}{{#if:{{{18|}}}|:'''{{{19|6}}}''' – {{PubDatePlace2|{{{18}}}|{{{20}}}|{{{2|Volume}}} {{{19|6}}}|format=invert}} | ||
{{#dplvar:set|y6|{{{18|}}}}}{{#dplvar:set|z6|{{{19|6}}}}}{{#ifeq:{{#dplvar:breakr}}|6|{{mdl}}}}}}{{#if:{{{21|}}}|:'''{{{22|7}}}''' – {{PubDatePlace2|{{{21}}}|{{{23}}}|{{{2|Volume}}} {{{22|7}}}|format=invert}} | {{#dplvar:set|y6|{{{18|}}}}}{{#dplvar:set|z6|{{{19|6}}}}}{{#ifeq:{{#dplvar:breakr}}|6|{{mdl}}}}}}{{#if:{{{21|}}}|:'''{{{22|7}}}''' – {{PubDatePlace2|{{{21}}}|{{{23}}}|{{{2|Volume}}} {{{22|7}}}|format=invert}} | ||
{{#dplvar:set|y7|{{{21|}}}}}{{#dplvar:set|z7|{{{22|7}}}}}{{#ifeq:{{#dplvar:breakr}}|7|{{mdl}}}}}}{{#if:{{{24|}}}|:'''{{{25|8}}}''' – {{PubDatePlace2|{{{24}}}|{{{26}}}|{{{2|Volume}}} {{{25|8}}}|format=invert}} | {{#dplvar:set|y7|{{{21|}}}}}{{#dplvar:set|z7|{{{22|7}}}}}{{#ifeq:{{#dplvar:breakr}}|7|{{mdl}}}}}}{{#if:{{{24|}}}|:'''{{{25|8}}}''' – {{PubDatePlace2|{{{24}}}|{{{26}}}|{{{2|Volume}}} {{{25|8}}}|format=invert}} | ||
Line 30: | Line 30: | ||
{{#dplvar:set|y34|{{{102|}}}}}{{#dplvar:set|z34|{{{103|34}}}}}{{#ifeq:{{#dplvar:breakr}}|34|{{mdl}}}}}}{{#if:{{{105|}}}|:'''{{{106|35}}}''' – {{PubDatePlace2|{{{105}}}|{{{107}}}|{{{2|Volume}}} {{{106|35}}}|format=invert}} | {{#dplvar:set|y34|{{{102|}}}}}{{#dplvar:set|z34|{{{103|34}}}}}{{#ifeq:{{#dplvar:breakr}}|34|{{mdl}}}}}}{{#if:{{{105|}}}|:'''{{{106|35}}}''' – {{PubDatePlace2|{{{105}}}|{{{107}}}|{{{2|Volume}}} {{{106|35}}}|format=invert}} | ||
{{#dplvar:set|y35|{{{105|}}}}}{{#dplvar:set|z35|{{{106|35}}}}}{{#ifeq:{{#dplvar:breakr}}|35|{{mdl}}}}}}{{#if:{{{108|}}}|:'''{{{109|36}}}''' – {{PubDatePlace2|{{{108}}}|{{{110}}}|{{{2|Volume}}} {{{109|36}}}|format=invert}} | {{#dplvar:set|y35|{{{105|}}}}}{{#dplvar:set|z35|{{{106|35}}}}}{{#ifeq:{{#dplvar:breakr}}|35|{{mdl}}}}}}{{#if:{{{108|}}}|:'''{{{109|36}}}''' – {{PubDatePlace2|{{{108}}}|{{{110}}}|{{{2|Volume}}} {{{109|36}}}|format=invert}} | ||
{{#dplvar:set|y36|{{{108|}}}}}{{#dplvar:set|z36|{{{109|36}}}}}{{#ifeq:{{#dplvar:breakr}}|36|{{mdl}}}}}}{{#if:{{{111|}}}|:'''{{{112|37}}}''' – {{ | {{#dplvar:set|y36|{{{108|}}}}}{{#dplvar:set|z36|{{{109|36}}}}}{{#ifeq:{{#dplvar:breakr}}|36|{{mdl}}}}}}{{#if:{{{111|}}}|:'''{{{112|37}}}''' – {{PubDatePlace2|{{{111}}}|{{{113}}}|{{{2|Volume}}} {{{112|37}}}|format=invert}}{{#dplvar:set|y37|{{{111|}}}}}{{#dplvar:set|z37|{{{112|37}}}}}}}{{#if:{{{114|}}}|:'''{{{115|38}}}''' – {{PubDatePlace2|{{{114}}}|{{{116}}}|{{{2|Volume}}} {{{115|38}}}|format=invert}}{{#dplvar:set|y38|{{{114|}}}}}{{#dplvar:set|z38|{{{115|38}}}}}}}{{#if:{{{117|}}}|:'''{{{118|39}}}''' – {{PubDatePlace2|{{{117}}}|{{{119}}}|{{{2|Volume}}} {{{118|39}}}|format=invert}}{{#dplvar:set|y39|{{{117|}}}}}{{#dplvar:set|z39|{{{118|39}}}}}}}{{#if:{{{120|}}}|:'''{{{121|40}}}''' – {{PubDatePlace2|{{{120}}}|{{{122}}}|{{{2|Volume}}} {{{121|40}}}|format=invert}}{{#dplvar:set|y40|{{{120|}}}}}{{#dplvar:set|z40|{{{121|40}}}}}}}{{#if:{{{123|}}}|:'''{{{124|41}}}''' – {{PubDatePlace2|{{{123}}}|{{{125}}}|{{{2|Volume}}} {{{124|41}}}|format=invert}}{{#dplvar:set|y41|{{{123|}}}}}{{#dplvar:set|z41|{{{124|41}}}}}}}{{#if:{{{126|}}}|:'''{{{127|42}}}''' – {{PubDatePlace2|{{{126}}}|{{{128}}}|{{{2|Volume}}} {{{127|42}}}|format=invert}}{{#dplvar:set|y42|{{{126|}}}}}{{#dplvar:set|z42|{{{127|42}}}}}}}{{#if:{{{129|}}}|:'''{{{130|43}}}''' – {{PubDatePlace2|{{{129}}}|{{{131}}}|{{{2|Volume}}} {{{130|43}}}|format=invert}}{{#dplvar:set|y43|{{{129|}}}}}{{#dplvar:set|z43|{{{130|43}}}}}}}{{#if:{{{132|}}}|:'''{{{133|44}}}''' – {{PubDatePlace2|{{{132}}}|{{{134}}}|{{{2|Volume}}} {{{133|44}}}|format=invert}}{{#dplvar:set|y44|{{{132|}}}}}{{#dplvar:set|z44|{{{133|44}}}}}}}{{#if:{{{135|}}}|:'''{{{136|45}}}''' – {{PubDatePlace2|{{{135}}}|{{{137}}}|{{{2|Volume}}} {{{136|45}}}|format=invert}}{{#dplvar:set|y45|{{{135|}}}}}{{#dplvar:set|z45|{{{136|45}}}}}}}{{#if:{{{138|}}}|:'''{{{139|46}}}''' – {{PubDatePlace2|{{{138}}}|{{{140}}}|{{{2|Volume}}} {{{139|46}}}|format=invert}}{{#dplvar:set|y46|{{{138|}}}}}{{#dplvar:set|z46|{{{139|46}}}}}}}{{#if:{{{141|}}}|:'''{{{142|47}}}''' – {{PubDatePlace2|{{{141}}}|{{{143}}}|{{{2|Volume}}} {{{142|47}}}|format=invert}}{{#dplvar:set|y47|{{{141|}}}}}{{#dplvar:set|z47|{{{142|47}}}}}}}{{#if:{{{144|}}}|:'''{{{145|48}}}''' – {{PubDatePlace2|{{{144}}}|{{{146}}}|{{{2|Volume}}} {{{145|48}}}|format=invert}}{{#dplvar:set|y48|{{{144|}}}}}{{#dplvar:set|z48|{{{145|48}}}}}}}{{#if:{{{147|}}}|:'''{{{148|49}}}''' – {{PubDatePlace2|{{{147}}}|{{{149}}}|{{{2|Volume}}} {{{148|49}}}|format=invert}}{{#dplvar:set|y49|{{{147|}}}}}{{#dplvar:set|z49|{{{148|49}}}}}}}{{#if:{{{150|}}}|:'''{{{151|50}}}''' – {{PubDatePlace2|{{{150}}}|{{{152}}}|{{{2|Volume}}} {{{151|50}}}|format=invert}}{{#dplvar:set|y50|{{{150|}}}}}{{#dplvar:set|z50|{{{151|50}}}}}}}{{#if:{{{153|}}}|:'''{{{154|51}}}''' – {{PubDatePlace2|{{{153}}}|{{{155}}}|{{{2|Volume}}} {{{154|51}}}|format=invert}}{{#dplvar:set|y51|{{{153|}}}}}{{#dplvar:set|z51|{{{154|51}}}}}}}{{#if:{{{156|}}}|:'''{{{157|52}}}''' – {{PubDatePlace2|{{{156}}}|{{{158}}}|{{{2|Volume}}} {{{157|52}}}|format=invert}}{{#dplvar:set|y52|{{{156|}}}}}{{#dplvar:set|z52|{{{157|52}}}}}}}{{#if:{{{159|}}}|:'''{{{160|53}}}''' – {{PubDatePlace2|{{{159}}}|{{{161}}}|{{{2|Volume}}} {{{160|53}}}|format=invert}}{{#dplvar:set|y53|{{{159|}}}}}{{#dplvar:set|z53|{{{160|53}}}}}}}{{#if:{{{162|}}}|:'''{{{163|54}}}''' – {{PubDatePlace2|{{{162}}}|{{{164}}}|{{{2|Volume}}} {{{163|54}}}|format=invert}}{{#dplvar:set|y54|{{{162|}}}}}{{#dplvar:set|z54|{{{163|54}}}}}}}{{#if:{{{165|}}}|:'''{{{166|55}}}''' – {{PubDatePlace2|{{{165}}}|{{{167}}}|{{{2|Volume}}} {{{166|55}}}|format=invert}}{{#dplvar:set|y55|{{{165|}}}}}{{#dplvar:set|z55|{{{166|55}}}}}}}{{#if:{{{168|}}}|:'''{{{169|56}}}''' – {{PubDatePlace2|{{{168}}}|{{{170}}}|{{{2|Volume}}} {{{169|56}}}|format=invert}}{{#dplvar:set|y56|{{{168|}}}}}{{#dplvar:set|z56|{{{169|56}}}}}}}{{#if:{{{171|}}}|:'''{{{172|57}}}''' – {{PubDatePlace2|{{{171}}}|{{{173}}}|{{{2|Volume}}} {{{172|57}}}|format=invert}}{{#dplvar:set|y57|{{{171|}}}}}{{#dplvar:set|z57|{{{172|57}}}}}}}{{#if:{{{174|}}}|:'''{{{175|58}}}''' – {{PubDatePlace2|{{{174}}}|{{{176}}}|{{{2|Volume}}} {{{175|58}}}|format=invert}}{{#dplvar:set|y58|{{{174|}}}}}{{#dplvar:set|z58|{{{175|58}}}}}}}{{#if:{{{177|}}}|:'''{{{178|59}}}''' – {{PubDatePlace2|{{{177}}}|{{{179}}}|{{{2|Volume}}} {{{178|59}}}|format=invert}}{{#dplvar:set|y59|{{{177|}}}}}{{#dplvar:set|z59|{{{178|59}}}}}}}{{#if:{{{180|}}}|:'''{{{181|60}}}''' – {{PubDatePlace2|{{{180}}}|{{{182}}}|{{{2|Volume}}} {{{181|60}}}|format=invert}}{{#dplvar:set|y60|{{{180|}}}}}{{#dplvar:set|z60|{{{181|60}}}}}}}{{#if:{{{183|}}}|:'''{{{184|61}}}''' – {{PubDatePlace2|{{{183}}}|{{{185}}}|{{{2|Volume}}} {{{184|61}}}|format=invert}}{{#dplvar:set|y61|{{{183|}}}}}{{#dplvar:set|z61|{{{184|61}}}}}}}{{#if:{{{186|}}}|:'''{{{187|62}}}''' – {{PubDatePlace2|{{{186}}}|{{{188}}}|{{{2|Volume}}} {{{187|62}}}|format=invert}}{{#dplvar:set|y62|{{{186|}}}}}{{#dplvar:set|z62|{{{187|62}}}}}}}{{#if:{{{189|}}}|:'''{{{190|63}}}''' – {{PubDatePlace2|{{{189}}}|{{{191}}}|{{{2|Volume}}} {{{190|63}}}|format=invert}}{{#dplvar:set|y63|{{{189|}}}}}{{#dplvar:set|z63|{{{190|63}}}}}}}{{#if:{{{192|}}}|:'''{{{193|64}}}''' – {{PubDatePlace2|{{{192}}}|{{{194}}}|{{{2|Volume}}} {{{193|64}}}|format=invert}}{{#dplvar:set|y64|{{{192|}}}}}{{#dplvar:set|z64|{{{193|64}}}}}}}{{#if:{{{195|}}}|:'''{{{196|65}}}''' – {{PubDatePlace2|{{{195}}}|{{{197}}}|{{{2|Volume}}} {{{196|65}}}|format=invert}}{{#dplvar:set|y65|{{{195|}}}}}{{#dplvar:set|z65|{{{196|65}}}}}}}{{#if:{{{198|}}}|:'''{{{199|66}}}''' – {{PubDatePlace2|{{{198}}}|{{{200}}}|{{{2|Volume}}} {{{199|66}}}|format=invert}}{{#dplvar:set|y66|{{{198|}}}}}{{#dplvar:set|z66|{{{199|66}}}}}}}{{#if:{{{201|}}}|:'''{{{202|67}}}''' – {{PubDatePlace2|{{{201}}}|{{{203}}}|{{{2|Volume}}} {{{202|67}}}|format=invert}}{{#dplvar:set|y67|{{{201|}}}}}{{#dplvar:set|z67|{{{202|67}}}}}}}{{#if:{{{204|}}}|:'''{{{205|68}}}''' – {{PubDatePlace2|{{{204}}}|{{{206}}}|{{{2|Volume}}} {{{205|68}}}|format=invert}}{{#dplvar:set|y68|{{{204|}}}}}{{#dplvar:set|z68|{{{205|68}}}}}}}{{#if:{{{207|}}}|:'''{{{208|69}}}''' – {{PubDatePlace2|{{{207}}}|{{{209}}}|{{{2|Volume}}} {{{208|69}}}|format=invert}}{{#dplvar:set|y69|{{{207|}}}}}{{#dplvar:set|z69|{{{208|69}}}}}}}{{#if:{{{210|}}}|:'''{{{211|70}}}''' – {{PubDatePlace2|{{{210}}}|{{{212}}}|{{{2|Volume}}} {{{211|70}}}|format=invert}}{{#dplvar:set|y70|{{{210|}}}}}{{#dplvar:set|z70|{{{211|70}}}}}}} | ||
{{#ifexpr:{{{1|}}}>9|{{btm}}}}</includeonly><noinclude> | {{#ifexpr:{{{1|}}}>9|{{btm}}}}</includeonly><noinclude> | ||
{{Doc|1= | {{Doc|1= | ||
<big>THIS TEMPLATE</big> is to be used on a {{CiteCat|Music publications|music publication}} page, where more than one '''Edition''', '''Volume''', or '''Part''' exist. It has up to 212 parameters, for up to 70 volumes, editions, or parts. If this template is used, it will automatically produce the template {{tl|PubDatePlace}} for each volume. | <big>THIS TEMPLATE</big> is to be used on a {{CiteCat|Music publications|music publication}} page, where more than one '''Edition''', '''Volume''', or '''Part''' exist. It has up to 212 parameters, for up to 70 volumes, editions, or parts. If this template is used, it will automatically produce the template {{tl|PubDatePlace}} for each volume. | ||
Latest revision as of 20:34, 23 June 2021
THIS TEMPLATE is to be used on a music publication page, where more than one Edition, Volume, or Part exist. It has up to 212 parameters, for up to 70 volumes, editions, or parts. If this template is used, it will automatically produce the template {{PubDatePlace}} for each volume.
WHEN THIS TEMPLATE IS USED on a music publication page, PLEASE DO NOT ALSO USE template {{PubDatePlace}} – template {{Volumes}} now incorporates {{PubDatePlace}} in it. Please put details of publication in the comments fields of the {{Volumes}} template.
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.
RECOMMENDED FORMAT
- {{Volumes|<n>|<title>
- |<year1>|<vol designation 1>|<comments 1>
- |<year2>|<vol designation 2>|<comments 2>
- |<year3>|<vol designation 3>|<comments 3>
- |<year4>|<vol designation 4>|<comments 4>
- |<year5>|<vol designation 5>|<comments 5>
- …
- }}
1. Number of volumes (editions, parts, etc.)
3. Four-digit year of publication of volume (part, edition, etc.) 1.
5. Text comments, such as number of pages, publisher of volume 1. 6. Four-digit year of second volume 9. Four-digit year of third volume ... and so on, up to 212 parameters.
This template produces several DPL variables (dplvar) that are used in {{MultiPubList}} later in the page: y1, y2, …, y70 (four-digit years, up to 70 of them); z1, z2, z3, …,z70 (designation of volumes, up to 70 of them); vn (the number of volumes); and vname (the name of books, "Volume" or "Edition", etc.) (Version 7b - 2020-11-22) |