Difference between revisions of "Template:IMSLP/doc"
Jump to navigation
Jump to search
imported>Michael Bednarek (Split documentation into subpage (Template:Documentation & Template:Documentation subpage); -redundant Category:Music templates) |
imported>Capmo (expanded) |
||
| Line 9: | Line 9: | ||
===Examples=== | ===Examples=== | ||
| − | ;Code | + | ;1. Code |
<tt><nowiki>{{IMSLP|id=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}</nowiki></tt> | <tt><nowiki>{{IMSLP|id=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}</nowiki></tt> | ||
| − | ;Result | + | :or |
| + | <tt><nowiki>{{IMSLP|Mozart, Wolfgang Amadeus}}</nowiki></tt> | ||
| + | ;Result | ||
{{IMSLP|id=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}} | {{IMSLP|id=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}} | ||
| − | ;Code | + | ;2. Code |
<tt><nowiki>{{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}}</nowiki></tt> | <tt><nowiki>{{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}}</nowiki></tt> | ||
| − | ;Result | + | :or |
| + | <tt><nowiki>{{IMSLP|Dvořák, Antonín}}</nowiki></tt> | ||
| + | ;Result | ||
{{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}} | {{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}} | ||
Revision as of 01:26, 5 May 2010
| File:Edit-copy green.svg | 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.
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