Template:Cat2

From ChoralWiki
Jump to navigation Jump to search

[[Category:{{{1}}}|]]

Documentation

This template categorizes a page in up to 6 categories, without displaying anything. It has one required parameter (the first target category) and one optional parameter (for providing a sort key for the categorization). This template is especially useful for categorizing a page into various categories using the same sort key.

Syntax, with the one required parameter:

{{Cat2|<category name>}}

which is equivalent to inserting into a page:

[[Category:<category name>]]

Syntax, with required and optional parameters:

{{Cat2|<1st category name>|<2nd category name>}}

which is equivalent to inserting into a page:

[[Category:<1st category name>]][[Category:<2nd category name>]]

Syntax, with sort key:

{{Cat2|<category name>|sort=<sort key>}}

which is equivalent to inserting into a page:

[[Category:<category name>|<sort key>]]

The category <category name> is referenced with the <sort key>.