Difference between revisions of "Template:Category main section"

From LIMSWiki
Jump to navigationJump to search
(Created template to help with Categories.)
m (Protected "Template:Category main section" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 00:00, 31 May 2013

[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