Template:CompCatTxt: Difference between revisions
Jump to navigation
Jump to search
Usage
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#dplvar:set|conam|{{#sub:{{PAGENAME}}||-13}}}}This category provides a list of [[{{#dplvar:conam}}]] works on CPDL, sorted alphabetically by title of the works pages.{{#if:{{{sort|}}}| See [[{{#dplvar:conam}}|the composer page]] for a list of works sorted by {{{sort}}}.}} | <includeonly>{{#dplvar:set|conam|{{#sub:{{PAGENAME}}||-13}}}}This category provides a list of [[{{#dplvar:conam}}]] works on CPDL, sorted alphabetically by title of the works pages.{{#if:{{{sort|}}}| See [[{{#dplvar:conam}}|the composer page]] for a list of works sorted by {{{sort}}}.}} | ||
{{#ifexist:Category:{{#dplvar:conam}} arrangements|<hr>Following is a list of works, arranged by {{#sub:{{PAGENAME}}||-13}}, that are not shown below. (extracted from [[:Category:{{#dplvar:conam}} arrangements]]). | {{#ifexist:Category:{{#dplvar:conam}} arrangements|<hr>Following is a list of {{#dpl:category={{#dplvar:conam}} arrangements|notcategory={{#dplvar:conam}} compositions|namespace=|mode=userformat|resultsheader=%TOTALPAGES%}} works, arranged by {{#sub:{{PAGENAME}}||-13}}, that are not shown below. (extracted from [[:Category:{{#dplvar:conam}} arrangements]]). | ||
{{#dpl:category={{#dplvar:conam}} arrangements|notcategory={{#dplvar:conam}} compositions|namespace=|ordermethod=sortkey|columns=3}}}} | {{#dpl:category={{#dplvar:conam}} arrangements|notcategory={{#dplvar:conam}} compositions|namespace=|ordermethod=sortkey|columns=3}}}} | ||
<hr> | <hr> | ||
[[Category:Composer works categories|{{{1|{{NameSorter|{{#dplvar:conam}}}}}}}]]</includeonly><noinclude>{{prot-temp}}<br> | |||
[[Category:Composer works categories|{{{1|{{NameSorter|{{#dplvar:conam}}}}}}}]]</includeonly><noinclude> | |||
{{prot-temp}}<br> | |||
{{DisplayBox|bgcolor=g|text= | {{DisplayBox|bgcolor=g|text= | ||
<center><big>'''Usage'''</big></center> | <center><big>'''Usage'''</big></center> |
Latest revision as of 19:32, 18 July 2021
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 Composer works 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 Composer works 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).