Help:Categories: Difference between revisions

Line 63: Line 63:


A red category link indicates that its page has not been created. A blue category link indicates that a page for that category exists.  
A red category link indicates that its page has not been created. A blue category link indicates that a page for that category exists.  
Categories are most powerful when included within templates. Let's look at the Spam template as an example. When a page is flagged with the spam template <nowiki>{{</nowiki>[[Template:Spam|Spam]]<nowiki>}}</nowiki>, that page is automatically filed in the [[Category:Spam|Spam category]] because it is declared within the template.
When you create a template, include the category within the <nowiki><includeonly></nowiki> tags <nowiki>[[</nowiki>Category:Category_name<nowiki>]]</nowiki>.
If you want to add another category or a category that doesn't need a template just add </nowiki>[[Category:Category_name]]</nowiki> to the page.


==Category Pages==
==Category Pages==
Confirmed users, Bureaucrats and Sysops emeriti
176

edits