AgileApps Support Wiki Pre Release

Template:CategoryContents

From AgileApps Support Wiki

Transclude this template into a category-content page to create a TOC listing of the corresponding category.

Usage
{{CategoryContents}}
Optionally
Include in a single table to indent the list:
::{|
{{CategoryContents}}
|}
Example
The Settings page used to include this template to create a listing of Category:Settings entries.
Motivation
Each category listing contains two elements: A redirect to the corresponding content-page, and a declaration of the containing category:
    Category:Settings
       #REDIRECT [[Settings]]
       [[Category:Help]]

The redirect causes the content to be displayed when you click an entry in the category tree, rather than the category page (which defines the hierarchy). When the content page is large, that's all you want. But when the content is very small, you can use this template to pad it out.