Template:IMSLP: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(new, based on wikipedia:Template:IMSLP)
 
m (Category:Templates)
Line 1: Line 1:
<includeonly>[[IMSLP:Category:{{{id}}}|Free scores by {{{cname|{{PAGENAME}}}}}]] in the [[ChoralWiki:IMSLP.org|Petrucci Music Library]] (IMSLP)</includeonly><noinclude>
<includeonly>[[IMSLP:Category:{{{id}}}|Free scores by {{{cname|{{PAGENAME}}}}}]] in the [[ChoralWiki:IMSLP.org|Petrucci Music Library]] (IMSLP)</includeonly><noinclude><!--
{{DisplayBox|bgcolor=g|text=
-->{{DisplayBox|bgcolor=g|text=
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 [[template:IMSLP2]].
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 [[template:IMSLP2]].


Line 22: Line 22:
*[[:Template:IMSLP2]]
*[[:Template:IMSLP2]]
}}
}}
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 20:03, 18 February 2010

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 template: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

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