Jump to content

Template:Songs category/doc

From Wikipedia, the free encyclopedia

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:

  1. Add the header This category contains songs by John Doe (where John Doe is the part of the category name preceding "songs".
  2. 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.
  3. Add [[Category:Songs by artist]] as a parent category.
  4. 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]