Template:New publication: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
The page must be saved once the above code has been placed on it. Edit the page once again and the relevant code will be written out in full.  
The page must be saved once the above code has been placed on it. Edit the page once again and the relevant code will be written out in full.  


Substitute the texts in red with valid information, as indicated below:
Add text and template parameters:
 
#'''Title:'''  Short title, just like page title.
#'''Full title:'''  Full title, as on publication's title page.
#'''Editor - Compiler - Composer:'''  Choose one or more roles; format <nowiki>[[Editor]]</nowiki><br>’’or’’ '''Editors - Compilers - Composers:'''  Choose one or more roles; format <nowiki>[[Editor1]]</nowiki> and <nowiki>[[Editor2]]</nowiki>
#{{tl|PubDatePlace| <pubyear> | in <pubcity> by <publisher>|&#38;nbsp&#59;}} – If manuscript, replace parameter 3 by <tt>Manuscript</tt>.
#'''Description:'''  Description of publication.
#'''References''' (optional)
#'''External links''' <nowiki>*{{IMSLP}}</nowiki>  or other url, format <nowiki>*[fullurl Description]</nowiki>
#'''List of works''' (optional manually generated list)
#'''Works at CPDL''' (optional automatically generated list) – Remove {{tl|MultiPubList}} parameters not wanted, rearrange as needed, no spaces!<br><small>seq = Sequence no. in publication; pg = Page number(s) in publication; com = Composer; arr = Arranger; lyr = Lyricist; gen = Genre; subg = Subgenre; subg2 = Subgenre 2; yr = Year of (earliest) publication; lan = Language; first = First Line; instr = Instruments; met = Meter; vo = Number of voices; voices = Voices</small>
 
If more than one volume, edition, or part, see template {{tl|Volumes}}.
 


The source code pasted on the page is located at [[/Preload]]
The source code pasted on the page is located at [[/Preload]]


===See also===
'''See also:'''
*[[Template:New composer]]
*[[Template:New composer]]
*[[Template:New editor]]
*[[Template:New editor]]
Line 20: Line 33:
<nowiki>==General information==</nowiki>
<nowiki>==General information==</nowiki>


<nowiki>'''Title:'''</nowiki> <font color="red">''Short title, just like page title''</font>
<nowiki>'''Title:'''</nowiki>
 
<nowiki>'''Full title:'''</nowiki> <font color="red">''Full title, as on publication's title page''</font>


<nowiki>'''Editor - Compiler - Composer:'''</nowiki> <font color="red">&nbsp;&nbsp;&nbsp;}&nbsp;''Choose one or more roles; format'' <nowiki>[[Editor]]</nowiki></font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="red">&nbsp;}&nbsp;- CHOOSE ONE OF THESE LINES</font><br><nowiki>'''Editors - Compilers - Composers:'''</nowiki> <font color="red">}&nbsp;''Choose one or more roles; format'' <nowiki>[[Editor1]] and [[Editor2]]</nowiki></font>
<nowiki>'''Full title:'''</nowiki>


<nowiki>{{PubDatePlace|</nowiki><font color="red">''pubyear''</font><nowiki>|</nowiki> in <font color="red">''pubcity''</font> by <font color="red">''publisher''</font><nowiki>|&nbsp;}}</nowiki>
<nowiki>'''Editor - Compiler - Composer:'''</nowiki><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- CHOOSE ONE OF THESE LINES<br>
'''Editors - Compilers - Composers:'''


<nowiki>'''Description:'''</nowiki> <font color="red">''description of publication''</font>
<nowiki>{{PubDatePlace|</nowiki>


<nowiki>'''Description:'''</nowiki>


<nowiki>===References===</nowiki>
<nowiki>===References===</nowiki>
<nowiki>*</nowiki> <font color="red">''reference 1''</font> (optional)
<nowiki>*</nowiki> <font color="red">''reference 2''</font> (optional)


<nowiki>===External links===</nowiki>
<nowiki>===External links===</nowiki>


<nowiki>*{{IMSLP}}</nowiki> <font color="red">''or other url, format'' *[fullurl Description]</font>
<nowiki>*{{IMSLP}}</nowiki>
 
<nowiki>*<link 2></nowiki> <font color="red">''format'' *[fullurl Description]</font>


<nowiki>*<link 2></nowiki>


<nowiki>==List of works==</nowiki>
<nowiki>==List of works==</nowiki>
<font color="red">''Manually generated list''</font>


<nowiki>==Works at CPDL==</nowiki>
<nowiki>==Works at CPDL==</nowiki>


<nowiki>{{MultiPubList|seq,pg,com,arr,lyr,gen,subg,subg2,yr,lan,first,instr,met,vo,voices}}</nowiki> <font color="red">''remove parameters not wanted, no spaces!''</font>
<nowiki>{{MultiPubList|seq,pg,com,arr,lyr,gen,subg,subg2,yr,lan,first,instr,met,vo,voices}}</nowiki>
::<small>seq = Sequence no. in publication; pg = Page number(s) in publication; com = Composer; arr = Arranger; lyr = Lyricist; gen = Genre; subg = Subgenre; subg2 = Subgenre 2; yr = Year of (earliest) publication; lan = Language; first = First Line; instr = Instruments; met = Meter; vo = Number of voices; voices = Voices</small>
 


<nowiki>[[Category:Music publications]]</nowiki>
<nowiki>[[Category:Music publications]]</nowiki>

Revision as of 14:53, 22 August 2020

Documentation

This template is used to create the relevant code for a page for a new music publication. It must be substituted as explained below.

Usage
{{subst:newpublication}}

The page must be saved once the above code has been placed on it. Edit the page once again and the relevant code will be written out in full.

Add text and template parameters:

  1. Title: Short title, just like page title.
  2. Full title: Full title, as on publication's title page.
  3. Editor - Compiler - Composer: Choose one or more roles; format [[Editor]]
    ’’or’’ Editors - Compilers - Composers: Choose one or more roles; format [[Editor1]] and [[Editor2]]
  4. {{PubDatePlace| <pubyear>| in <pubcity> by <publisher>|&nbsp;}} – If manuscript, replace parameter 3 by Manuscript.
  5. Description: Description of publication.
  6. References (optional)
  7. External links *{{IMSLP}} or other url, format *[fullurl Description]
  8. List of works (optional manually generated list)
  9. Works at CPDL (optional automatically generated list) – Remove {{MultiPubList}} parameters not wanted, rearrange as needed, no spaces!
    seq = Sequence no. in publication; pg = Page number(s) in publication; com = Composer; arr = Arranger; lyr = Lyricist; gen = Genre; subg = Subgenre; subg2 = Subgenre 2; yr = Year of (earliest) publication; lan = Language; first = First Line; instr = Instruments; met = Meter; vo = Number of voices; voices = Voices

If more than one volume, edition, or part, see template {{Volumes}}.


The source code pasted on the page is located at /Preload

See also:

Inserted text

==General information==

'''Title:'''

'''Full title:'''

'''Editor - Compiler - Composer:'''
                                      - CHOOSE ONE OF THESE LINES
Editors - Compilers - Composers:

{{PubDatePlace|

'''Description:'''

===References===

===External links===

*{{IMSLP}}

*<link 2>

==List of works==

==Works at CPDL==

{{MultiPubList|seq,pg,com,arr,lyr,gen,subg,subg2,yr,lan,first,instr,met,vo,voices}}

[[Category:Music publications]]

{{DEFAULTSORT:{{WorkSorter|modified page name}}}}