Template:Cat: Difference between revisions

Want an adless experience? Log in or Create an account.
451 bytes removed ,  June 26, 2020
remove 'extra' param
(Making this usable for us.)
(remove 'extra' param)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]]</includeonly><noinclude>
<includeonly>{{#ifeq:{{{nocat}}}|true||[[Category:{{Trim|{{{1}}}}}|{{{2|{{PAGENAME}}}}}{{#if:{{{group|}}}|{{!}}{{{group}}}}}]]}}</includeonly><noinclude>
==Purpose==
{{Documentation}}
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.
[[Category:Formatting Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>