Template:IMSLP/doc
This is a documentation subpage for Template:IMSLP. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 8,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is for linking to composer categories and work pages at the International Music Score Library Project (IMSLP).
Usage
[edit]Composer
[edit]{{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
[edit]{{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
[edit]Author
[edit]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
[edit]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
[edit]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
[edit]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
[edit]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