Code Monkeys Wiki
Advertisement

Templates used on category pages.

Using this category[]

To put a template in Category:Category templates:

  • Use <noinclude>[[Category:Category templates|{{PAGENAME}}]]</noinclude> on the template page. The "<noinclude>" tags are necessary to prevent categorizing all pages using the template in the template category! Please also note the |{{PAGENAME}}. It helps with indexing, especially if the template name changes. It also causes the template to be indexed by its name starting after "Template:".
  • If your template is meant to be used in-line, try and make sure that there are as few line feeds (breaks, whitespace, etc.) as possible.
  • Remember that a template can be put in multiple categories if it belongs to them all!
  • Or, if this is not quite the right category, go back to Category:Templates and try to find a better suited subcategory.

All items (3)

Advertisement