Template:Cat: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(Created page with "<includeonly>{{#vardefine:TarCat|{{#ifeq:{{#explode:{{#vardefineecho:cat|{{{1|}}}}}|\|1}}|{{Void}}|{{#var:cat}}|{{#explode:{{#var:cat}}|\|0}} in {{Zelda|{{#explode:{{#var:cat}}|\...") |
(Making this usable for us.) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]]</includeonly><noinclude> | ||
==Purpose== | ==Purpose== | ||
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> | |||
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> |
Revision as of 15:49, October 16, 2011
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.