Template:Volumes: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><u>'''{{#switch:{{{2|}}}|Volume=Volumes|Part=Parts|Edition=Editions|parte|Parte=Parti|Heft=Hefte|Teil=Teile|Volumen=Volumina}}'''</u><br>{{#if | <includeonly><u>'''{{#switch:{{{2|}}}|Volume=Volumes|Part=Parts|Edition=Editions|parte|Parte=Parti|Heft=Hefte|Teil=Teile|Volumen=Volumina}}'''</u><br>{{#if:{{{3|}}}|:'''{{{2|Volume}}} 1''', {{#multireplace:{{{3|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{4|}}}| – {{{4|}}}}}}}{{#if:{{{5|}}}|:'''{{{2|Volume}}} 2''', {{#multireplace:{{{5|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{6|}}}| – {{{6|}}}}}}}{{#if:{{{7|}}}|:'''{{{2|Volume}}} 3''', {{#multireplace:{{{7|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{8|}}}| – {{{8|}}}}}}}{{#if:{{{9|}}}|:'''{{{2|Volume}}} 4''', {{#multireplace:{{{9|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{10|}}}| – {{{10|}}}}}}}{{#if:{{{11|}}}|:'''{{{2|Volume}}} 5''', {{#multireplace:{{{11|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{12|}}}| – {{{12|}}}}}}}{{#if:{{{13|}}}|:'''{{{2|Volume}}} 6''', {{#multireplace:{{{13|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{14|}}}| – {{{14|}}}}}}}{{#if:{{{15|}}}|:'''{{{2|Volume}}} 7''', {{#multireplace:{{{15|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{16|}}}| – {{{16|}}}}}}}{{#if:{{{17|}}}|:'''{{{2|Volume}}} 8''', {{#multireplace:{{{17|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{18|}}}| – {{{18|}}}}}}}{{#if:{{{19|}}}|:'''{{{2|Volume}}} 9''', {{#multireplace:{{{19|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{20|}}}| – {{{20|}}}}}}}{{#if:{{{21|}}}|:'''{{{2|Volume}}} 10''', {{#multireplace:{{{21|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{22|}}}| – {{{22|}}}}}}}{{#if:{{{23|}}}|:'''{{{2|Volume}}} 11''', {{#multireplace:{{{23|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{24|}}}| – {{{24|}}}}}}}{{#if:{{{25|}}}|:'''{{{2|Volume}}} 12''', {{#multireplace:{{{25|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{26|}}}| – {{{26|}}}}}}}{{#if:{{{27|}}}|:'''{{{2|Volume}}} 13''', {{#multireplace:{{{27|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{28|}}}| – {{{28|}}}}}}}{{#if:{{{29|}}}|:'''{{{2|Volume}}} 14''', {{#multireplace:{{{29|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{30|}}}| – {{{30|}}}}}}}{{#if:{{{31|}}}|:'''{{{2|Volume}}} 15''', {{#multireplace:{{{31|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{32|}}}| – {{{32|}}}}}}}{{#if:{{{33|}}}|:'''{{{2|Volume}}} 16''', {{#multireplace:{{{33|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{34|}}}| – {{{34|}}}}}}}{{#if:{{{35|}}}|:'''{{{2|Volume}}} 17''', {{#multireplace:{{{35|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{36|}}}| – {{{36|}}}}}}}{{#if:{{{37|}}}|:'''{{{2|Volume}}} 18''', {{#multireplace:{{{37|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{38|}}}| – {{{38|}}}}}}}{{#if:{{{39|}}}|:'''{{{2|Volume}}} 19''', {{#multireplace:{{{39|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{40|}}}| – {{{40|}}}}}}}{{#if:{{{41|}}}|:'''{{{2|Volume}}} 20''', {{#multireplace:{{{41|}}}|/^(.*)?(\d\d\d\d)/=$1{{Cat|$2 publications|$2}}}}{{#if:{{{42|}}}| – {{{42|}}}}}}}</includeonly><noinclude> | ||
{{Doc|1= | {{Doc|1= | ||
EXPERIMENTAL | EXPERIMENTAL | ||
This template 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 | This template 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 42 parameters, for up to 20 volumes, editions, or parts.<br> | ||
{{top}} | {{top}} | ||
1. Number of volumes (editions, parts, ''etc.'')<br> | 1. Number of volumes (editions, parts, ''etc.'')<br> | ||
2. Name of different volumes, singular and in the appropriate language. Defaults to '''Volume'''. Such as: | 2. Name of different volumes, capitalized, singular and in the appropriate language. Defaults to '''Volume'''. Such as: | ||
{{top}} | {{top}} | ||
*Edition | *Edition | ||
Line 19: | Line 19: | ||
*Volumen | *Volumen | ||
{{btm}} | {{btm}} | ||
3 | 3. Four-digit year of publication of volume (part, edition, ''etc.'') 1.<br> | ||
4. Text comments, such as number of pages, publisher on volume 1.<br> | |||
5. Four-digit year of second volume<br> | |||
6. Text comments on second volume<br> | |||
7. Four-digit year of third volume<br> | |||
8. Text comments on third volume<br> | |||
... and so on, up to | ... and so on, up to 42 parameters. | ||
{{btm}} | {{btm}} | ||
<u>Example 1</u><br> | <u>Example 1</u><br> | ||
<nowiki>{{Volumes|4|Edition | <nowiki>{{Volumes|4|Edition|1830|178 pp., published in London.|1835|232 pp.|1837|234 pp.|1840|259 pp.}}</nowiki> | ||
:would yield | :would yield | ||
<u>'''Editions'''</u> | <u>'''Editions'''</u> | ||
:'''Edition 1''', 1830 – 178 pp., published in London. | :'''Edition 1''', <font color=blue>1830</font> – 178 pp., published in London. | ||
:'''Edition 2''', 1835 – 232 pp. | :'''Edition 2''', <font color=blue>1835</font> – 232 pp. | ||
:'''Edition 3''', 1837 – 234 pp. | :'''Edition 3''', <font color=blue>1837</font> – 234 pp. | ||
:'''Edition 4''', 1840 – 259 pp. | :'''Edition 4''', <font color=blue>1840</font> – 259 pp. | ||
<u>Example 2</u><br> | <u>Example 2</u><br> | ||
<nowiki>{{Volumes|2| | <nowiki>{{Volumes|2||1604|Madrigals|1609|Motets}}</nowiki> | ||
:would yield | :would yield | ||
<u>''' | <u>'''Volumes'''</u> | ||
:''' | :'''Volume 1''', <font color=blue>1604</font> – Madrigals | ||
:''' | :'''Volume 2''', <font color=blue>1609</font> – Motets | ||
}} | }} | ||
[[Category:Experimental templates]] | [[Category:Experimental templates]] |
Revision as of 16:05, 28 June 2019
EXPERIMENTAL
This template is to be used on a music publication page, where more than one Edition, Volume, or Part exist. It has up to 42 parameters, for up to 20 volumes, editions, or parts.
1. Number of volumes (editions, parts, etc.)
3. Four-digit year of publication of volume (part, edition, etc.) 1. 5. Four-digit year of second volume 7. Four-digit year of third volume ... and so on, up to 42 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