Difference between revisions of "Template:Albums category/doc"
blackwiki>Rich Farmbrough (→Usage) |
blackwiki>Rich Farmbrough (→Usage) |
||
| Line 19: | Line 19: | ||
Uses of the template with invalid type are listed at [[:Category:Albums category uses with invalid parameters]] under T. | Uses of the template with invalid type are listed at [[:Category:Albums category uses with invalid parameters]] under T. | ||
| − | '''discography''' will add a | + | '''discography''' will add a ''See also'' section linking to the discography. The link will be based on the category name, i.e. <cat name - albums> discography, so caution is needed. The link display takes account of <code>the</code> and <code>display</code> values if any. |
{{Albums category/type}} | {{Albums category/type}} | ||
Revision as of 19:55, 19 October 2012
| 40px | This is a documentation subpage for Template:Albums category. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- Normal
{{Albums category}}
- Special
{{Albums category|<article name>|display=<display name>|type=[compilation|soundtrack|...]|the=<any text>|discography=yes}}
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 form the article name, for example {{Albums category|London Symphony Orchestra|the London Symphony Orchestra|.... Alternatively use the= for example {{Albums category|London Symphony Orchestra|the =yes|.... to provide an unlinked "the" before the band name.
type will change the categorization of the category to allow for compilation, soundtrack, and EP categories etc.
Uses of the template with invalid type are listed at Category:Albums category uses with invalid parameters under T.
discography will add a See also section linking to the discography. The link will be based on the category name, i.e. <cat name - albums> discography, so caution is needed. The link display takes account of the and display values if any.