Template category

From Joomla! Documentation

Revision as of 21:15, 27 August 2012 by Tom Hutchison (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[view] [edit] [history]

Template-info.pngTemplate documentation

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


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.


{{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