Difference between revisions of "Template:Category main section/doc"
Jump to navigation
Jump to search
imported>DePiep (point to hatnotes in general) |
imported>Jdaloner (Removed tag for "Category namespace templates" category since the template is already tagged for its "Hatnote templates for category pages" subcategory. Expanded "See also" entry for "Category explanation" template.) |
||
| Line 18: | Line 18: | ||
*{{tl|Cat main}} | *{{tl|Cat main}} | ||
*{{tl|Cat more}} | *{{tl|Cat more}} | ||
| − | *{{tl| | + | *{{tl|Category explanation}} |
*[[WP:HAT]] about hatnotes | *[[WP:HAT]] about hatnotes | ||
<includeonly> | <includeonly> | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --> | ||
| − | |||
[[Category:Cross-reference templates]] | [[Category:Cross-reference templates]] | ||
[[Category:Hatnote templates for category pages]] | [[Category:Hatnote templates for category pages]] | ||
</includeonly> | </includeonly> | ||
Revision as of 03:43, 26 July 2014
| This is a documentation subpage for Template:Category main section. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is for use on category pages to refer to the primary section within an article associated with this category, which most of the time describes the entire set containing the category.
{{Category main section|article|section}}
The parameter |article=no changes "in the article" to "on the page" if the main page for the category is not an article.
{{Category main section|article|section|article=no}}
Example
Using {{Category main section|Mathematics|History}} produces the following result
See also
- {{Cat main}}
- {{Cat more}}
- {{Category explanation}}
- WP:HAT about hatnotes