Tags:
create new tag
view all tags

Example CommentPlugin templates

Following the format of all the others, add exciting new comment templates here so others can enjoy them too!

before: Comments, signed and dated, added to top

before:INPUT

{table}{tr valign="middle"}{td}{textarea {DISABLED} rows=3 cols=50 name=comment wrap=soft onfocus="if (this.value=='{LOCKMSG}') this.value=''" onblur="if (this.value=='') this.value='{LOCKMSG}'" }{LOCKMSG}{/textarea}{/td}{td}{input {DISABLED} type=submit value='Add below here' /}{/td}{/tr}{/table}

before:OUTPUT

{COMMENT} -- {USERNAME} - {DATE} {TIME} {GROWHEAD}

before:END

after: Comments, signed and dated, added to end

after:INPUT

{table}{tr valign="middle"}{td}{textarea {DISABLED} rows=3 cols=50 name=comment wrap=soft onfocus="if (this.value=='{LOCKMSG}') this.value=''" onblur="if (this.value=='') this.value='{LOCKMSG}'" }{LOCKMSG}{/textarea}{/td}{td}{input {DISABLED} type=submit value='Add above here' /}{/td}{/tr}{/table}

after:OUTPUT

{COMMENT} -- {USERNAME} - {DATE} {TIME} {GROWTAIL}

after:END

bookmark: Bookmarks adding on end

bookmark:INPUT

{hr width="60%"/} URL: {input {DISABLED} type=text size=40 name=comment_url value='http://'} {br /} Link: {input {DISABLED} type=text size=40 name=comment_link} {br /} Text: {input {DISABLED} type=text size = 40 name=comment value="{LOCKMSG}"} {input {DISABLED} type=submit value='Add' /}   bookmark {hr width="90%"/}

bookmark:OUTPUT {LINK}   {COMMENT} --

bookmark:END

toctalk: Talk using TOC adding on end

toctalk:INPUT

{hr width="60%"/} Summary: {input {DISABLED} type=text size=40 name=comment_link} {br /} {textarea {DISABLED} rows=3 cols=50 name=comment wrap=soft}{LOCKMSG}{/textarea}{br /} {input {DISABLED} type=submit value='Add' /}{br /} {hr width="90%"/}

toctalk:OUTPUT

{DATE} {USERNAME}: {LINK}

{COMMENT}

toctalk:END

wikilink: Wikipage and comment

wikilink:INPUT

{input {DISABLED} type=text size = 15 name=comment value="{LOCKMSG}"} {input {DISABLED} type=submit value='Add' /}

wikilink:OUTPUT

{COMMENT} -

wikilink:END

table: Tablerows adding on end

table:INPUT

{hr width="60%"/} Date: {input {DISABLED} type=text size=40 name=comment_link} {br /} City: {input {DISABLED} type=text size = 40 name=comment value=""} {input {DISABLED} type=submit value='Add' /}   entry {hr width="90%"/}

table:OUTPUT| {LINK} | {USERNAME} | {COMMENT} |

table:END

-- CrawfordCurrie - 07 Feb 2004

Topic revision: r1 - 2004-02-07 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.