Difference between revisions of "Template:IMSLP/doc"
imported>Yahia.barie (-) |
imported>Capmo (descr) |
||
| Line 6: | Line 6: | ||
<nowiki>{{IMSLP|id=composer's name as specified at IMSLP|cname=name to be displayed}}</nowiki> | <nowiki>{{IMSLP|id=composer's name as specified at IMSLP|cname=name to be displayed}}</nowiki> | ||
{{Para|id}} is the part behind the colon of the IMSLP composer category page.<br /> | {{Para|id}} is the part behind the colon of the IMSLP composer category page.<br /> | ||
| − | {{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; if not set, the page name is used.<br /> |
| + | {{Para|descr}} is an optional parameter for customizing the text displayed. If not informed, "Free scores" is used. | ||
===Examples=== | ===Examples=== | ||
Revision as of 20:48, 21 June 2015
| 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 at the International Music Score Library Project (IMSLP). A companion template for linking to IMSLP work pages is available as {{IMSLP2}}.
Usage
{{IMSLP|id=composer's name as specified at IMSLP|cname=name to be displayed}}
|id= 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.
Examples
- 1. Code
{{IMSLP|id=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)
- 2. Code
{{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}}
- or
{{IMSLP|Dvořák, Antonín}}
- Result
Free scores by Antonín Dvořák at the International Music Score Library Project (IMSLP)
See also