Template:CompCatTxt: Difference between revisions
Jump to navigation
Jump to search
Usage
(remove old documentation) |
m (removed extra brackets) |
||
Line 1: | Line 1: | ||
<includeonly>This category provides a list of [[{{#sub:{{PAGENAME}}||-13}}]] works on CPDL, sorted alphabetically by title of the works pages{{#if:{{{sort|}}}|. See the composer page for a list of works sorted by {{{sort}}}}}. | <includeonly>This category provides a list of [[{{#sub:{{PAGENAME}}||-13}}]] works on CPDL, sorted alphabetically by title of the works pages{{#if:{{{sort|}}}|. See the composer page for a list of works sorted by {{{sort}}}}}. | ||
__HIDDENCAT__ | |||
[[Category:Compositions by composer categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]] | [[Category:Compositions by composer categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]]</includeonly><noinclude> | ||
{{prot-temp}}<br> | {{prot-temp}}<br> | ||
{{DisplayBox|bgcolor=g|text= | {{DisplayBox|bgcolor=g|text= |
Revision as of 03:55, 3 September 2012
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. |
Syntax:
{{CompCatTxt}}
which inserts the text
- This category provides a list of <composer> works on CPDL, sorted alphabetically by title of the works pages.
The <composer> field is automatically extracted from the page name. The page is included in category Compositions by composer categories, sorted by <composer>'s last name.
Syntax with sort key:
{{CompCatTxt|Vaughan Williams, Ralph}}
which inserts the text
- This category provides a list of <composer> works on CPDL, sorted alphabetically by title of the works pages.
The <composer> field is automatically extracted from the category's name. The page is included in category Compositions by composer categories, using the sort key "Vaughan Williams, Ralph".
In both cases, the category link ("<composer>_compositions") becomes hidden in the works pages (because the information contained in it is supposedly in the same order than that found in the composer page).