Difference between revisions of "Template:Cat main/doc"
From A Wiki in the Desert
(Creating template documentation page for Cat main template) |
m |
||
Line 17: | Line 17: | ||
<includeonly>[[Category:Categories templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Categories templates|{{PAGENAME}}]]</includeonly> | ||
+ | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 18:22, 17 May 2021
This 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.
Usage
Normal usage (uses category name for wiki link):
- {{Cat main}} → The main article for this category is Cat main/doc.
If the name of the main article is different than the name of the category.
Multiple articles
Simply append more articles as additional arguments (up to five):
Pages which aren't articles
- {{Cat main|WP:WikiProject|article=no}} → The main page for this category is WP:WikiProject.