Template:Addtocategory: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
more info, add argument, example
Elf (talk | contribs)
conditional descr
Line 11: Line 11:


</noinclude>
</noinclude>
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:
The following is an automatically collected, alphabetic list of subcategories and articles that have been flagged as pertaining to {{ #if: {{{1|}}} | {{{1}}} | this category}}. 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:21, 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 this category. To add an article to this list, add the following to the end of the article:

[[Template:Addtocategory]]