Template:Suppress categories/doc

This template was adapted from wikipedia.

See here for the original template documentation.

This template strips categories from wikitext. For example, if passed the code "foo[[Category:Some category]]", it will return only "foo". It can be used to strip categories from templates as well; if passed the code "{{my template}}", it will return the template output minus the categories.

Common Use Cases

  • Use this template on documentation pages for templates that apply a category - you can wrap your template example in {{suppress categories| }} to prevent it from showing up on the category list with other "real" pages.