Difference between revisions of "Template:IMSLP2/doc"

From blackwiki
Jump to navigation Jump to search
(add pt interwiki)
imported>Graham87
(→‎Usage: add a fifth parameter)
Line 8: Line 8:
 
{{Para|id}} is the page name at IMSLP.<br />
 
{{Para|id}} is the page name at IMSLP.<br />
 
{{Para|cname}} is an optional parameter for the name to be displayed.<br />
 
{{Para|cname}} is an optional parameter for the name to be displayed.<br />
Up to 4 work pages can be linked with the optional parameters {{Para|id2}} {{Para|cname2}}; {{Para|id3}} {{Para|cname3}}; {{Para|id4}} {{Para|cname4}}.
+
Up to 5 work pages can be linked with the optional parameters {{Para|id2}} {{Para|cname2}}; {{Para|id3}} {{Para|cname3}}; {{Para|id4}} {{Para|cname4}}, {{Para|id5}} {{Para|cname5}}.
  
 
===Examples===
 
===Examples===

Revision as of 07:45, 8 October 2012

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 {{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 5 work pages can be linked with the optional parameters |id2= |cname2=; |id3= |cname3=; |id4= |cname4=, |id5= |cname5=.

Examples

Single work

Code

{{IMSLP2|id=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}

Result

Free scores by The Marriage of Figaro at the International Music Score Library Project (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 by Piano Trio No. 1 at the International Music Score Library Project (IMSLP)

See also