|
|
Line 70: |
Line 70: |
| Category pages should only include: | | Category pages should only include: |
|
| |
|
| * a brief definition
| | ;a brief definition |
|
| |
|
| * its purpose
| | ;its purpose |
|
| |
|
| * an example
| | ;an example |
| | |
| 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.
| |
| In both instances, a Category page will be generated. Search for it and save it. Describe the category and its function.
| |
|
| |
|
| =How to Add an Existing Category= | | =How to Add an Existing Category= |