Difference between revisions of "Template:Albumprod"
Jump to navigation
Jump to search
blackwiki>Koavf |
blackwiki>Koavf |
||
Line 1: | Line 1: | ||
{{Portal|Record production}} | {{Portal|Record production}} | ||
{{set category}} | {{set category}} | ||
− | {{hatnote|This category contains albums by {{#if:{{{the|}}}|the}} '''[[{{{1|}}}{{#if:{{{display|}}}|{{!}}{{{display}}}}}]]'''.}}{{#if:{{{2|}}}|({{{2}}}) | + | {{hatnote|This category contains albums by {{#if:{{{the|}}}|the}} '''[[{{{1|}}}{{#if:{{{display|}}}|{{!}}{{{display}}}}}]]'''.}}{{#if:{{{2|}}}|({{{2}}})}} |
{{Category other|[[Category:Albums by producer]]|}} | {{Category other|[[Category:Albums by producer]]|}} | ||
<noinclude>{{Documentation}} | <noinclude>{{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 01:11, 29 June 2020
This template creates a standardized way of making subcategories of Category:Albums by producer.
Usage example: {{albumprod|Scott Litt}}
produces:
See that live at Category:Albums produced by Scott Litt.
Things to do:
- Automatically detect name so that it doesn't have to be entered in field 1. (Use {{BASEPAGENAME}} somehow...?)
- Include default sorting (is this possible? Desirable?) Note that this also puts categories into Category:Set categories--maybe only sort within Category:Albums by producer and leave out defaultsort altogether)
- Include display names (using display= or 2=)
- Include parent categories where they exist (e.g. automatically include Category:Albums produced by Quincy Jones under Category:Quincy Jones)
The above documentation is transcluded from Template:Albumprod/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |