Difference between revisions of "Template:IMSLP2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Capmo
imported>Primefac
(updating documentation (deprecating template))
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
<!-- 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 work pages at the International Music Score Library Project (IMSLP). A companion template for linking to IMSLP composer categories is available as {{Tl|IMSLP}}.
+
{{deprecated template|IMSLP2|IMSLP|date=2015 January 4}}
 
 
===Usage===
 
<nowiki>{{IMSLP2|id=name of the work as specified at IMSLP|cname=name to be displayed}}</nowiki>
 
{{Para|id}} is the page name at IMSLP.<br />
 
{{Para|cname}} is an optional parameter for the name to be displayed.<br />
 
{{Para|descr}} is an optional parameter for customizing the text displayed. If not informed, "Scores" is used.<br />
 
 
 
Up to 5 work pages can be linked with the optional parameters {{Para|id2}} {{Para|cname2}}; {{Para|id3}} {{Para|cname3}}; {{Para|id4}} {{Para|cname4}}, {{Para|id5}} {{Para|cname5}}.
 
 
 
===Examples===
 
====Single work====
 
;Code
 
<tt><nowiki>{{IMSLP2|id=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}</nowiki></tt>
 
;Result
 
{{IMSLP2|id=Le Nozze di Figaro, K.492 (Mozart, Wolfgang Amadeus)|cname=''The Marriage of Figaro''}}
 
 
 
====Multiple works====
 
;Code
 
<tt><nowiki>{{IMSLP2</nowiki><br /><nowiki>
 
|id=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1</nowiki><br /><nowiki>
 
|id2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2</nowiki><br /><nowiki>
 
|id3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}</nowiki></tt>
 
;Result
 
{{IMSLP2
 
|id=Piano Trio No.1, Op.1 No.1 (Beethoven, Ludwig van)|cname=Piano Trio No. 1
 
|id2=Piano Trio No.2, Op.1 No.2 (Beethoven, Ludwig van)|cname2=Piano Trio No. 2
 
|id3=Piano Trio No.3, Op.1 No.3 (Beethoven, Ludwig van)|cname3=Piano Trio No. 3 by Ludwig van Beethoven}}
 
 
 
===See also===
 
*[[:Template:IMSLP]]
 
 
 
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Music external link templates|{{PAGENAME}}]]
 
  
 
</includeonly>
 
</includeonly>

Revision as of 17:02, 10 February 2016