Template:CompCatTxt: Difference between revisions
Jump to navigation
Jump to search
Usage
(Category: header templates) |
mNo edit summary |
||
Line 7: | Line 7: | ||
'''Syntax:''' | '''Syntax:''' | ||
{{tl|CompCatTxt}} | :{{tl|CompCatTxt}} | ||
which inserts the text | which inserts the text | ||
:This category provides a list of ''<composer>'' works on CPDL, sorted alphabetically by title of the works pages. | :This category provides a list of ''<composer>'' works on CPDL, sorted alphabetically by title of the works pages. | ||
Line 13: | Line 13: | ||
'''Syntax with sort key:''' | '''Syntax with sort key:''' | ||
{{tl|CompCatTxt|Vaughan Williams, Ralph}} | :{{tl|CompCatTxt|Vaughan Williams, Ralph}} | ||
which inserts the text | which inserts the text | ||
:This category provides a list of ''<composer>'' works on CPDL, sorted alphabetically by title of the works pages. | :This category provides a list of ''<composer>'' works on CPDL, sorted alphabetically by title of the works pages. | ||
Line 21: | Line 21: | ||
}} | }} | ||
[[Category:Category | [[Category:Category header templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:25, 12 May 2013
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).