Difference between revisions of "Template:IMSLP/doc"
imported>Jonesey95 |
imported>Michael Bednarek (mention 10 works; examples with |descr=.) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | This template is for linking to composer categories and work pages at the International Music Score Library Project (IMSLP). | + | This template is for linking to composer categories and work pages at the [[International Music Score Library Project]] (IMSLP). |
| − | === | + | ==Usage== |
| − | + | ===Composer=== | |
| − | + | <code><nowiki>{{IMSLP|author=composer's name as specified at IMSLP|cname=name to be displayed}}</nowiki></code> | |
| − | |||
| − | |||
| − | + | *{{Para|author}} is the part behind the colon of the IMSLP composer category page. | |
| − | {{Para| | + | *{{Para|cname}} is an optional parameter for the name to be displayed; if not set, the page name is used. |
| − | {{Para|cname}} is an optional parameter for the name to be displayed. | + | *{{Para|descr}} is an optional parameter for customizing the text displayed. If not informed, "Free scores" is used. |
| − | {{Para|descr}} is an optional parameter for customizing the text displayed. If not informed, " | ||
| − | === | + | ===Work=== |
| − | ====Author | + | <code><nowiki>{{IMSLP|work=name of the work as specified at IMSLP|cname=name to be displayed}}</nowiki></code> |
| − | + | ||
| − | <code><nowiki>{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}</nowiki></code> | + | *{{Para|work}} is the page name at IMSLP. |
| + | *{{Para|cname}} is an optional parameter for the name to be displayed. | ||
| + | *{{Para|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''': | ||
| + | :<code><nowiki>{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}</nowiki></code> | ||
:or | :or | ||
| − | <code><nowiki>{{IMSLP|Mozart, Wolfgang Amadeus}}</nowiki></code> | + | :<code><nowiki>{{IMSLP|Mozart, Wolfgang Amadeus}}</nowiki></code> |
| − | + | :'''Result''' | |
| − | {{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}} | + | :{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}} |
| − | + | ||
| − | <code><nowiki>{{IMSLP| | + | '''Using {{para|descr}}''' |
| − | : | + | :<code><nowiki>{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart|descr=Scores, incl. those from NMA,}}</nowiki></code> |
| − | <code><nowiki>{{IMSLP| | + | :'''Result''' |
| − | + | :{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart|descr=Scores, incl. those from NMA,}} | |
| − | {{IMSLP| | + | |
| + | ===Single work=== | ||
| + | '''Simple''' | ||
| + | :<code><nowiki>{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}</nowiki></code> | ||
| + | :'''Result''' | ||
| + | :{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}} | ||
| + | |||
| + | '''Using {{para|descr}}''' | ||
| + | :<code><nowiki>{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''|descr=Scores, incl. parts,}}</nowiki></code> | ||
| + | :'''Result''' | ||
| + | :{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''|descr=Scores, incl. parts,}} | ||
| − | ==== | + | ===Multiple works=== |
| − | + | Up to ten works can be shown with one template. | |
| − | |||
| − | |||
| − | |||
| − | + | '''Code''' | |
| − | |||
<code><nowiki>{{IMSLP</nowiki><br /><nowiki> | <code><nowiki>{{IMSLP</nowiki><br /><nowiki> | ||
|work=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1</nowiki><br /><nowiki> | |work=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1</nowiki><br /><nowiki> | ||
|work2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2</nowiki><br /><nowiki> | |work2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2</nowiki><br /><nowiki> | ||
|work3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}</nowiki></code> | |work3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}</nowiki></code> | ||
| − | + | ||
| + | '''Result''' | ||
| + | |||
{{IMSLP | {{IMSLP | ||
|work=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1 | |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 | |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}} | |work3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}} | ||
| + | |||
| + | ==Other IMSLP pages== | ||
| + | '''Code''' | ||
| + | :<code><nowiki>{{IMSLP|work=Category:Composer Composition Lists|cname=List of lists of composers with compositions}}</nowiki></code> | ||
| + | :'''Result''' | ||
| + | :{{IMSLP|work=Category:Composer Composition Lists|cname=List of lists of composers with compositions}} | ||
==Maintenance categories== | ==Maintenance categories== | ||
| Line 52: | Line 70: | ||
**for authors/composers: [[:Category:Composers with IMSLP links]] | **for authors/composers: [[:Category:Composers with IMSLP links]] | ||
**for works/compositions: [[:Category:Works with IMSLP links]] | **for works/compositions: [[:Category:Works with IMSLP links]] | ||
| − | |||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- CATEGORIES HERE, THANKS --> | <!-- CATEGORIES HERE, THANKS --> | ||
Latest revision as of 11:03, 11 July 2020
| This is a documentation subpage for Template:IMSLP. It contains usage information, categories and other content that is not part of the original template page. |
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