none
[openafs-wiki.git] / TWiki / EmptyPlugin.mdwn
index f65e243..dd06c94 100644 (file)
@@ -1,4 +1,4 @@
-## <a name="Empty TWiki Plugin"></a> Empty TWiki Plugin
+# <a name="Empty TWiki Plugin"></a> 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.
 
@@ -8,28 +8,52 @@ To create your own plugin:
 - Create a <code>**&lt;name&gt;Plugin**</code> topic in the TWiki web. Do so by visiting <http://TWiki.org/cgi-bin/view/Plugins/> and starting a new topic to get the default plugin topic text (don't save the topic). Customize your plugin topic to your needs.
 - See details in [[TWikiPlugins]].
 
-### <a name="Syntax Rules"></a> Syntax Rules
+## <a name="Syntax Rules"></a> Syntax Rules
 
-(none)
+(describe the syntax)
 
-### <a name="%TOPIC% Settings"></a> %TOPIC% Settings
+## <a name="%TOPIC% Global Settings"></a> %TOPIC% Global Settings
 
 Plugin settings are stored as preferences variables. To reference a plugin setting write <code>**%&lt;plugin&gt;\_&lt;setting&gt;%**</code>, for example, <code>**%EMPTYPLUGIN\_SHORTDESCRIPTION%**</code>
 
 - One line description, shown in the [[TextFormattingRules]] topic:
   - Set SHORTDESCRIPTION = This plugin does nothing, but can be used as a template for your own plugins.
 
-- Your own setting, i.e.:
+- Your own settings, for example:
   - Set EXAMPLE = got it!
 
 - Debug plugin: (See output in `data/debug.txt`)
   - Set DEBUG = 0
 
-### <a name="Plugin Installation Instructions"></a> Plugin Installation Instructions
+## <a name="Plugin Installation Instructions"></a> Plugin Installation Instructions
 
-- This plugin is preinstalled, you do not need to install it.
+(This plugin is preinstalled, you do not need to install it.)
 
-### <a name="Plugin Info"></a> Plugin Info
+**_Note:_** You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
+
+- Download the ZIP file from the Plugin web (see below)
+- Unzip <code>**%TOPIC%.zip**</code> in your twiki installation directory. Content: <table border="1" cellpadding="0" cellspacing="0">
+  <tr>
+    <th bgcolor="#99CCCC"><strong> File: </strong></th>
+    <th bgcolor="#99CCCC"><strong> Description: </strong></th>
+  </tr>
+  <tr>
+    <td><code><b>data/TWiki/%TOPIC%.txt</b></code></td>
+    <td> Plugin topic </td>
+  </tr>
+  <tr>
+    <td><code><b>data/TWiki/%TOPIC%.txt,v</b></code></td>
+    <td> Plugin topic repository </td>
+  </tr>
+  <tr>
+    <td><code><b>lib/TWiki/Plugins/%TOPIC%.pm</b></code></td>
+    <td> Plugin Perl module </td>
+  </tr>
+</table>
+- Test if the plugin is correctly installed:
+  - (describe tests here)
+
+## <a name="Plugin Info"></a> Plugin Info
 
 <table border="1" cellpadding="0" cellspacing="0">
   <tr>
@@ -38,11 +62,19 @@ Plugin settings are stored as preferences variables. To reference a plugin setti
   </tr>
   <tr>
     <td align="right"> Plugin Version: </td>
-    <td> 14 Jul 2001 </td>
+    <td> 14 Jul 2001 (V1.000) </td>
   </tr>
   <tr>
     <td align="right"> Change History: </td>
-    <td> 14 Jul 2001: Changed to plug&amp;play <br /> 27 Feb 2001: Initial version </td>
+    <td>  </td>
+  </tr>
+  <tr>
+    <td align="right"> 14 Jul 2001: </td>
+    <td> Changed to plug&amp;play </td>
+  </tr>
+  <tr>
+    <td align="right"> 27 Feb 2001: </td>
+    <td> Initial version </td>
   </tr>
   <tr>
     <td align="right"> CPAN Dependencies: </td>
@@ -54,7 +86,7 @@ Plugin settings are stored as preferences variables. To reference a plugin setti
   </tr>
   <tr>
     <td align="right"> Perl Version: </td>
-    <td> 5.0 </td>
+    <td> 5.005 </td>
   </tr>
   <tr>
     <td align="right"> Plugin Home: </td>
@@ -68,4 +100,4 @@ Plugin settings are stored as preferences variables. To reference a plugin setti
 
 **_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[DefaultPlugin]]
 
--- [[AndreaSterbini]] - 27 Feb 2001 <br /> -- [[PeterThoeny]] - 14 Jul 2001 <br />
+-- [[AndreaSterbini]] - 27 Feb 2001 <br /> -- [[PeterThoeny]] - 14 Jul 2001