You are here:
Foswiki
>
System Web
>
Macros
>
VarCOMMENT
(18 Jun 2015,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---+ COMMENT -- insert an edit box into the topic to easily add comments. %STARTSECTION{"comment_attributes"}% ---++ Parameters * The following standard attributes are recognized %TABLE{sort="off"}% | *Name* | *Description* | *Default* | | =type= | This is the name of the template to use for this comment. Comment templates are defined in a Foswiki template - see [[CommentPlugin#TemPlates][Customisation]], below. If this attribute is not defined, the type is whatever is defined by =COMMENTPLUGIN_DEFAULT_TYPE= [[PreferenceSettings][preference setting]]. | =below= | | =default= | Default text to put into the prompt. | | | =target= | Name of the topic to add the comment to | the current topic | | =mode= | For compatibility with older versions only, synonymous with =type= | | | =nonotify= | Set to "on" to disable change notification for target topics | =off= | | =noform= | Set to "on" to disable the automatic form that is generated around your comment prompt if you don't provide a =FORM= template. See [[%SANDBOXWEB%.CommentPluginExamples#noform][CommentPluginExamples:noform]] for an example. | =off= | | =nopost= | Set to "on" to disable insertion of the posted text into the topic. | =off= | | =remove= | Set to "on" to remove the comment prompt after the first time it is clicked. | =off= | | =button= | Button label text | =Add comment= | %ENDSECTION{"comment_attributes"}% ---++ Examples * A =%<nop>COMMENT%= without parameters shows a simple text box. %STOPINCLUDE% ---++ Related CommentPlugin
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 18 Jun 2015,
ProjectContributor
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
GEO_CitSci
GEO_SIF
GEO_Spain
Main
Sandbox
System
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback