Template:WPBannerMeta/hooks/cats/doc

Syntax
<syntaxhighlight lang="wikitext" style="font-size:90%">

Soft redirect to:Module:WikiProject banner/doc
This page is a soft redirect.__EXPECTUNUSEDTEMPLATE__

...

}} </syntaxhighlight>

This hook allows you to add up to ten optional categories, that will be added to a page if a particular parameter is defined. Each category will be added if the corresponding parameter is non-empty. This template displays no visible output, so it can be put anywhere in the template code; common practice is to put it attached to a task force hook, such as |TF_n_HOOK=.