> >
META TOPICPARENT name="CommentPlugin"
< < Templates for CommentPlugin - See CommentPlugin#Customisation for help. > >
See CommentPlugin: Customisation for help. While this topic can be viewed as a TWiki topic, it is used by the CommentPlugin as a template file - see TWikiTemplates . The important content in here is in the verbatim blocks. The rest of the topic is just comments. < < WARNING: THIS FILE WILL BE OVERWRITTEN WHEN YOU UPGRADE THE COMMENT PLUGIN > > See CommentPluginExamples to view rendered templates
WARNING: THIS FILE WILL BE OVERWRITTEN WHEN YOU UPGRADE THE COMMENT PLUGIN
< < Put your local templates into UserCommentsTemplate? .
LOCAL TEMPLATES WILL OVERRIDE TEMPLATES DEFINED IN THIS FILE > > Put your local templates into UserCommentsTemplate? (create if it does not exist yet). Local templates defined in that topic will override templates defined below. < < > > < < Template definitions
Templates used in rest of file > > Template definitions
Templates used in rest of file Generic prompt box used by other templates < < %TMPL:DEF{promptbox}%
<--/commentPlugin-->
%TMPL:END% > > %TMPL:DEF{promptbox}%<--/commentPlugin--> %TMPL:END%
Short comment, signed and dated < < %TMPL:DEF{outputoneliner}% * -- TWikiGuest - 02 Apr 2025 - 03:26%TMPL:END% > > %TMPL:DEF{outputoneliner}% * -- TWikiGuest - 02 Apr 2025%TMPL:END% < <
User templates
top > > See rendered template Default
User templates
top Comments, signed and dated, added at top of file
%TMPL:DEF{PROMPT:top}%%TMPL:P{promptbox}%%TMPL:END% %TMPL:DEF{OUTPUT:top}%%POS:TOP%
%TMPL:END%
< <
bottom > > See rendered template top
bottom Comments, signed and dated, added at end of file
%TMPL:DEF{PROMPT:bottom}%%TMPL:P{promptbox}%%TMPL:END%
%TMPL:DEF{OUTPUT:bottom}%%POS:BOTTOM%%TMPL:P{outputoneliner}%%TMPL:END%
< <
above > > See rendered template bottom
above Comments, signed and dated, added immediately before anchor
%TMPL:DEF{PROMPT:above}%%TMPL:P{promptbox}%%TMPL:END%
< < %TMPL:DEF{OUTPUT:above}%%POS:BEFORE% > > %TMPL:DEF{OUTPUT:above}%%POS:BEFORE%%TMPL:END%
See rendered template above
bulletabove
Bullet item added immediately before anchor. The input field width is passed with variable inputsize
, for example:
%COMMENT{type="bulletabove" inputsize="20"}%
%TMPL:DEF{PROMPT:bulletabove}%<input class="twikiInputField" name="bullet_above_item" id="bullet_above_item" type="text" size="%inputsize|40" value="%URLPARAM{"bullet_above_item"}%" /> <input %DISABLED% type="submit" value="%button|Add item%" class="twikiButton" />%TMPL:END%
%TMPL:DEF{OUTPUT:bulletabove}% * %URLPARAM{"bullet_above_item"}%%POS:BEFORE% %TMPL:END%
< <
threadmode > > See rendered template bulletabove
threadmode Wiki thread mode comment, signed and dated
%TMPL:DEF{PROMPT:threadmode}%%TMPL:P{promptbox}%%TMPL:END% -- TWikiGuest - 02 Apr 2025
%TMPL:END%
< <
below > > See rendered template threadmode
belowthreadmode
Comments, signed and dated, added recurse after comment box.
%TMPL:DEF{PROMPT:belowthreadmode}%%TMPL:P{promptbox}%%TMPL:END%
%TMPL:DEF{OUTPUT:belowthreadmode}%%POS:AFTER%
---++++ %WIKIUSERNAME% - %SERVERTIME%
%URLPARAM{"comment"}%
%TMPL:END%
See rendered template belowthreadmode
below Comments, signed and dated, added immediately below anchor
%TMPL:DEF{PROMPT:below}%%TMPL:P{promptbox}%%TMPL:END% %TMPL:DEF{OUTPUT:below}%%POS:AFTER%
%TMPL:END%
< <
tableprepend > > See rendered template below
tableprepend Comments, signed and dated, added at top of table below the
anchor/location/COMMENT
%TMPL:DEF{PROMPT:tableprepend}%%TMPL:P{promptbox}%%TMPL:END%
< < %TMPL:DEF{OUTPUT:tableprepend}%%POS:AFTER%| TWikiGuest 02 Apr 2025 - 03:26 |
> > %TMPL:DEF{OUTPUT:tableprepend}%%POS:AFTER%| | TWikiGuest | 02 Apr 2025 - 03:26 | %TMPL:END%
< <
tableappend > > See rendered template tableprepend
tableappend Comments, signed and dated, added at end of table above the anchor/location/COMMENT
%TMPL:DEF{PROMPT:tableappend}%%TMPL:P{promptbox}%%TMPL:END% %TMPL:DEF{OUTPUT:tableappend}%%POS:BEFORE%| | TWikiGuest | 02 Apr 2025 - 03:26 |
%TMPL:END%
< <
after: Add before the comment box, after the last comment > > See rendered template tableappend
after: Add before the comment box, after the last comment
%TMPL:DEF{PROMPT:after}%%TMPL:P{promptbox}%%TMPL:END%
< < %TMPL:DEF{OUTPUT:after}%
%POS:BEFORE%%TMPL:END% > > %TMPL:DEF{OUTPUT:after}%
%POS:BEFORE%%TMPL:END% < <
action > > See rendered template after
action Action added to action table directly above comment box > > (requires TWiki:Plugins/ActionTrackerPlugin )
%TMPL:DEF{PROMPT:action}% < < > >
%TMPL:END%
< < %TMPL:DEF{OUTPUT:action}%%POS:BEFORE%%ACTION{who="" due=""}% - Created by TWikiGuest , 02 Apr 2025 - 03:26 > > %TMPL:DEF{OUTPUT:action}%%POS:BEFORE%%ACTION{who="" due=""}% - Created by TWikiGuest , 02 Apr 2025 - 03:26 %TMPL:END%
< <
table > > See rendered template action
table Tablerows adding on end - TWiki:Main/FranzJosefSilli
%TMPL:DEF{PROMPT:table}% < < Date: City: entry > >
%TMPL:END%
< < %TMPL:DEF{OUTPUT:table}%
%POS:BEFORE%| | TWikiGuest | | > > %TMPL:DEF{OUTPUT:table}%%POS:BEFORE%| | TWikiGuest | | %TMPL:END%
< <
toctalk > > See rendered template table
toctalk Talk using TOC adding on end - TWiki:Main/FranzJosefSilli
%TMPL:DEF{PROMPT:toctalk}% < < Summary: > >
%TMPL:END%
%TMPL:DEF{OUTPUT:toctalk}% < < %POS:BEFORE%---+++ 02 Apr 2025 - 03:26 TWikiGuest :
%POS:BEFORE% > > %POS:BEFORE%---++++ 02 Apr 2025 - 03:26 TWikiGuest :
%POS:BEFORE% %POS:BEFORE%
%TMPL:END%
< <
bookmark > > See rendered template toctalk
bookmark Talk using TOC adding on end - TWiki:Main/FranzJosefSilli
%TMPL:DEF{PROMPT:bookmark}% < < URL: Link: Text: bookmark > >
%TMPL:END%
< < %TMPL:DEF{OUTPUT:bookmark}%
%POS:BEFORE% * [[][]] - > > %TMPL:DEF{OUTPUT:bookmark}%%POS:BEFORE% * [[][]] %TMPL:END%
< < Include UserCommentsTemplate > > See rendered template bookmark < < Including UserCommentsTemplate? : < < %TMPL:INCLUDE{"UserComments"}% < < <-- Do not attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. --> > > return
Post to a different topic and return to here. The comment target
is set in the PROMPT
. In the form below the redirectto
is set to the current (including) topic. Available with TWiki 4.1.
%TMPL:DEF{returnpromptbox}%
<input type="hidden" name="redirectto" value="%BASEWEB%.%BASETOPIC%" />
%TMPL:P{promptbox}%
%TMPL:END%
%TMPL:DEF{PROMPT:return}%%TMPL:P{returnpromptbox}%%TMPL:END%
%TMPL:DEF{OUTPUT:return}%%POS:BEFORE%%TMPL:P{OUTPUT:threadmode}%%TMPL:END%
See rendered template return
Include UserComments
Including UserComments? :
%TMPL:INCLUDE{"UserComments"}%