Template

Template:Template category

From Joomla! Documentation

[view] [edit] [history]

Template documentation


Use {{template category}} at the top of categories containing pages in the template namespace (for example, Category:Link templates).

Functions/Features

The upper part of this message box uses {{for}} to link to the Joomla! Templates category. The description and output of the usage notice can be replaced via parameters.

If the help parameter is not given, the template automatically explains to readers how to add a template to the category. Specify your own help instructions to override the default. You may also set additional description of the category that will appear beneath the box.

The optional parameter small (when any value specified) makes the messagebox small and right-floating. The default help messages will be reworded to fit into the narrow box.

Usage

{{template category|description|help|small}}

Standard box with alternative texts

{{template category
| description = supplemental description
| help = alternative help text
}}

Narrow box

{{template category|small=yes}}

See also