Extension:TagContent

TagContent is an extension to define tags that wrap some content in a predefined template, usually for higher readabillity.

Installation

 * 1) Download TagContent.php and TagContent.i18n.php, and save them in extensions/TagContent directory on your wiki.
 * 2) Insert this line in the LocalSettings.php file:

Usage
Several new tags can be defined and each one of them maps to a predefined message acting like an ordinary template with the tag content as the first anonymous parameter and the attributes as named parameters. All ordinary wikisyntax are valid for the messages.

The extension use one message for definition of the tag functions, if a tag isn't defined it will act as usual. A tag can't override an already defined tag function and it can't be defined for a blacklisted tag. The definitions can also inclede defaults for the named parameters.