%META:TOPICINFO{author="PeterThoeny" date="1091934169" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="CommentPlugin"}%
Templates for CommentPlugin - See %TWIKIWEB%.CommentPlugin#Customisation for help
*WARNING: THIS FILE WILL BE OVERWRITTEN WHEN YOU UPGRADE THE COMMENT PLUGIN*
Put your local templates into TWiki.UserTemplates.
*LOCAL TEMPLATES WILL OVERRIDE TEMPLATES DEFINED IN THIS FILE*
%TOC%
---+ Template definitions
---++ Templates used in rest of file
Generic prompt box used by other templates
%TMPL:DEF{promptbox}%
%TMPL:END%
Standard comment, preserving formatting, signed and dated
%TMPL:DEF{outputstandard}%
%URLPARAM{"comment"}%
-- %WIKIUSERNAME% - %DATE%
%TMPL:END%
Short comment, signed and dated
%TMPL:DEF{outputoneliner}% * %URLPARAM{"comment"}% -- %WIKIUSERNAME% - %DATE% %TIME%%TMPL:END%
---------------------------------------------------------------------------
---++ 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}%%TMPL:P{outputoneliner}%%POS:TOP%
%TMPL:END%
---------------------------------------------------------------------------
---+++ 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
Comments, signed and dated, added immediately before anchor
%TMPL:DEF{PROMPT:above}%%TMPL:P{promptbox}%%TMPL:END%
%TMPL:DEF{OUTPUT:above}%%POS:BEFORE%%TMPL:P{outputstandard}%
%TMPL:END%
---------------------------------------------------------------------------
---+++ 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:P{outputstandard}%
%TMPL:END%
---------------------------------------------------------------------------
---+++ 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%| %URLPARAM{"comment" newline=" "}%
%WIKIUSERNAME%
%DATE% %TIME% |
%TMPL:END%
---------------------------------------------------------------------------
---+++ 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%| %URLPARAM{"comment" newline=" "}% | %WIKIUSERNAME% | %DATE% %TIME% |
%TMPL:END%
---------------------------------------------------------------------------
---+++ after: Add before the comment box
%TMPL:DEF{PROMPT:after}%%TMPL:P{promptbox}%%TMPL:END%
%TMPL:DEF{OUTPUT:after}%%TMPL:P{outputoneliner}% %POS:BEFORE%%TMPL:END%
----------------------------------------------------------------------------
---+++ action
Action added to action table directly above comment box
%TMPL:DEF{PROMPT:action}%
Action for (TWiki.WikiName):
Due date:
%TMPL:END%
%TMPL:DEF{OUTPUT:action}%%POS:BEFORE%%ACTION{who="%URLPARAM{"who"}%" due="%URLPARAM{"due"}%"}% %URLPARAM{"comment" newline=" "}% - Created by %WIKIUSERNAME%, %DATE% %TIME%
%TMPL:END%
----------------------------------------------------------------------------
---+++ poll
TWiki table that collects results from a poll on plugin usage
%TMPL:DEF{PROMPT:poll}%
Number of sites?
Plugin hacked?
TWiki hacked?
Remarks
%TMPL:END%
%TMPL:DEF{OUTPUT:poll}%%POS:BEFORE%| %WIKIUSERNAME% | %URLPARAM{"sites"}% | %URLPARAM{"pluginhacked"}% | %URLPARAM{"twikihacked"}% | %URLPARAM{"remarks"}% |
%TMPL:END%
---------------------------------------------------------------------------
---+++ table
Tablerows adding on end - TWiki:Main/FranzJosefSilli
%TMPL:DEF{PROMPT:table}%
Date: City: entry
%TMPL:END%
%TMPL:DEF{OUTPUT:table}%
%POS:BEFORE%| %URLPARAM{"comment_date"}% | %WIKIUSERNAME% | %URLPARAM{"comment_city" }% |
%TMPL:END%
---------------------------------------------------------------------------
---+++ toctalk
Talk using TOC adding on end - TWiki:Main/FranzJosefSilli
%TMPL:DEF{PROMPT:toctalk}%
Summary: