Template:Songs category/doc
Appearance
This is a documentation subpage for Template:Songs category. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 8,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]- Normal
{{Songs category}}
- Special
{{Songs category|<article name>|display=<display name>|the=<any text>}}
The article name should only be specified if it is different from that in the category name. Per normal categorization rules this should rarely be the case.
The <display name>
is only needed if it is different from the article name, for example {{Songs category|Amazing Rhythm Aces|display=the Amazing Rhythm Aces}}
. Alternatively use the=
, for example {{Songs category|Amazing Rhythm Aces|the=yes}}
to provide an unlinked "the" before the band name.
Function
[edit]Adding the category to a "songs by artist" (e.g., [[Category:John Doe songs]]) category will do the following:
- Add the header This category contains songs by John Doe (where John Doe is the part of the category name preceding "songs".
- Add the hatnote See also [[Category:John Doe albums]], if such an albums category exists. The "John Doe" in the names of both the albums category and the songs category must be the same for this function to work.
- Add [[Category:Songs by artist]] as a parent category.
- Add [[Category:John Doe|Songs]] as a parent category, if such a category exists. The "John Doe" in the names of both the songs category and the parent category must be the same for this function to work.
See also
[edit]- {{Albums category}}