Difference between revisions of "Template:Cat main section/doc"

From LIMSWiki
Jump to navigationJump to search
(Created template to help with Categories.)
 
(Created redirect.)
 
Line 1: Line 1:
{{Documentation subpage}}
#REDIRECT [[Template:Category main section]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS 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.
 
:<code><nowiki>{{Category main section|article|section}}</nowiki></code>
 
The parameter <code>|article=no</code> changes "in the article" to "on the page" if the main page for the category is not an article.
 
:<code><nowiki>{{Category main section|article|section|article=no}}</nowiki></code>
 
==Example==
Using <code><nowiki>{{Category main section|Mathematics|History}}</nowiki></code> produces the following result
{{Category main section|Mathematics|History}}
 
==See also==
*{{tl|Cat main}}
*{{tl|Cat more}}
*{{tl|Cat exp}}
*[[Template:Hatnote templates documentation|Other uses templates documentation]] about hatnotes
 
<includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
[[Category:Category namespace templates]]
 
</includeonly>

Latest revision as of 23:29, 4 June 2011