Template:LargeWork: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{DisplayBox|title=Documentation|text=
{{DisplayBox|title=Documentation|text=
Displays a list of works by a composer that belong to a larger work.<br>
Displays a list of works by a composer that belong to a larger work.<br>
Syntax alternatives:
Syntax examples:
#{{tl|LargeWork}} — Shows Sacred music in Latin belonging to the composer on this page, in three columns
*{{tl|LargeWork}} — Shows Sacred music in Latin belonging to the composer on this page, in three columns
#{{tl|LargeWork|«Genre»|«Language»|«Link1»|cols{{=}}4}} — Shows «Genre» music in «Language» that link to the larger-work page «Link1», in four columns
*{{tl|LargeWork|«Genre»|«Language»|«Link1»|cols{{=}}4}} — Shows «Genre» music in «Language» that link to the larger-work page «Link1», in four columns
#{{tl|LargeWork|gen{{=}}«Genre»|cat1{{=}}«Cat1»|link1{{=}}«Link1»}} — shows «Genre» music in the category «Cat1» that link to the larger-work page «Link1»
*{{tl|LargeWork|Sacred|English|The Continental Harmony (William Billings)|cols{{=}}4}} — Shows sacred music that link to The Continental Harmony page, in four columns
*{{tl|LargeWork|gen{{=}}«Genre»|cat1{{=}}«Cat1»|link1{{=}}«Link1»}} — shows «Genre» music in the category «Cat1» that link to the larger-work page «Link1»


Parameters available are '''gen, lan, cat1, cat2, cat3, link1, link2, com''' (composer name), and '''cols'''. Defaults are:
Parameters available are '''gen, lan, cat1, cat2, cat3, link1, link2, com''' (composer name), and '''cols'''. Defaults are:

Revision as of 15:05, 24 June 2016


Documentation

Displays a list of works by a composer that belong to a larger work.
Syntax examples:

  • {{LargeWork}} — Shows Sacred music in Latin belonging to the composer on this page, in three columns
  • {{LargeWork|«Genre»|«Language»|«Link1»|cols=4}} — Shows «Genre» music in «Language» that link to the larger-work page «Link1», in four columns
  • {{LargeWork|Sacred|English|The Continental Harmony (William Billings)|cols=4}} — Shows sacred music that link to The Continental Harmony page, in four columns
  • {{LargeWork|gen=«Genre»|cat1=«Cat1»|link1=«Link1»}} — shows «Genre» music in the category «Cat1» that link to the larger-work page «Link1»

Parameters available are gen, lan, cat1, cat2, cat3, link1, link2, com (composer name), and cols. Defaults are:

  • gen – Sacred
  • lan – Latin
  • com – this page's name (must be a composer), specify only when the template is used on a page other than the composer
  • cols – 3 (must be an integer)

If parameters are not specified, they must be listed in the order {{LargeWork|«Genre»|«Language»|«Link1»|«Link2»|«Composer»|«Columns»}}. Not all parameters need be specified, so that {{LargeWork|Sacred|English|The Continental Harmony (William Billings)}} will still work.