Empty TWiki Plugin

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.

To create your own plugin:

  • Copy file TWiki/Plugins/EmptyPlugin.pm to <name>Plugin.pm and customize the plugin.
  • Copy this topic to <name>Plugin and customize it.
  • See details in TWikiPlugins.

Syntax Rules

(none)

EmptyPlugin Preferences

Plugin preferences are stored as preferences variables. To reference a plugin preference write %<plugin name>_<preference name>%, i.e. %EMPTYPLUGIN_SHORTDESCRIPTION%

  • One line description, is included in the 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

Plugin Installation Instructions

  • This plugin is preinstalled, you do not need to install it.

Plugin Info

Plugin Author: AndreaSterbini?, PeterThoeny
Plugin Version: 08 Jul 2001
Change History: 08 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/EmptyPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/EmptyPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, DefaultPlugin?

-- AndreaSterbini? - 27 Feb 2001
-- PeterThoeny - 08 Jul 2001

This topic: TWiki > EmptyPlugin
History: r2 - 09 Jul 2001 - 10:56:29 - PeterThoeny?
 
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Proyecto META? Send feedback