Template:Cat: Difference between revisions

Want an adless experience? Log in or Create an account.
449 bytes removed ,  June 26, 2020
remove 'extra' param
(marked High Use)
(remove 'extra' param)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{High Use}}
<includeonly>{{#ifeq:{{{nocat}}}|true||[[Category:{{Trim|{{{1}}}}}|{{{2|{{PAGENAME}}}}}{{#if:{{{group|}}}|{{!}}{{{group}}}}}]]}}</includeonly><noinclude>
<includeonly><onlyinclude>[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]]</onlyinclude></includeonly>
{{Documentation}}
 
</noinclude>
==Purpose==
This template is used for categorizing pages.
 
==Usage==
To use this template, type: <b><nowiki>{{Cat|</nowiki></b><i> Category </i><b><nowiki>|</nowiki></b><i> Sorting Key </i> (Optional)<b><nowiki>}}</nowiki></b><br>
Where ''Category'' is the name of the category you want to sort a page into, and ''Sorting Key'' is an optional parameter if you want to change how a page is sorted. If you leave ''Sorting Key'' blank, it'll automatically sort the page correctly into the category.
 
 
{{Cat|Utility Templates}}