Difference between revisions of "Template:IMSLP"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Changed protection level for "Template:IMSLP": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>Headbomb
(ce)
 
Line 1: Line 1:
 
<includeonly>{{#if:{{{1|{{{id|{{{author|}}}}}}}}}|[[scores:Category:{{{1|{{{id|{{{author}}}}}}}}}|{{{descr|Free scores}}} by {{{2|{{{cname|{{PAGENAME}}}}}}}}]] at the [[International Music Score Library Project]] (IMSLP){{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Composers with IMSLP links]]}}}}<!--
 
<includeonly>{{#if:{{{1|{{{id|{{{author|}}}}}}}}}|[[scores:Category:{{{1|{{{id|{{{author}}}}}}}}}|{{{descr|Free scores}}} by {{{2|{{{cname|{{PAGENAME}}}}}}}}]] at the [[International Music Score Library Project]] (IMSLP){{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Composers with IMSLP links]]}}}}<!--
  
-->{{#if:{{{work|}}}|[[scores:{{{work}}}|{{{cname|{{PAGENAME}}}}}]]{{#if:{{{work2|}}}|, [[scores:{{{work2}}}|{{{cname2}}}]]}}{{#if:{{{work3|}}}|, [[scores:{{{work3}}}|{{{cname3}}}]]}}{{#if:{{{work4|}}}|, [[scores:{{{work4}}}|{{{cname4}}}]]}}{{#if:{{{work5|}}}|, [[scores:{{{work5}}}|{{{cname5}}}]]}}{{#if:{{{work6|}}}|, [[scores:{{{work6}}}|{{{cname6}}}]]}}{{#if:{{{work7|}}}|, [[scores:{{{work7}}}|{{{cname7}}}]]}}{{#if:{{{work8|}}}|, [[scores:{{{work8}}}|{{{cname8}}}]]}}{{#if:{{{work9|}}}|, [[scores:{{{work9}}}|{{{cname9}}}]]}}{{#if:{{{work10|}}}|, [[scores:{{{work10}}}|{{{cname10}}}]]}}: {{{descr|Scores}}} at the [[International Music Score Library Project]] (IMSLP){{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Works with IMSLP links]]}}}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with International Music Score Library Project links]]|}}</includeonly><noinclude>
+
-->{{#if:{{{work|}}}|[[scores:{{{work}}}|{{{cname|{{PAGENAME}}}}}]]{{#if:{{{work2|}}}|, [[scores:{{{work2}}}|{{{cname2}}}]]}}{{#if:{{{work3|}}}|, [[scores:{{{work3}}}|{{{cname3}}}]]}}{{#if:{{{work4|}}}|, [[scores:{{{work4}}}|{{{cname4}}}]]}}{{#if:{{{work5|}}}|, [[scores:{{{work5}}}|{{{cname5}}}]]}}{{#if:{{{work6|}}}|, [[scores:{{{work6}}}|{{{cname6}}}]]}}{{#if:{{{work7|}}}|, [[scores:{{{work7}}}|{{{cname7}}}]]}}{{#if:{{{work8|}}}|, [[scores:{{{work8}}}|{{{cname8}}}]]}}{{#if:{{{work9|}}}|, [[scores:{{{work9}}}|{{{cname9}}}]]}}{{#if:{{{work10|}}}|, [[scores:{{{work10}}}|{{{cname10}}}]]}}: {{{descr|Scores}}} at the [[International Music Score Library Project]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Works with IMSLP links]]}}}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with International Music Score Library Project links]]|}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:58, 21 October 2020

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
Free scores by Wolfgang Amadeus Mozart at the International Music Score Library Project (IMSLP)

Using |descr=

{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart|descr=Scores, incl. those from NMA,}}
Result
Scores, incl. those from NMA, by Wolfgang Amadeus Mozart at the International Music Score Library Project (IMSLP)

Single work

Simple

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

Piano Trio No. 1, Piano Trio No. 2, Piano Trio No. 3 by Ludwig van Beethoven: Scores 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
List of lists of composers with compositions: Scores at the International Music Score Library Project

Maintenance categories

This template places articles into two maintenance categories: