Template:Suppress categories/doc

Revision as of 07:17, 4 April 2022 by Plutovi (talk | contribs) (Category:Template documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.