Template:Cat: Difference between revisions
m (Protected "Template:Cat": Widely used page: Used too much to be open for editing. ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m (moved from Formatting to Utility category) |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]]</includeonly> | <includeonly>[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]]</includeonly> | ||
==Purpose== | ==Purpose== | ||
This template is used for categorizing pages. | This template is used for categorizing pages. | ||
==Usage== | ==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> | 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. | 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}} |
Revision as of 20:03, July 28, 2012
Purpose
This template is used for categorizing pages.
Usage
To use this template, type: {{Cat| Category | Sorting Key (Optional)}}
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.
Purpose
This template is used for categorizing pages.
Usage
To use this template, type: {{Cat| Category | Sorting Key (Optional)}}
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.
Template loop detected: Template:Cat