diff options
author | Peter Thoeny <web-hurd@gnu.org> | 2001-07-09 08:56:30 +0000 |
---|---|---|
committer | Peter Thoeny <web-hurd@gnu.org> | 2001-07-09 08:56:30 +0000 |
commit | afccfd9f633c3343d3b8409a91a0c51301e1ac82 (patch) | |
tree | 8d5e78ccf1afa937bd539ea4fa4bc2db08112644 | |
parent | 9f2a0ee22ff5f894d3310c18d319fec8132dd365 (diff) |
none
-rw-r--r-- | TWiki/EmptyPlugin.mdwn | 69 |
1 files changed, 64 insertions, 5 deletions
diff --git a/TWiki/EmptyPlugin.mdwn b/TWiki/EmptyPlugin.mdwn index 58356c30..b71fb5f7 100644 --- a/TWiki/EmptyPlugin.mdwn +++ b/TWiki/EmptyPlugin.mdwn @@ -1,9 +1,68 @@ -**Empty TWiki Plugin** +## <a name="Empty_TWiki_Plugin"> Empty TWiki Plugin </a> -This is an empty plugin you can use as a template to build your own [[TWikiPlugins]]. This plugin does nothing, but is ready to be used. +This is an empty plugin you can use as a template to build your own %TWIKIWEB%.TWikiPlugins. This plugin does nothing, but is ready to be used. -Copy file <code>**TWiki/Plugins/EmptyPlugin.pm**</code> to <code>**<name>Plugin.pm**</code> and customize the plugin. +To create your own plugin: -**_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[DefaultPlugin]] +* Copy file <code>**TWiki/Plugins/EmptyPlugin.pm**</code> to <code>**<name>Plugin.pm**</code> and customize the plugin. +* Copy this topic to <code>**<name>Plugin**</code> and customize it. +* See details in %TWIKIWEB%.TWikiPlugins. --- [[Main/PeterThoeny]] - 13 Mar 2001 <br /> +### <a name="Syntax_Rules"> Syntax Rules </a> + +(none) + +### <a name="_TOPIC_Preferences"> %TOPIC% Preferences </a> + +Plugin preferences are stored as preferences variables. To reference a plugin preference write <code>**%<plugin name>\_<preference name>%**</code>, i.e. <code>**%EMPTYPLUGIN\_SHORTDESCRIPTION%**</code> + +* One line description, is included in the %TWIKIWEB%.TextFormattingRules topic: + * Set SHORTDESCRIPTION = This plugin does nothing, but can be used as a template for your own plugins. + +* Your own preferences, i.e.: + * Set COLOR = red + +### <a name="Plugin_Installation_Instructions"> Plugin Installation Instructions </a> + +* This plugin is preinstalled, you do not need to install it. + +### <a name="Plugin_Info"> Plugin Info </a> + +<table border="1" cellpadding="1" cellspacing="0"> + <tr> + <td align="right"> Plugin Author: </td> + <td> %TWIKIWEB%.AndreaSterbini, %TWIKIWEB%.PeterThoeny </td> + </tr> + <tr> + <td align="right"> Plugin Version: </td> + <td> 08 Jul 2001 </td> + </tr> + <tr> + <td align="right"> Change History: </td> + <td> 08 Jul 2001: Changed to plug&amp;play <br /> 27 Feb 2001: Initial version </td> + </tr> + <tr> + <td align="right"> CPAN Dependencies: </td> + <td> none </td> + </tr> + <tr> + <td align="right"> Other Dependencies: </td> + <td> none </td> + </tr> + <tr> + <td align="right"> Perl Version: </td> + <td> 5.0 </td> + </tr> + <tr> + <td align="right"> Plugin Home: </td> + <td><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%</a></td> + </tr> + <tr> + <td align="right"> Feedback: </td> + <td><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev</a></td> + </tr> +</table> + +**_Related Topics:_** %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins, [[DefaultPlugin]] + +-- %TWIKIWEB%.AndreaSterbini - 27 Feb 2001 <br /> -- %TWIKIWEB%.PeterThoeny - 08 Jul 2001 <br /> |