<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://blutwald.de/index.php?action=history&amp;feed=atom&amp;title=JSPWiki_Plugins</id>
	<title>JSPWiki Plugins - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://blutwald.de/index.php?action=history&amp;feed=atom&amp;title=JSPWiki_Plugins"/>
	<link rel="alternate" type="text/html" href="https://blutwald.de/index.php?title=JSPWiki_Plugins&amp;action=history"/>
	<updated>2026-04-17T21:21:19Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Earthdawn-Wiki.v2</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://blutwald.de/index.php?title=JSPWiki_Plugins&amp;diff=2327&amp;oldid=prev</id>
		<title>Root: Die Seite wurde neu angelegt: „Since v1.6.3 you can now define your own plugins.  These are just simply Java classes that implement the &#039;&#039;com.ecyrd.jspwiki.plugin.WikiPlugin&#039;&#039; interface and can be found from somewhere in your class path.  The plugins work so that when you write a special code on the Wiki page, the plugins are invoked and their output is inserted into the page, verbatim. The form is: INSERT Plugin Class WHERE Param1value1 Param2value2|{INSERT &lt;plugin class&gt; WHERE &lt;par…“</title>
		<link rel="alternate" type="text/html" href="https://blutwald.de/index.php?title=JSPWiki_Plugins&amp;diff=2327&amp;oldid=prev"/>
		<updated>2024-10-22T18:36:09Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Since v1.6.3 you can now define your own plugins.  These are just simply Java classes that implement the &amp;#039;&amp;#039;com.ecyrd.jspwiki.plugin.WikiPlugin&amp;#039;&amp;#039; interface and can be found from somewhere in your class path.  The plugins work so that when you write a special code on the Wiki page, the plugins are invoked and their output is inserted into the page, verbatim. The form is: INSERT Plugin Class WHERE Param1value1 Param2value2|{INSERT &amp;lt;plugin class&amp;gt; WHERE &amp;lt;par…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Since v1.6.3 you can now define your own plugins.  These are just&lt;br /&gt;
simply Java classes that implement the&lt;br /&gt;
&amp;#039;&amp;#039;com.ecyrd.jspwiki.plugin.WikiPlugin&amp;#039;&amp;#039; interface and can be found from&lt;br /&gt;
somewhere in your class path.  The plugins work so that when you write&lt;br /&gt;
a special code on the Wiki page, the plugins are invoked and their&lt;br /&gt;
output is inserted into the page, verbatim.&lt;br /&gt;
The form is:&lt;br /&gt;
[[INSERT Plugin Class WHERE Param1value1 Param2value2|{INSERT &amp;lt;plugin class&amp;gt; WHERE &amp;lt;param1=value1&amp;gt;,&amp;lt;param2=value2&amp;gt;,...}]]&lt;br /&gt;
You can also use a shortcut: instead of using &amp;lt;tt&amp;gt;[[INSERT Com Ecyrd Jspwiki Plugin Recent Changes Plugintt You Can Also Use Tt INSERT Recent Changes Plugin|{INSERT com.ecyrd.jspwiki.plugin.RecentChangesPlugin&amp;lt;/tt&amp;gt; you can also use &amp;lt;tt&amp;gt;[[{INSERT RecentChangesPlugin}]]&amp;lt;/tt&amp;gt;.  This works only with the plugins that come with JSPWiki, though.&lt;br /&gt;
In addition, you can now (since 1.9.30) omit even the &amp;quot;INSERT&amp;quot;, so the shortest possible version for plugins becomes:&lt;br /&gt;
[[Current Time Plugin|{CurrentTimePlugin}]]&lt;br /&gt;
If a parameter contains spaces, you can use single quotes (&amp;#039;) around the parameter.  Like this:&lt;br /&gt;
[[INSERT Current Time Plugin Formatdd MM Yyyy|{INSERT CurrentTimePlugin format=&amp;#039;dd MM yyyy&amp;#039;}]]&lt;br /&gt;
Here are some sample plugins included in the archive:&lt;br /&gt;
----&lt;br /&gt;
===RecentChangesPlugin===&lt;br /&gt;
Inserts the latest changes in order. &lt;br /&gt;
====Parameters: ====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;since&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;n&amp;#039;&amp;#039; : show changes from the last n days.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;format&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;(full|compact)&amp;#039;&amp;#039; : if &amp;quot;full&amp;quot;, then display a long&lt;br /&gt;
version with all possible info.  If &amp;quot;compact&amp;quot;, then be as compact as possible.&lt;br /&gt;
====Example:====&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;code&amp;gt;&lt;br /&gt;
[{INSERT RecentChangesPlugin since=5, format=compact}]&lt;br /&gt;
&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Inserts the changes from the past 5 days in a compact format.  You&lt;br /&gt;
might use this to make an automatical list of changes to the [[Left Menu|LeftMenu]], or [[Left Menu Footer|LeftMenuFooter]], for example.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===UnusedPagesPlugin===&lt;br /&gt;
Lists all pages that are not currently referred to by any other page, thus meaning they are inaccessible through any other means.&lt;br /&gt;
====Parameters====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxwidth&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;n&amp;#039;&amp;#039; : Limits the length of the generated links to at most &amp;#039;&amp;#039;n&amp;#039;&amp;#039; characters.  This should used to keep the [[Left Menu|LeftMenu]] or [[Left Menu Footer|LeftMenuFooter]] at a manageable width.  Default is to not limit the length at all.&lt;br /&gt;
&lt;br /&gt;
====Example:====&lt;br /&gt;
See [[Unused Pages|UnusedPages]].&lt;br /&gt;
----&lt;br /&gt;
===UndefinedPagesPlugin===&lt;br /&gt;
Lists all pages that are referred to, but not yet created.&lt;br /&gt;
====Parameters====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxwidth&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;n&amp;#039;&amp;#039; : Limits the length of the generated links to at most &amp;#039;&amp;#039;n&amp;#039;&amp;#039; characters.  This should used to keep the [[Left Menu|LeftMenu]] or [[Left Menu Footer|LeftMenuFooter]] at a manageable width.  Default is to not limit the length at all.&lt;br /&gt;
====Example:====&lt;br /&gt;
See [[Undefined Pages|UndefinedPages]].&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===ReferringPagesPlugin===&lt;br /&gt;
Finds and lists all pages that refer to the current page.&lt;br /&gt;
====Parameters ====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;max&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;n&amp;#039;&amp;#039; : How many pages to list.  Default is 10. Some pages might create very long lists, so it&amp;#039;s a good idea to limit the list size.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxwidth&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;n&amp;#039;&amp;#039; : Limits the length of the generated links to at most &amp;#039;&amp;#039;n&amp;#039;&amp;#039; characters.  This should used to keep the [[Left Menu|LeftMenu]] or [[Left Menu Footer|LeftMenuFooter]] at a manageable width.  Default is to not limit the length at all.&lt;br /&gt;
====Example====&lt;br /&gt;
See [[Left Menu Footer|LeftMenuFooter]].&lt;br /&gt;
----&lt;br /&gt;
===CurrentTimePlugin===&lt;br /&gt;
Just displays the current server time.&lt;br /&gt;
====Parameters====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;format&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;format string&amp;#039;&amp;#039; : How the date and time should be formatted.  If you omit this, a default format will be used. The following characters are available to you:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;code&amp;gt;&lt;br /&gt;
 Symbol   Meaning                 Presentation        Example&lt;br /&gt;
 ------   -------                 ------------        -------&lt;br /&gt;
 G        era designator          (Text)              AD&lt;br /&gt;
 y        year                    (Number)            1996&lt;br /&gt;
 M        month in year           (Text &amp;amp;amp; Number)     July &amp;amp;amp; 07&lt;br /&gt;
 d        day in month            (Number)            10&lt;br /&gt;
 h        hour in am/pm (1~12)    (Number)            12&lt;br /&gt;
 H        hour in day (0~23)      (Number)            0&lt;br /&gt;
 m        minute in hour          (Number)            30&lt;br /&gt;
 s        second in minute        (Number)            55&lt;br /&gt;
 S        millisecond             (Number)            978&lt;br /&gt;
 E        day in week             (Text)              Tuesday&lt;br /&gt;
 D        day in year             (Number)            189&lt;br /&gt;
 F        day of week in month    (Number)            2 (2nd Wed in July)&lt;br /&gt;
 w        week in year            (Number)            27&lt;br /&gt;
 W        week in month           (Number)            2&lt;br /&gt;
 a        am/pm marker            (Text)              PM&lt;br /&gt;
 k        hour in day (1~24)      (Number)            24&lt;br /&gt;
 K        hour in am/pm (0~11)    (Number)            0&lt;br /&gt;
 z        time zone               (Text)              Pacific Standard Time&lt;br /&gt;
 \&amp;amp;#039;       escape for text         (Delimiter)&lt;br /&gt;
 \&amp;amp;#039;&amp;amp;#039;      single quote            (Literal)           &amp;amp;#039;&lt;br /&gt;
&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, two &amp;#039;y&amp;#039;:s give you the year using two digits.  Four &amp;#039;y&amp;#039;:s give you the year in four digits.  Three &amp;#039;M&amp;#039;:s give you the month in letters, whereas two &amp;#039;M&amp;#039;:s give just the month number.&lt;br /&gt;
(Yes, these are exactly the Java [http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html SimpleDateFormat] arguments.  Sorry for copying them in.)&lt;br /&gt;
====Example====&lt;br /&gt;
Using [[INSERT Current Time Plugin Formatyyyy MM Dd G At Hh Mm Ss Z|{INSERT CurrentTimePlugin format=&amp;#039;yyyy.MM.dd G \&amp;#039;at\&amp;#039; hh:mm:ss z&amp;#039;}]] would give you:&lt;br /&gt;
[[INSERT Current Time Plugin Formatyyyy MM Dd G At Hh Mm Ss Z|{INSERT CurrentTimePlugin format=&amp;#039;yyyy.MM.dd G \&amp;#039;at\&amp;#039; hh:mm:ss z&amp;#039;}]]&lt;br /&gt;
----&lt;br /&gt;
===IndexPlugin===&lt;br /&gt;
Displays all of the pages in this Wiki in alphabetical order.  IndexPlugin has been contributed by AlainRavet.&lt;br /&gt;
====Parameters====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;itemsPerLine&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;n&amp;#039;&amp;#039;.  Break every &amp;#039;n&amp;#039; items on line.&lt;br /&gt;
====Example====&lt;br /&gt;
See [[Page Index|PageIndex]].&lt;br /&gt;
----&lt;br /&gt;
===Counter===&lt;br /&gt;
A simple counter that starts counting at 1 at the top of the page, and each time it is invoked, will increase its value by one.   These counters are transient, and relative to the current page view only - i.e. two persons viewing the same page at the same time get their own counters.&lt;br /&gt;
The current counter value is accessible also as a [[Wiki Variable|WikiVariable]].  The name of the variable is &amp;quot;counter&amp;quot;, or &amp;quot;counter-&amp;lt;name&amp;gt;&amp;quot;, if you have defined a counter name.&lt;br /&gt;
====Parameters====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;counter name&amp;#039;&amp;#039;.  You may define as many counters per page as you want; you just need to separate them with the &amp;#039;&amp;#039;counter name&amp;#039;&amp;#039;&lt;br /&gt;
====Example====&lt;br /&gt;
[[Counter|{Counter}]], [[Counter|{Counter}]], [[Counter|{Counter}]], [[Counter Nameaa|{Counter name=&amp;#039;aa&amp;#039;}]] produces&lt;br /&gt;
[[Counter|{Counter}]], [[Counter|{Counter}]], [[Counter|{Counter}]], [[Counter Nameaa|{Counter name=&amp;#039;aa&amp;#039;}]].&lt;br /&gt;
The value of &amp;quot;counter&amp;quot; at the end is [[Counter|{$counter}]] and the value of &amp;quot;counter-aa&amp;quot; is [[Counter Aa|{$counter-aa}]].&lt;br /&gt;
----&lt;br /&gt;
===Image===&lt;br /&gt;
The Image plugin allows one to have finer control over the layout of images than just the simple inling of images.&lt;br /&gt;
====Parameters====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;src&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;Image source&amp;#039;&amp;#039;.  This can either be a full URL (http://...) or a [[Wiki Attachment|WikiAttachment]] name.  Required.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;align&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;left|right|center&amp;#039;&amp;#039;.  The image alignment.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;height&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;.  Force the height of the image.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;.  Force the width of the image.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;alt&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;alt text&amp;#039;&amp;#039;.   The alt text of an image.  This is very useful when doing pages that can be navigated w&lt;br /&gt;
ith text-only browsers.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;caption&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;caption text&amp;#039;&amp;#039;.  The text that should be shown as a caption under the image.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;link&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;hyperlink&amp;#039;&amp;#039;.  A hyperlink (http://...).  In the future, you can also use [[Wiki Pages|WikiPages]].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;border&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;.  Size of the image border.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;style&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;style info&amp;#039;&amp;#039;.  Any style markup you would like to apply to the table surrounding the image.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;class&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;class name&amp;#039;&amp;#039;.  Redefine the default class for this&lt;br /&gt;
image, which is &amp;quot;imageplugin&amp;quot;.&lt;br /&gt;
====Example====&lt;br /&gt;
[[Datei:test.png]].&lt;br /&gt;
Shows the attachment SandBox/test.png with the caption &amp;quot;Testing image&amp;quot; underneath it.  The text is 120% in height a&lt;br /&gt;
nd will be rendered in green color.&lt;br /&gt;
====CSS====&lt;br /&gt;
* &amp;lt;tt&amp;gt;.imageplugin&amp;lt;/tt&amp;gt; = The table that encompasses the image.  It consists of two undercategories:&lt;br /&gt;
** &amp;lt;tt&amp;gt;img&amp;lt;/tt&amp;gt; = The IMG tag that gets embedded.&lt;br /&gt;
** &amp;lt;tt&amp;gt;caption&amp;lt;/tt&amp;gt; = The caption that is embedded.&lt;/div&gt;</summary>
		<author><name>Root</name></author>
	</entry>
</feed>