Plugin Tag

Aus Earthdawn-Wiki.v2
Version vom 22. Oktober 2024, 19:36 Uhr von Root (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Allows you to insert any of the JSPWikiPlugins directly into the template. ---- ====Usage==== <wiki:Plugin plugin="<plugin class>" args="<argument string>" /> ====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…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Allows you to insert any of the JSPWikiPlugins directly into the template.


Usage

<wiki:Plugin plugin="<plugin class>" args="<argument string>" />

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.

Example

<code>
<wiki:Plugin plugin="Counter" args="name='foo'" />
</code>

Inserts the CounterPlugin, with its name set to 'foo'.