Template:CompCatTxt: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (oops) |
(text to be displayed in the hidden categories) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}| | <includeonly>{{#if:{{{2|}}}| | ||
This category provides a list of [[{{{1}}} {{{2}}}]] works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself{{#if:{{{sort|}}}|, with works sorted by {{{sort}}},|,}} [[{{{1}}} {{{2}}}|click here]]. | This category provides a list of [[{{{1}}} {{{2}}}]] works on CPDL, sorted alphabetically by title of the works pages. For the composer page itself{{#if:{{{sort|}}}|, with works sorted by {{{sort}}},|,}} [[{{{1}}} {{{2}}}|click here]]. | ||
[[Category:Compositions by composer|{{{2}}}, {{{1}}}]] | [[Category:Compositions by composer|{{{2}}}, {{{1}}}]] | ||
|[[Category:Hidden Compositions by composer categories|{{{1|{{LastName|{{#sub:{{PAGENAME}}||-13}}}} }}}]] __HIDDENCAT__ }}</includeonly><noinclude> | |This category provides a list of [[{{#sub:{{PAGENAME}}||-13}}]] works on CPDL, sorted alphabetically by title of the works pages. | ||
[[Category:Hidden Compositions by composer categories|{{{1|{{LastName|{{#sub:{{PAGENAME}}||-13}}}} }}}]] __HIDDENCAT__ }}</includeonly><noinclude> | |||
{{prot-temp}}<br> | {{prot-temp}}<br> | ||
<div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> | <div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> |
Revision as of 02:19, 1 May 2009
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.