category2
Attributes:
- title="boolean" • Whether to output category title, rather than name. Available values: 1 (yes) or 0 (no, output name). Default is 0 (no).
- link="boolean" • Whether to link to articles from the same category. Available values: 1 (yes) or 0 (no). Default is 0 (no).
- section="section name" • Only link to articles from the specified section. Default is unset.
- this_section="boolean" • Whether to only link to articles from the section containing the current article. Available values: 1 (yes) or 0 (no). Default is 0 (no, allow from any section).
- class="class name" • (X)HTML class attribute to be applied to wraptag. Default is unset.
- wraptag="tag" • (X)HTML tag (without brackets) to wrap around output. Default is unset.
Behaviors:
The category2 tag can be used as either a single or container tag. It will display information for the category defined by Cat2 of the article being displayed. When used as a container tag, it will turn the contents into a link to that category.