Difference between revisions of "Template:Category main section/doc"
Jump to navigation
Jump to search
imported>Mclay1 (→Usage: update) |
imported>Mclay1 m (clean-up) |
||
| Line 5: | Line 5: | ||
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. | 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. | ||
| − | :<code><nowiki>{{ | + | :<code><nowiki>{{Category main section|article|section}}</nowiki></code> |
If the main page for the category is not an article, "article" in the produced sentence can be changed to "page". | If the main page for the category is not an article, "article" in the produced sentence can be changed to "page". | ||
| − | :<code><nowiki>{{ | + | :<code><nowiki>{{Category main section|article|section|article=no}}</nowiki></code> |
==Example== | ==Example== | ||
| − | Using <code><nowiki>{{ | + | Using <code><nowiki>{{Category main section|Mathematics|History}}</nowiki></code> produces the following result |
| − | {{ | + | {{Category main section|Mathematics|History}} |
==See also== | ==See also== | ||
| Line 19: | Line 19: | ||
*{{tl|Cat more}} | *{{tl|Cat more}} | ||
*{{tl|Cat exp}} | *{{tl|Cat exp}} | ||
| − | * [[T:OU|Other uses templates documentation]] about hatnotes | + | *[[T:OU|Other uses templates documentation]] 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: | + | [[Category:Category namespace templates]] |
| − | [[Category: | + | [[Category:Cross-reference templates]] |
[[Category:Hatnote templates]] | [[Category:Hatnote templates]] | ||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 16:28, 28 January 2011
| 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}}
If the main page for the category is not an article, "article" in the produced sentence can be changed to "page".
{{Category main section|article|section|article=no}}
Example
Using {{Category main section|Mathematics|History}} produces the following result
See also
- {{Cat main}}
- {{Cat more}}
- {{Cat exp}}
- Other uses templates documentation about hatnotes