Actions

Template

Template category/doc

From Joomla! Documentation

< Template:Template category
Revision as of 03:14, 11 May 2008 by CirTap (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Template category.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Template category.

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