Template:IMSLP

From ChoralWiki
Revision as of 17:31, 6 April 2013 by Carlos (talk | contribs) (first parameter now optional)
Jump to navigation Jump to search

This template is for linking to composer categories at the Petrucci Music Library (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}}</nowiki>

|id= is the part behind the colon of the IMSLP composer category page. (id= is optional). If the composer name on CPDL and on IMSLP coincide (except for the last surname coming first), then this parameter is not required. Example: CPDL's Johann Sebastian Bach coincides with IMSLP's Bach, Johann Sebastian.
|cname= is an optional parameter for the name to be displayed; if not set, the page name is used.

Examples

Code

{{IMSLP|id=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}

Result

Free scores by Wolfgang Amadeus Mozart in the Petrucci Music Library (IMSLP)

Code

{{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}}

Result

Free scores by Antonín Dvořák in the Petrucci Music Library (IMSLP)

See also