blob: ebbb39ff1cdeb88b860b405ff41ab2114f9e69eb [file] [log] [blame]
Allows you to insert any of the [JSPWikiPlugin]s directly into the template.
----
!Usage
{{{
<wiki:Plugin plugin="<plugin class>" args="<argument string>">
<optional plugin body>
</wiki:Plugin>
}}}
!Parameters
;__plugin__: The fully-fledged class name of the plugin. If the plugin is one of the standard plugins that come with the JSPWiki distribution OR it's package name has been added to jspwiki.properties (see jspwiki.plugin.searchPath), then you can use also the class name directly.
;__args__: The argument string to the plugin, as if you were giving it on the page itself.
To include a body to the plugin, include it in the body of the tag.
!Example
{{{
<wiki:Plugin plugin="Counter" args="name='foo'" />
}}}
Inserts the [CounterPlugin], with its name set to 'foo'.
{{{
<wiki:Plugin plugin="FooBar" args="name='foo'">
I am body text.
</wiki:Plugin>
}}}
Inserts the ~FooBar plugin, with the arguments "name" set to "foo", and the plugin body set to "I am body text".
----
Back to [JSPWikiTags].