%COMMENT% without parameters shows a simple text box.
%COMMENT{}% can handle the following parameters:                 | Parameter   | Description | Default | 
|---|---|---|
| type | This is the name of the template to use for this comment. Comment templates are defined in a TWiki template - see customization. If this attribute is not defined, the type is whatever is defined by COMMENTPLUGIN_DEFAULT_TYPE, either in this topic or in your WebPreferences. | "below" | 
| target | Name of the topic to add the comment to | the current topic | 
| remove | Set to "on" to remove the comment prompt after the first time it is clicked. | "off" | 
| nopost | Set to "on" to disable insertion of the posted text into the topic. | "off" | 
| nonotify | Set to "on" to disable change notification for target topics | "off" | 
| noform | Set to "on" to disable the automatic form that encloses your comment block - remember to insert <form>tags yourself! See CommentPluginExamples#noform for an example. | "off" | 
| mode | For compatibility with older versions only, synonymous with type | |
| location | Regular expression specifying the comment location in the target topic. Read carefully the CommentPlugin documentation! | |
| emailto | Send comment by email. Use comma "," to seperate multiple email addresses. This feature is disabled by default. To enable this feature, please set up "$TWiki::cfg{Plugins}{CommentPlugin}{EmailEnabled} = 1;". | |
| default | Default text to put into the textarea of the prompt. | |
| button | Button label text | "Add comment" | 
| 
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.  Ideas, requests, problems regarding Daya Bay? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarCOMMENT. |