Template:IMSLP2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Category:Templates)
(change word order)
Line 1: Line 1:
<includeonly>[[imslp:{{{id}}}|{{{cname|{{PAGENAME}}}}}]]{{#if:{{{id2|}}}|, [[imslp:{{{id2}}}|{{{cname2}}}]]}}{{#if:{{{id3|}}}|, [[imslp:{{{id3}}}|{{{cname3}}}]]}}{{#if:{{{id4|}}}|, [[imslp:{{{id4}}}|{{{cname4}}}]]}}: Free scores at the [[ChoralWiki:IMSLP.org|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 International Music Score Library Project (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 12: Line 12:
====Single work====
====Single work====
;Code
;Code
<tt><nowiki>{{IMSLP2|id=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}</nowiki></tt>
<tt><nowiki>{{IMSLP2|id=Songs of the Sea, Op.91 (Stanford, Charles Villiers)|cname=''Songs of the Sea''}}</nowiki></tt>
;Result
;Result
{{IMSLP2|id=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}
{{IMSLP2|id=Songs of the Sea, Op.91 (Stanford, Charles Villiers)|cname=''Songs of the Sea''}}


====Multiple works====
====Multiple works====

Revision as of 18:29, 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=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1
|id2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2
|id3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}

Result

Free scores of Piano Trio No. 1, Piano Trio No. 2, Piano Trio No. 3 by Ludwig van Beethoven at the Petrucci Music Library (IMSLP)

See also