Template:CompCatTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(tweaks and revise documentation to reflect parameter changes)
mNo edit summary
Line 38: Line 38:


:This category provides a complete list of the works on CPDL by John Ireland, sorted alphabetically by title of the works pages. For the composer page itself, <font color=blue>click here</font>.
:This category provides a complete list of the works on CPDL by John Ireland, sorted alphabetically by title of the works pages. For the composer page itself, <font color=blue>click here</font>.
1
 
'''To summarize:'''  Omitting sort=<sortmethod> leaves out the phrase "with works sorted by <sortmethod>," - and either omitting complete=yes or setting complete=no makes the description start "This category provides a partial list..." = while setting complete=yes makes the description start "This category provide a complete list..."
'''To summarize:'''  Omitting sort=<sortmethod> leaves out the phrase "with works sorted by <sortmethod>," - and either omitting complete=yes or setting complete=no makes the description start "This category provides a partial list..." = while setting complete=yes makes the description start "This category provide a complete list..."
</div>
</div>

Revision as of 12:38, 12 September 2008

This category provides a partial list of the works on CPDL by <composer given name(s)> <composer surname>, 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 partial list of the works on CPDL by John Dowland, 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 partial list of the works on CPDL by John Ireland, sorted alphabetically by title of the works pages. For the composer page itself, click here.

Syntax examples, with additional parameters: sort=<sortmethod>, complete=yes/no (default=no)

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

which inserts

This category provides a partial list of the works on CPDL by John Dowland, 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 partial list of the works on CPDL by John Dowland, sorted alphabetically by title of the works pages. For the composer page itself, with works sorted by publication, click here.
{{CompCatTxt|John|Dowland|sort=publication|complete=yes}}

which inserts

This category provides a complete list of the works on CPDL by John Dowland, 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 complete list of the works on CPDL by John Dowland, sorted alphabetically by title of the works pages. For the composer page itself, with works sorted by publication, click here.
{{CompCatTxt|John|Ireland|complete=yes}}

which inserts

This category provides a complete list of the works on CPDL by John Dowland, 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 complete list of the works on CPDL by John Ireland, sorted alphabetically by title of the works pages. For the composer page itself, click here.

To summarize: Omitting sort=<sortmethod> leaves out the phrase "with works sorted by <sortmethod>," - and either omitting complete=yes or setting complete=no makes the description start "This category provides a partial list..." = while setting complete=yes makes the description start "This category provide a complete list..."