Template:CompCatTxt

From ChoralWiki
Revision as of 15:23, 25 April 2009 by CHGiffen (talk | contribs) (disable "complete=yes or no" parameter - completeness is ensured by Template:Composer)
Jump to navigation Jump to search

This category provides a list of [[{{{1}}} {{{2}}}]] works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself, [[{{{1}}} {{{2}}}|click here]].



Documentation

This template is for adding the generic descriptive information for compositions by composer categories. There are four parameters: the first two are required and the other two are optional.

Syntax eample, with the first two parameters only:

{{CompCatTxt|John|Ireland}}

which inserts

This category provides a list of [[John Ireland]] works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself, [[John Ireland|click here]].

into a file, appearing as

This category provides a list of John Ireland works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself, click here.

Syntax example with additional parameter: sort=<sortmethod>

{{CompCatTxt|John|Dowland|sort=publication}}

which inserts

This category provides a list of [[John Dowland]] works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself, with works sorted by publication, [[John Dowland|click here]].

into a file, appearing as

This category provides a list of John Dowland works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself, with works sorted by publication, click here.

Note: The discontinued parameter complete=yes (or no) now has no effect, since the Composer template keeps the lists provided by these "<Composer Name> compositions" categories up to date.