Template:Template:ContentOnly

is a template used commonly inside of templates to make categories only show up when used on a content page. It makes use of a template if it exists (normally only when the wiki has custom namespaces; Use Template:isContent as a base if your wiki needs the template), and if not works only in the main namespace.

Usage

 * Content page text is the text, or category WikiText that should only show up when on a content page.
 * Not content page text is some alternate text that should be outputted when not on a content page.