Difference between revisions of "Template:IMSLP/doc"

From blackwiki
Jump to navigation Jump to search
imported>Michael Bednarek
imported>Michael Bednarek
(mention 10 works; examples with |descr=.)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS 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 {{Tl|IMSLP2}}.
+
This template is for linking to composer categories and work pages at the [[International Music Score Library Project]] (IMSLP).
  
===Usage===
+
==Usage==
<nowiki>{{IMSLP|id=composer's name as specified at IMSLP|cname=name to be displayed}}</nowiki>
+
===Composer===
{{Para|id}} is the part behind the colon of the IMSLP composer category page.<br />
+
<code><nowiki>{{IMSLP|author=composer's name as specified at IMSLP|cname=name to be displayed}}</nowiki></code>
{{Para|cname}} is an optional parameter for the name to be displayed; if not set, the page name is used.
 
  
===Examples===
+
*{{Para|author}} is the part behind the colon of the IMSLP composer category page.
;1. Code
+
*{{Para|cname}} is an optional parameter for the name to be displayed; if not set, the page name is used.
<tt><nowiki>{{IMSLP|id=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}</nowiki></tt>
+
*{{Para|descr}} is an optional parameter for customizing the text displayed. If not informed, "Free scores" is used.
 +
 
 +
===Work===
 +
<code><nowiki>{{IMSLP|work=name of the work as specified at IMSLP|cname=name to be displayed}}</nowiki></code>
 +
 
 +
*{{Para|work}} is the page name at IMSLP.
 +
*{{Para|cname}} is an optional parameter for the name to be displayed.
 +
*{{Para|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''':
 +
:<code><nowiki>{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}</nowiki></code>
 
:or
 
:or
<tt><nowiki>{{IMSLP|Mozart, Wolfgang Amadeus}}</nowiki></tt>
+
:<code><nowiki>{{IMSLP|Mozart, Wolfgang Amadeus}}</nowiki></code>
;Result
+
:'''Result'''
{{IMSLP|id=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}
+
:{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart}}
;2. Code
+
 
<tt><nowiki>{{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}}</nowiki></tt>
+
'''Using {{para|descr}}'''
:or
+
:<code><nowiki>{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart|descr=Scores, incl. those from NMA,}}</nowiki></code>
<tt><nowiki>{{IMSLP|Dvořák, Antonín}}</nowiki></tt>
+
:'''Result'''
;Result
+
:{{IMSLP|author=Mozart, Wolfgang Amadeus|cname=Wolfgang Amadeus Mozart|descr=Scores, incl. those from NMA,}}
{{IMSLP|id=Dvořák, Antonín|cname=Antonín Dvořák}}
+
 
 +
===Single work===
 +
'''Simple'''
 +
:<code><nowiki>{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}</nowiki></code>
 +
:'''Result'''
 +
:{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}
 +
 
 +
'''Using {{para|descr}}'''
 +
:<code><nowiki>{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''|descr=Scores, incl. parts,}}</nowiki></code>
 +
:'''Result'''
 +
:{{IMSLP|work=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''|descr=Scores, incl. parts,}}
 +
 
 +
===Multiple works===
 +
Up to ten works can be shown with one template.
 +
 
 +
'''Code'''
 +
<code><nowiki>{{IMSLP</nowiki><br /><nowiki>
 +
|work=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1</nowiki><br /><nowiki>
 +
|work2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2</nowiki><br /><nowiki>
 +
|work3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}</nowiki></code>
 +
 
 +
'''Result'''
 +
 
 +
{{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}}
  
===See also===
+
==Other IMSLP pages==
*[[:Template:IMSLP2]]
+
'''Code'''
 +
:<code><nowiki>{{IMSLP|work=Category:Composer Composition Lists|cname=List of lists of composers with compositions}}</nowiki></code>
 +
:'''Result'''
 +
:{{IMSLP|work=Category:Composer Composition Lists|cname=List of lists of composers with compositions}}
  
<includeonly>
+
==Maintenance categories==
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
This template places articles into two maintenance categories:
 +
*[[:Category:Articles with International Music Score Library Project links]]
 +
**for authors/composers: [[:Category:Composers with IMSLP links]]
 +
**for works/compositions: [[:Category:Works with IMSLP links]]
 +
<includeonly>{{Sandbox other||
 +
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Music external link templates|{{PAGENAME}}]]
 
[[Category:Music external link templates|{{PAGENAME}}]]
 
+
[[Category:Composer templates]]
[[cs:Šablona:IMSLP]]
+
}}</includeonly>
[[da:Skabelon:IMSLP]]
 
[[de:Vorlage:IMSLP]]
 
[[eo:Ŝablono:IMSLP]]
 
[[es:Plantilla:IMSLP]]
 
[[fr:Modèle:IMSLP]]
 
[[it:Template:IMSLP]]
 
[[ko:틀:IMSLP]]
 
[[mk:Шаблон:IMSLP]]
 
[[ms:Templat:IMSLP]]
 
[[nl:Sjabloon:Link IMSLP]]
 
[[ja:Template:IMSLP]]
 
[[no:Mal:IMSLP]]
 
[[nn:Mal:IMSLP]]
 
[[pl:Szablon:IMSLP]]
 
[[pt:Predefinição:IMSLP]]
 
[[ro:Format:IMSLP]]
 
[[ru:Шаблон:IMSLP]]
 
[[fi:Malline:IMSLP]]
 
[[sv:Mall:IMSLP]]
 
[[sw:Kigezo:IMSLP]]
 
[[uk:Шаблон:IMSLP]]
 
[[zh:Template:IMSLP]]
 
</includeonly>
 

Latest revision as of 11:03, 11 July 2020

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: