Template:CompCatTxt: Difference between revisions
Jump to navigation
Jump to search
Documentation
(added tests to check whether parameters are passed.) |
mNo edit summary |
||
Line 7: | Line 7: | ||
<center><big>'''Documentation'''</big></center> | <center><big>'''Documentation'''</big></center> | ||
This template is for adding the generic descriptive information for [[:Category:Compositions by composer|compositions by composer categories]]. There are | This template is for adding the generic descriptive information for [[:Category:Compositions by composer|compositions by composer categories]]. There are three parameters: the first two are required and the other is optional. | ||
'''Syntax example, with the first two parameters only:''' | '''Syntax example, with the first two parameters only:''' |
Revision as of 12:15, 28 April 2009
This category provides a list of [[]] works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself, [[|click here]].
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
This template is for adding the generic descriptive information for compositions by composer categories. There are three parameters: the first two are required and the other is optional.
Syntax example, 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.