summaryrefslogtreecommitdiff
path: root/TWiki/EmptyPlugin.mdwn
blob: b71fb5f7ac7660ee940dc928b2f95d329c332354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
## <a name="Empty_TWiki_Plugin"> Empty TWiki Plugin </a>

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.

To create your own plugin:

* Copy file <code>**TWiki/Plugins/EmptyPlugin.pm**</code> to <code>**&lt;name&gt;Plugin.pm**</code> and customize the plugin.
* Copy this topic to <code>**&lt;name&gt;Plugin**</code> and customize it.
* See details in %TWIKIWEB%.TWikiPlugins.

### <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>**%&lt;plugin name&gt;\_&lt;preference name&gt;%**</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;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 />