GaryJJSpate (talk | contribs) Created page with "<includeonly> <div class="category-toc"> <div class="category-toc-header">CATEGORY INDEX</div> <div class="category-toc-content"> {{#ifexpr:{{PAGESINCATEGORY:{{FULLPAGENAME}}|pages}} > 0| {{CategoryTOC}} }} </div> </div> </includeonly> <noinclude> = Template:CategoryTOC = Creates a styled contents/index panel for category pages. The template is designed to provide a consistent navigation block showing the pages contained within a category. It is intended for use on m..." |
GaryJJSpate (talk | contribs) Update stale CategoryInfobox example/link to InfoboxCategory |
||
| Line 32: | Line 32: | ||
<pre> | <pre> | ||
{{ | {{InfoboxCategory | ||
| | |parent_categories=[[:Category:Locations|Locations]] | ||
| | |||
}} | }} | ||
| Line 62: | Line 60: | ||
== Related templates == | == Related templates == | ||
* [[Template: | * [[Template:InfoboxCategory]] | ||
* [[Template:TheVaultHeader]] | * [[Template:TheVaultHeader]] | ||
Latest revision as of 12:55, 5 August 2026
Template:CategoryTOC
Creates a styled contents/index panel for category pages.
The template is designed to provide a consistent navigation block showing the pages contained within a category.
It is intended for use on major archive categories within The Vault.
Usage
Add:
{{CategoryTOC}}
to a category page.
Example
{{InfoboxCategory
|parent_categories=[[:Category:Locations|Locations]]
}}
'''Haunted Locations''' contains articles about places associated with reported paranormal activity.
{{CategoryTOC}}
[[Category:Locations]]
Purpose
The template helps category pages:
- Present listings consistently.
- Provide a dedicated section for category contents.
- Improve navigation through large archive categories.
- Maintain the visual style of The Vault.
Notes
The template is intended for category pages only.
It should normally appear after the category description and before related categories.
Related templates
