Template:IMSLP2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(rv)
(changed to choral examples)
Line 1: Line 1:
<includeonly>Free scores of [[imslp:{{{id}}}|{{{cname|{{PAGENAME}}}}}]]{{#if:{{{id2|}}}|, [[imslp:{{{id2}}}|{{{cname2}}}]]}}{{#if:{{{id3|}}}|, [[imslp:{{{id3}}}|{{{cname3}}}]]}}{{#if:{{{id4|}}}|, [[imslp:{{{id4}}}|{{{cname4}}}]]}} at the [[ChoralWiki:IMSLP / Petrucci Music Library|Petrucci Music Library]] (IMSLP)</includeonly><noinclude><!--
<includeonly>Free scores of [[imslp:{{{id}}}|{{{cname|{{PAGENAME}}}}}]]{{#if:{{{id2|}}}|, [[imslp:{{{id2}}}|{{{cname2}}}]]}}{{#if:{{{id3|}}}|, [[imslp:{{{id3}}}|{{{cname3}}}]]}}{{#if:{{{id4|}}}|, [[imslp:{{{id4}}}|{{{cname4}}}]]}} at the [[ChoralWiki:IMSLP / Petrucci Music Library|Petrucci Music Library]] (IMSLP)</includeonly><noinclude><!--
-->{{DisplayBox|bgcolor=g|text=
-->{{DisplayBox|bgcolor=g|text=
This template is for linking to work pages at the [[ChoralWiki:IMSLP / Petrucci Music Library|Petrucci Music Library]] (IMSLP). A companion template for linking to IMSLP composer categories is available as [[template:IMSLP|IMSLP]],
This template is for linking to work pages at the [[ChoralWiki:IMSLP / Petrucci Music Library|Petrucci Music Library]] (IMSLP). A companion template for linking to IMSLP composer categories is available as [[template:IMSLP|IMSLP]].


===Usage===
===Usage===
Line 19: Line 19:
;Code
;Code
<tt><nowiki>{{IMSLP2</nowiki><br /><nowiki>
<tt><nowiki>{{IMSLP2</nowiki><br /><nowiki>
|id=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1</nowiki><br /><nowiki>
|id=Jerusalem (Parry, Charles Hubert Hastings)|cname=''Jerusalem''</nowiki><br /><nowiki>
|id2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2</nowiki><br /><nowiki>
|id2=Voces Clamantium (Parry, Charles Hubert Hastings)|cname2=''Voces Clamantium''</nowiki><br /><nowiki>
|id3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}</nowiki></tt>
|id3=English Lyrics (Parry, Charles Hubert Hastings)|cname3=''English Lyrics''</nowiki><br /><nowiki>
|id4=England (Parry, Charles Hubert Hastings)|cname=''England'' by C. Hubert H. Parry}}</nowiki></tt>
;Result
;Result
{{IMSLP2
{{IMSLP2
|id=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1
|id=Jerusalem (Parry, Charles Hubert Hastings)|cname=''Jerusalem''
|id2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2
|id2=Voces Clamantium (Parry, Charles Hubert Hastings)|cname2=''Voces Clamantium''
|id3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}
|id3=English Lyrics (Parry, Charles Hubert Hastings)|cname3=''English Lyrics''
|id4=England (Parry, Charles Hubert Hastings)|cname4=''England'' by C. Hubert H. Parry}}


===See also===
===See also===

Revision as of 18:39, 12 March 2010

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