Template:Pub: Difference between revisions
mNo edit summary |
m (updated doc) |
||
Line 13: | Line 13: | ||
Parameters: | Parameters: | ||
:1. | :1. Single-digit number, order of publication: 1 for first publication, 2 for second, ''etc.'' (mandatory) | ||
:2. | :2. Four-digit year of publication (mandatory) | ||
:3. Name and details of publication | :3. Name and details of publication | ||
:4. no | :4. {{para|no}} Sequence of work in publication (optional) | ||
:5. pg | :5. {{para|pg}} Page number of work in publication (optional) | ||
Parameter 1 should contain '''only''' a single-digit integer number. Parameter 2 should contain '''only''' a integer number, usually four digits, the year of publication. Parameter 3 should contain a '''link''' to a publication page to which this work is linked. The link should use the template {{tl|NoComp}}, for example <tt><nowiki>{{NoComp|Music in Miniature|William Billings}}</nowiki></tt>. Optionally, the sequence number or page in that publication can be specified; if you intend for these parameters (sequence or page number) to appear in the table generated by the template {{tl|MultiPubList}}, they should be declared as parameters, as in Syntax 3 above. | Parameter 1 should contain '''only''' a single-digit integer number. Parameter 2 should contain '''only''' a integer number, usually four digits, the year of publication. Parameter 3 should contain a '''link''' to a publication page to which this work is linked. The link should use the template {{tl|NoComp}}, for example <tt><nowiki>{{NoComp|Music in Miniature|William Billings}}</nowiki></tt>. Optionally, the sequence number or page in that publication can be specified; if you intend for these parameters (sequence or page number) to appear in the table generated by the template {{tl|MultiPubList}}, they should be declared as parameters, as in Syntax 3 above. | ||
<tt><nowiki>{{Pub|1|1770|in ''{{NoComp|The New-England Psalm-Singer|William Billings}}''}}</nowiki></tt> yields | <tt><nowiki>{{Pub|1|1770|in ''{{NoComp|The New-England Psalm-Singer|William Billings}}''}}</nowiki></tt> yields | ||
:'''First | :'''First published:''' {{CiteCat|1770 works|1770}} in ''{{NoComp|The New-England Psalm-Singer|William Billings}}''. | ||
<tt><nowiki>{{Pub|2|1779|in ''{{NoComp|Music in Miniature|William Billings}}'', no. 22, p. 32}}</nowiki></tt> yields | <tt><nowiki>{{Pub|2|1779|in ''{{NoComp|Music in Miniature|William Billings}}'', no. 22, p. 32}}</nowiki></tt> yields | ||
::''' | ::'''2nd published:''' {{CiteCat|1779 works|1779}} in ''{{NoComp|Music in Miniature|William Billings}}'', no. 22, p. 32. | ||
<tt><nowiki>{{Pub|1|1770|in ''{{NoComp|The New-England Psalm-Singer|William Billings}}''|no=118|pg=90}}</nowiki></tt> yields | <tt><nowiki>{{Pub|1|1770|in ''{{NoComp|The New-England Psalm-Singer|William Billings}}''|no=118|pg=90}}</nowiki></tt> yields | ||
:'''First | :'''First published:''' {{CiteCat|1770 works|1770}} in ''{{NoComp|The New-England Psalm-Singer|William Billings}}'', no. 118, p. 90. | ||
}} | }} | ||
Revision as of 15:59, 5 June 2019
This template is to be used for a publication of a work. This template is to be used if any of its works have more than one publication cited. This template, {{Pub}} is used in conjunction with {{MultiPubList}}. If none of the works have more than one citation, then use template {{Published}} on the work pages and {{PubList}} on the publication page.
Syntax:
- {{Pub|L|YYYY|in {{NoComp|<Publication>|<Composer>}}}}
- {{Pub|L|YYYY|in {{NoComp|<Publication>|<Composer>}}, no. N, p. P}} (no sequence or page numbers appear in {{MultiPubList}})
- {{Pub|L|YYYY|in {{NoComp|<Publication>|<Composer>}}|no=N|pg=P}} (if you wish sequence or page numbers to appear in {{MultiPubList}})
Parameters:
- 1. Single-digit number, order of publication: 1 for first publication, 2 for second, etc. (mandatory)
- 2. Four-digit year of publication (mandatory)
- 3. Name and details of publication
- 4.
|no=
Sequence of work in publication (optional) - 5.
|pg=
Page number of work in publication (optional)
Parameter 1 should contain only a single-digit integer number. Parameter 2 should contain only a integer number, usually four digits, the year of publication. Parameter 3 should contain a link to a publication page to which this work is linked. The link should use the template {{NoComp}}, for example {{NoComp|Music in Miniature|William Billings}}. Optionally, the sequence number or page in that publication can be specified; if you intend for these parameters (sequence or page number) to appear in the table generated by the template {{MultiPubList}}, they should be declared as parameters, as in Syntax 3 above.
{{Pub|1|1770|in ''{{NoComp|The New-England Psalm-Singer|William Billings}}''}} yields
- First published: 1770 in The New-England Psalm-Singer.
{{Pub|2|1779|in ''{{NoComp|Music in Miniature|William Billings}}'', no. 22, p. 32}} yields
- 2nd published: 1779 in Music in Miniature, no. 22, p. 32.
{{Pub|1|1770|in ''{{NoComp|The New-England Psalm-Singer|William Billings}}''|no=118|pg=90}} yields
- First published: 1770 in The New-England Psalm-Singer, no. 118, p. 90.