Wiki Tut Comment Plugin Example - Tables

Pre-defined Templates

tableappend

| Tableappend comment output 1 | Main.TWikiContributor | 26 Nov 2006 - 10:38 |
| Tableappend comment output 2 | Main.TWikiContributor | 26 Nov 2006 - 10:39 |
%COMMENT{type="tableappend"}%


sample table 1 VickiBrown 08 Feb 2007 - 10:23
 

tableprepend


%COMMENT{type="tableprepend"}%
| Tablepreprend comment output 2 | Main.TWikiContributor | 26 Nov 2006 - 11:03 |
| Tablepreprend comment output 1 | Main.TWikiContributor | 26 Nov 2006 - 11:02 |


 
Tablepreprend comment output 2 ProjectContributor 26 Nov 2006 - 11:03
Tablepreprend comment output 1 ProjectContributor 26 Nov 2006 - 11:02

tableprepend with a TABLE header


%COMMENT{type="tableprepend"}%
| Tablepreprend comment output 2 | Main.TWikiContributor | 26 Nov 2006 - 11:03 |
| Tablepreprend comment output 1 | Main.TWikiContributor | 26 Nov 2006 - 11:02 |


 
Tablepreprend comment output 2 ProjectContributor 26 Nov 2006 - 11:03
Tablepreprend comment output 1 ProjectContributor 26 Nov 2006 - 11:02

table

Copy CommentPluginTemplate and edit to taste.

Custom Templates That Append to a Table

Sample Template OUTPUT definition
%TMPL:DEF{OUTPUT:mycomments}%%POS:BEFORE%| %WIKIUSERNAME% | %DATE% | %URLPARAM{"MyComments"}% |
%TMPL:END%

Usage:
%COMMENT{type="mycomments" target="#AnchorInsertHere"}%

| *Name* | *Date* | *Comments* |
#AnchorInsertHere

See: Survey example

This topic: Help > WikiTut > WikiTutPower > WikiTutComment > WikiTutCommentPlugin4
Topic revision: 14 Oct 2010, vlb
This site is powered by Foswiki Copyright © by the contributing authors. All material on this wiki is the property of the contributing authors.
Foswiki version v2.1.6, Release Foswiki-2.1.6, Plugin API version 2.4
Ideas, requests, problems regarding CFCL Wiki? Send us email