Difference between revisions of "Template:IMSLP"

From blackwiki
Jump to navigation Jump to search
imported>Martijn Hoekstra
imported>Capmo
(allow for the customization of the text)
Line 1: Line 1:
<includeonly>[[scores:Category:{{{1|{{{id}}}}}}|Free scores by {{{2|{{{cname|{{PAGENAME}}}}}}}}]] at the [[International Music Score Library Project]]</includeonly><noinclude>
+
<includeonly>[[scores:Category:{{{1|{{{id}}}}}}|{{{descr|Free scores}}} by {{{2|{{{cname|{{PAGENAME}}}}}}}}]] at the [[International Music Score Library Project]]</includeonly><noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 20:47, 21 June 2015

Template documentation[view] [edit] [history] [purge]

This template is for linking to composer categories and work pages at the International Music Score Library Project (IMSLP).

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
[[scores:Category:{{{id}}}|Free scores by Wolfgang Amadeus Mozart]] at the International Music Score Library Project

Using |descr=

{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart|descr=Scores, incl. those from NMA,}}
Result
[[scores:Category:{{{id}}}|Scores, incl. those from NMA, by Wolfgang Amadeus Mozart]] at the International Music Score Library Project

Single work

Simple

{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}
Result
[[scores:Category:{{{id}}}|Free scores by The Marriage of Figaro]] 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
[[scores:Category:{{{id}}}|Scores, incl. parts, by The Marriage of Figaro]] 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

[[scores:Category:{{{id}}}|Free scores by Piano Trio No. 1]] 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
[[scores:Category:{{{id}}}|Free scores by List of lists of composers with compositions]] at the International Music Score Library Project

Maintenance categories

This template places articles into two maintenance categories: