Difference between revisions of "Template:Category main section"

From LIMSWiki
Jump to navigationJump to search
(Created template to help with Categories.)
m (Added cat.)
Line 3: Line 3:
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
{{Documentation}}
{{Documentation}}
[[Category:Category namespace templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 02:18, 5 June 2011

[edit] [purge] Template documentation

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