Template:Songs category/doc
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. |
Usage
change- 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
changeAdding 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
change- {{Albums category}}