COMMENT{ attributes } -- insert an edit box into the topic to easily add comments.
- A
%COMMENT%without parameters shows a simple text box. - The following standard attributes are recognized
Name Description Default typeThis is the name of the template to use for this comment. Comment templates are defined in a Foswiki template - see Customisation, below. If this attribute is not defined, the type is whatever is defined by COMMENTPLUGIN_DEFAULT_TYPE, either in this topic or in your WebPreferences. belowdefaultDefault text to put into the textarea of the prompt. targetName of the topic to add the comment to the current topic locationRegular expression specifying the comment location in the target topic. Read carefully the CommentPlugin documentation! modeFor compatibility with older versions only, synonymous with typenonotifySet to "on" to disable change notification for target topics offnoformSet to "on" to disable the automatic form that encloses your comment block - remember to insert <form>tags yourself! See CommentPluginExamples:noform for an example.offnopostSet to "on" to disable insertion of the posted text into the topic. offremoveSet to "on" to remove the comment prompt after the first time it is clicked. offbuttonButton label text Add comment
- See CommentPlugin for more information
History: r1 - 19 Sep 2010 - 05:19:40 - ProjectContributor