Template:Addtocategory: Difference between revisions
Jump to navigation
Jump to search
usage info |
more info, add argument, example |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>''Usage:'' | ||
Usage: | |||
Use this template in a category page to explain how to add articles to that category. To included this template, add the following to the category page: | Use this template in a category page to explain how to add articles to that category. To included this template, add the following to the category page: | ||
<nowiki>{{addtocategory}}</nowiki> | <nowiki>{{addtocategory|</nowiki>''description''}} | ||
For example: | |||
<nowiki>{{addtocategory|</nowiki>''description''}} | |||
This displays the following in the category page (automatically replacing "Template:Addtocategory" with the correct category name): | This displays the following in the category page (automatically replacing "Template:Addtocategory" with the correct category name): | ||
</noinclude> | </noinclude> | ||
To add an article to this list, | The following is an automatically collected, alphabetic list of subcategories and articles that have been flagged as pertaining to {{{$1}}}. To add an article to this list, add the following to the end of the article: | ||
<nowiki>[[</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki> | <nowiki>[[</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki> |
Revision as of 01:19, 31 May 2007
Usage:
Use this template in a category page to explain how to add articles to that category. To included this template, add the following to the category page:
{{addtocategory|description}}
For example:
{{addtocategory|description}}
This displays the following in the category page (automatically replacing "Template:Addtocategory" with the correct category name):
The following is an automatically collected, alphabetic list of subcategories and articles that have been flagged as pertaining to {{{$1}}}. To add an article to this list, add the following to the end of the article:
[[Template:Addtocategory]]