Template:IMSLP/sandbox
| This is the template sandbox page for Template:IMSLP (diff). See also the companion subpage for test cases. |
This template is for linking to composer categories and work pages at the International Music Score Library Project (IMSLP).
Contents
Usage
Composer
{{IMSLP|author=composer's name as specified at IMSLP|cname=name to be displayed}}
|author=is the part behind the colon of the IMSLP composer category page.|cname=is an optional parameter for the name to be displayed; if not set, the page name is used.|descr=is an optional parameter for customizing the text displayed. If not informed, "Free scores" is used.
Work
{{IMSLP|work=name of the work as specified at IMSLP|cname=name to be displayed}}
|work=is the page name at IMSLP.|cname=is an optional parameter for the name to be displayed.|descr=is an optional parameter for customizing the text displayed. If not specified, "Free scores" is used for authors, "Scores" for works is used.
Examples
Author
Simple:
{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}- or
{{IMSLP|Mozart, Wolfgang Amadeus}}- Result
- Free scores by Wolfgang Amadeus Mozart at the International Music Score Library Project (IMSLP)
Using |descr=
{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart|descr=Scores, incl. those from NMA,}}- Result
- Scores, incl. those from NMA, by Wolfgang Amadeus Mozart at the International Music Score Library Project (IMSLP)
Single work
Simple
{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}- Result
- The Marriage of Figaro: Scores at the International Music Score Library Project
Using |descr=
{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''|descr=Scores, incl. parts,}}- Result
- The Marriage of Figaro: Scores, incl. parts, at the International Music Score Library Project
Multiple works
Up to ten works can be shown with one template.
Code
{{IMSLP
|work=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1
|work2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2
|work3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}
Result
Piano Trio No. 1, Piano Trio No. 2, Piano Trio No. 3 by Ludwig van Beethoven: Scores at the International Music Score Library Project
Other IMSLP pages
Code
{{IMSLP|work=Category:Composer Composition Lists|cname=List of lists of composers with compositions}}- Result
- List of lists of composers with compositions: Scores at the International Music Score Library Project
Maintenance categories
This template places articles into two maintenance categories:
- Category:Articles with International Music Score Library Project links
- for authors/composers: Category:Composers with IMSLP links
- for works/compositions: Category:Works with IMSLP links
| The above documentation is transcluded from Template:IMSLP/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |