Template:Cat main/doc
This is a documentation subpage for Template:Cat main. It contains usage information, categories and other content that is not part of the original Template page. |
Usage
editThis template is for use on Category pages, to refer to the primary article associated with this category, which most of the time, describes the entire set containing the category.
Normal usage (uses category name for wiki link):
- {{Cat main|Template:Cat main}} → The main article for this category is Template:Cat main.
If the name of the main article is different than the name of the category.
Multiple articles
editSimply append more articles as additional arguments (up to five):
- {{Cat main|Main Page}} results in
- {{Cat main|Main Page|MediaWiki}} results in
- {{Cat main|Main Page|MediaWiki|MediaWiki|MediaWiki|MediaWiki}} results in
Pages which aren't articles
edit- {{Cat main|w:WP:WikiProject|article=no}} → The main page for this category is w:WP:WikiProject.