# ~~#8B0000:Every Plugin Help Page should be Categorized. Select the Categorize Tab and check "Documentation » Plugins". This allows all of the Plugin Help Pages to be displayed at the bottom of the page under __Related Items__~~
# ~~#8B0000:All of the Plugin Help Pages should have a Description - I use: The Plugin xxx Help Page~~
# ~~#8B0000:Most of the following should be included on every Plugin Help Page. ~~
! Introduction
{maketoc} Provide a short Introduction. This should briefly state what the plugin does. I also like to include a link to the page ((DataPlugins)).
! History
~~#8B0000:Most of the Plugins originally came from ))TikiWiki(( but check the source file (I made sure that all of the Authors and their email address were correct). Lets give credit where it is due.~~
~~#8B0000:If it does come from ))TikiWiki(( - then search [http://tikiwiki.org|TikiWiki] or the [http://doc.tikiwiki.org|TikiWiki Doc Site] for information on it. Do __Not__ rely too heavily on that source though. Veryify that it is still correct. The original idea and source may have came from ))TikiWiki(( - but every Plugins was rewritten for bitweaver and __many operational changes were made!__ The largest change was the inclusion of the variable __~np~$pluginParams['requires_pair'] => FALSE~/np~__ which allows Plugins to use a single Code Block. Most Plugins that don't operate on data placed between Code Blocks were changed. Some parameters name were also changed - although I did try to minimize those changes.~~
~~#8B0000:Again - Check the Code!~~
! Summary
~~#8B0000:Provide a more detailed explanation of what the Plugin Does.~~

! How It Works?
~~#8B0000:Check the Source Code~~
~~#8B0000:If the variable __~np~$pluginParams['requires_pair'] => TRUE~/np~__ then include:~~
This Plugin operates on the data placed between the Code Blocks - see the Heading __Between The Code Blocks__
~~#8B0000:If the variable __~np~$pluginParams['requires_pair'] => FALSE~/np~__ then include:~~
This Plugin operates with a single Code Blocks. That is - only a single call to the Plugin is required

~~#8B0000:A brief explanation should also be provided to explain how the Plugin operates. That should include when and where it should be used.~~

!- The Plugin's Help
~~#8B0000:The Plugin ))PluginHelp(( has been rewritten and should be available soon - so change xxxxx in the following line to the TAG of the Plugin.~~
{PLUGINHELP plugin='xxxxx' }

! Between the Code Blocks
~~#8B0000:Note: This heading is needed when a Plugins has the variable __~np~$pluginParams['requires_pair'] => TRUE~/np~__~~
For those of you who don't know - when we say the word Code Block - we are referring to the way you call a Plugin. Some Plugins only use a single Code Block to operate while others need two. Examples are:
* __~np~{AGENTINFO info= }~/np~__ requires a Single Code Block
* __~np~{CODE source= num= }Sorce Code{/CODE}~/np~__ requires Two Code Blocks. The first is __~np~{CODE source= num= }~/np~__ and the second is __~np~{/CODE}~/np~__.
Nearly all Plugins that require 2 Code Blocks do so because they expect a lot of data and are designed to work on it.

~~#8B0000:Note: Some Plugins use Key-Words or some other device between the Code Blocks. If this one does - Specify what it is and how it works like this:~~
The Data between the Code Blocks falls into three Classifications: __Class A / Class B / & Class C__.
* A Character Sequence is used to separate that Data into their appropriate Classes. By Default Character Sequence is __***__ but can be redefined with the Parameter __SomeParameterName__.
* __Class A__ does this.
* __Class B__ does that.
* __Class C__ does the other thing.

! Examples
~~#8B0000:Most of the examples demonstrate what the Plugin does by setting Parameters and explaining what they are there for. When there are a lot of parameters - this becomes difficult. One method to do it is using a build-up scheme. Each Example adds a single parameter to those used in the previous Example.~~

~~#8B0000:At any rate - be sure that each Example shows exactly what is happening by showing the parameters being set. This is easily done by coping the ))WikiSyntax(( that calls the Plugin and placing it inside ~123~np~123~ blocks like this: __~123~np~123~~np~{AGENTINFO info= }~/np~~123~np~123~__~~
~~#8B0000:Sometimes - this does not work. When it doesn't - try replacing the each __{__ character with the tilde (~) character / the numbers 123 / and another tilde character. The trailing __}__ characters can be replaced as well with a tilde the number 125 and another tilde character. The trailing __}__ characters don't normally cause any problem though.~~
~~#8B0000:Because we get a link out of all capitalized words - add a double ) and double ( around the Plugins Name to prevent the link. See the example in the code.~~
!!- Example 1 - Different Ways To Show Parameters
~~#8B0000:Using np -~~ ^__~np~{CODE }Sorce Code{CODE}~/np~^__ {CODE }Sorce Code{CODE}
~~#8B0000:Replacing the { } Characters -~~ ^__~123~))CODE(( ~125~Sorce Code~123~CODE~125~^__ {CODE }Sorce Code{CODE}
Page History
Date/CommentUserIPVersion
18 May 2008 (20:45 UTC)
laetzer85.178.10.628
Current • Source
Lee LaMont Bell Jr.24.117.169.2413
View • Compare • Difference • Source
Lee LaMont Bell Jr.24.117.169.2412
View • Compare • Difference • Source
Lee LaMont Bell Jr.24.117.169.2411
View • Compare • Difference • Source