Template:IMSLP2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(changed to choral examples)
(External link templates)
Line 4: Line 4:


===Usage===
===Usage===
<nowiki>{{IMSLP2|id=name of the work as specified at IMSLP|cname=name to be displayed}}</nowiki>
{{tl|IMSLP2|2=id=name of the work as specified at IMSLP|3=cname=name to be displayed}}
<code>{{!}}id=</code> is the page name at IMSLP.<br />
:{{para|id}} is the page name at IMSLP.<br />
<code>{{!}}cname=</code> is an optional parameter for the name to be displayed.<br />
:{{para|cname}} is an optional parameter for the name to be displayed.
Up to 4 work pages can be linked with the optional parameters <code>{{!}}id2=</code> <code>{{!}}cname2=</code>; <code>{{!}}id3=</code> <code>{{!}}cname3=</code>; <code>{{!}}id4=</code> <code>{{!}}cname4=</code>.
Up to 4 work pages can be linked with the optional parameters {{para|id2}} {{para|cname2}}; {{para|id3}} {{para|cname3}}; {{para|id4}} {{para|cname4}}.


===Examples===
===Examples===
Line 31: Line 31:


===See also===
===See also===
*[[:Template:IMSLP]]
*{{tl|IMSLP}}
*{{tl|IMSLPComp}}
}}
}}
[[Category:Templates|{{PAGENAME}}]]
[[Category:External link templates]]
</noinclude>
</noinclude>

Revision as of 02:47, 19 February 2013

This template is for linking to work pages at the Petrucci Music Library (IMSLP). A companion template for linking to IMSLP composer categories is available as IMSLP.

Usage

{{IMSLP2|id=name of the work as specified at IMSLP|cname=name to be displayed}}

|id= is the page name at IMSLP.
|cname= is an optional parameter for the name to be displayed.

Up to 4 work pages can be linked with the optional parameters |id2= |cname2=; |id3= |cname3=; |id4= |cname4=.

Examples

Single work

Code

{{IMSLP2|id=Songs of the Sea, Op.91 (Stanford, Charles Villiers)|cname=''Songs of the Sea''}}

Result

Free scores of Songs of the Sea at the Petrucci Music Library (IMSLP)

Multiple works

Code

{{IMSLP2
|id=Jerusalem (Parry, Charles Hubert Hastings)|cname=''Jerusalem''
|id2=Voces Clamantium (Parry, Charles Hubert Hastings)|cname2=''Voces Clamantium''
|id3=English Lyrics (Parry, Charles Hubert Hastings)|cname3=''English Lyrics''
|id4=England (Parry, Charles Hubert Hastings)|cname=''England'' by C. Hubert H. Parry}}

Result

Free scores of Jerusalem, Voces Clamantium, English Lyrics, England by C. Hubert H. Parry at the Petrucci Music Library (IMSLP)

See also