Difference between revisions of "Template:IMSLP2/doc"
imported>Michael Bednarek (Split documentation into subpage (Template:Documentation & Template:Documentation subpage; -Category:External link templates & Category:Music templates; +Category:Music external link templates.) |
imported>Michael Bednarek (+example for multiple works.) |
||
| Line 7: | Line 7: | ||
<nowiki>{{IMSLP2|id=name of the work as specified at IMSLP|cname=name to be displayed}}</nowiki> | <nowiki>{{IMSLP2|id=name of the work as specified at IMSLP|cname=name to be displayed}}</nowiki> | ||
{{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. | + | {{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 4 work pages can be linked with the optional parameters {{Para|id2}} {{Para|cname2}}; {{Para|id3}} {{Para|cname3}}; {{Para|id4}} {{Para|cname4}}. | ||
| − | |||
===Examples=== | ===Examples=== | ||
| − | + | ====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=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}</nowiki></tt> | ||
| Line 19: | Line 17: | ||
{{IMSLP2|id=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}} | {{IMSLP2|id=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}} | ||
| − | |||
====Multiple works==== | ====Multiple works==== | ||
;Code | ;Code | ||
| − | <tt><nowiki>{{IMSLP2|id= | + | <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> | ||
| + | |id2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2</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> | ||
;Result | ;Result | ||
| − | {{IMSLP2|id= | + | {{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}} | ||
| + | |||
===See also=== | ===See also=== | ||
*[[:Template:IMSLP]] | *[[:Template:IMSLP]] | ||
Revision as of 13:59, 24 September 2009
| 40px | This is a documentation subpage for Template:IMSLP2. It contains usage information, categories and other content that is not part of the original template page. |
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 4 work pages can be linked with the optional parameters |id2= |cname2=; |id3= |cname3=; |id4= |cname4=.
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