Tags:
create new tag
, view all tags
ALERT! Note: This topic is not used; the CommentPlugin's user comment templates are at TWiki06x00.UserCommentsTemplate

User Templates for CommentPlugin

System templates are stored in CommentsTmpl -- look there for documentation.


patternbugreport

Bug reports for pattern skin - TWiki:Main.SamHasler
No such template def TMPL:DEF{PROMPT:patternbugreport}
%TMPL:DEF{PROMPT:patternbugreport}%
|  Page | <select %DISABLED% name="patternbugreport_page"> \
<option>view</option> \
<option>view.plain</option> \
<option>view.print</option> \
<option>edit</option> \
<option>preview</option> \
<option>rdiff</option> \
<option>search</option> \
<option>searchbookview</option> \
<option>searchformat</option> \
<option>searchmeta</option> \
<option>searchrenameview</option> \
<option>attach</option> \
<option>attachagain</option> \
<option>attachnew</option> \
<option>attachtables</option> \
<option>changeform</option> \
<option>changes</option> \
<option>moveattachment</option> \
<option>oopslocked</option> \
<option>oopslockedrename</option> \
<option>registernotify</option> \
<option>rename</option> \
<option>renamebase</option> \
<option>renameconfirm</option> \
<option>renamedelete</option> \
<option>renamerefs</option> \
</select> |
|  Description | <input %DISABLED% type="text" size="60" name="patternbugreport_desc" /> |
|  Type of bug | <select %DISABLED% name="patternbugreport_type"> \
    <option>visual</option> \
    <option>functional</option> \
   </select> |
|  Platform | <input %DISABLED% type="text" size="20" name="patternbugreport_platform" /> |
|  Browser name | <input %DISABLED% type="text" size="20" name="patternbugreport_browser" /> |
|  Comment | <input %DISABLED% type="text" size="60" name="patternbugreport_comment" /> |
<input type="submit" value="Submit" />
%TMPL:END%
%TMPL:DEF{OUTPUT:patternbugreport}%
%POS:AFTER%| %URLPARAM{"patternbugreport_page"}% | %URLPARAM{"patternbugreport_desc"}% | %URLPARAM{"patternbugreport_type"}% | %URLPARAM{"patternbugreport_platform"}% | %URLPARAM{"patternbugreport_browser"}% | %URLPARAM{"patternbugreport_comment"}% | |
%TMPL:END%

-- SamHasler - 10 Sep 2004


Pain scale

%TMPL:DEF{PROMPT:painscale}%
|*NOTE:*|<strong>The pain meter has been deprecated. Don't complain - take the pain, and use the Codev.DesireMeter instead!</strong>|
%TMPL:END%
%TMPL:DEF{OUTPUT:painscale}%
%POS:AFTER%
| %URLPARAM{"pain_score"}% | %WIKIUSERNAME% | %URLPARAM{"pain_date"}% |%TMPL:END%
No such template def TMPL:DEF{PROMPT:painscale}

-- CrawfordCurrie - 13 Sep 2004


Desire scale

%TMPL:DEF{PROMPT:desirescale}%
<table bgcolor="cornsilk" border="1"><tr><td>
Share your opinion of this idea by selecting one of the radio buttons below and clicking the button.<input %DISABLED% type="hidden" name="want_date" value="%DATE%"/><br />
<strong><table width="100%" border="0" cellspacing="0"><tr><td>It would be nice ...</td>
<td bgcolor="#00DD00"><input %DISABLED% type="radio" name="want_score" value="1" /><font color="white">1</font></td>
<td bgcolor="#20E000"><input %DISABLED% type="radio" name="want_score" value="2" /><font color="white">2</font></td>
<td bgcolor="#40C000"><input %DISABLED% type="radio" name="want_score" value="3" /><font color="white">3</font></td>
<td bgcolor="#60A000"><input %DISABLED% type="radio" name="want_score" value="4" /><font color="white">4</font></td>
<td bgcolor="#808000"><input %DISABLED% type="radio" name="want_score" checked="checked" value="5" /><font color="white">5</font></td>
<td bgcolor="#A04000"><input %DISABLED% type="radio" name="want_score" value="6" /><font color="white">6</font></td>
<td bgcolor="#C02000"><input %DISABLED% type="radio" name="want_score" value="7" /><font color="white">7</font></td>
<td bgcolor="#E01000"><input %DISABLED% type="radio" name="want_score" value="8" /><font color="white">8</font></td>
<td bgcolor="#FF0000"><input %DISABLED% type="radio" name="want_score" value="9" /><font color="white">9</font></td>
<td> ... I want this so much it hurts</td></tr></table></strong><br /><input %DISABLED% type="submit" value="Submit"/> </table>
%TMPL:END%
%TMPL:DEF{OUTPUT:desirescale}%
%POS:AFTER%
| %URLPARAM{"want_score"}% | %WIKIUSERNAME% | %URLPARAM{"want_date"}% |%TMPL:END%
No such template def TMPL:DEF{PROMPT:desirescale}

-- CrawfordCurrie - 13 Sep 2004


Agreement scale

%TMPL:DEF{PROMPT:Agreementscale}%
<table border="0" align="center" bgcolor="#FFFFCC"><tr><td>
<b>%question|%</b><br />
Do you agree or disagree? Please select one of the radio buttons below and click the button.<input %DISABLED% type="hidden" name="agree_date" value="%DATE%"/><br />
<table width="100%" border="0" cellspacing="1"><tr><td><strong>I </strong> </td>
<td bgcolor="#FF8A8A"><input %DISABLED% type="radio" name="agree_score" value="1" />%sd|1 - Strongly disagree% &nbsp;</td>
<td bgcolor="#CC9900"><input %DISABLED% type="radio" name="agree_score" value="2" /><font color="white">%jd|2 - Disagree% &nbsp;</font></td>
<td bgcolor="#FFFFFF"><input %DISABLED% type="radio" name="agree_score" checked="checked" value="3" />%jn|3 - am Neutral% &nbsp;</td>
<td bgcolor="#60A000"><input %DISABLED% type="radio" name="agree_score" value="4" /><font color="white">%ja|4 - Agree% &nbsp;</font></td>
<td bgcolor="#66CC00"><input %DISABLED% type="radio" name="agree_score" value="5" />%sa|5 - Strongly Agree% &nbsp;</td>
</tr></table><br /> %TMPL:P{promptbox}%
<input %DISABLED% type="submit" value="Submit"/> <br /></td></tr></table>
%TMPL:END%
%TMPL:DEF{OUTPUT:Agreementscale}%
%POS:AFTER%
| %URLPARAM{"agree_score"}% | %WIKIUSERNAME% | %URLPARAM{"agree_date"}% | %URLPARAM{"comment"}% |%TMPL:END%
No such template def TMPL:DEF{PROMPT:Agreementscale}


TopicNameConstrainer

%TMPL:DEF{PROMPT:TopicNameConstrainer}%
<input type="text" name="%field|TopicName%" size="40" value="%default|%" onBlur="var sIn = this.value; var sOut = ''; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var ch2 = ''; if((ch=='&#224;')||(ch=='&#225;')||(ch=='&#226;')||(ch=='&#227;')||(ch=='&#229;') ) { ch = 'a'; } if( (ch=='&#232;')||(ch=='&#233;')||(ch=='&#234;') ) { ch = 'e'; } if( ch=='&#231;') { ch = 'c'; } if( ch=='&#241;') { ch = 'n'; } if( (ch=='&#242;')||(ch=='&#243;')||(ch=='&#244;') ) { ch = 'o'; } if( ch=='&#228;') { ch = 'a'; ch2 = 'e'; } if( ch=='&#246;') { ch = 'o'; ch2 = 'e'; } if( (ch=='&#249;')||(ch=='&#250;')||(ch=='&#251;') ) { ch = 'o'; } if( ch=='&#252;') { ch = 'u'; ch2 = 'e'; } if( ch=='&#196;') { ch = 'A'; ch2 = 'e'; } if( ch=='&#214;') { ch = 'O'; ch2 = 'e'; } if( ch=='&#220;') { ch = 'U'; ch2 = 'e'; } if( ch=='&#223;') { ch = 's'; ch2 = 's'; } if( ((ch>='a')&&(ch<='z')) || ((ch>='A')&&(ch<='Z')) ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { if( ch==' ' ) { chgUpper = true; } } } this.form.%field|TopicName%.value=sOut;" />
%TMPL:END%
%TMPL:DEF{OUTPUT:TopicNameConstrainer}%
No such template def TMPL:DEF{PROMPT:TopicNameConstrainer}


interwikitableentry

Add new InterWikis entry - TWiki:Main.WillNorris
No such template def TMPL:DEF{PROMPT:interwikitableentry}
%TMPL:DEF{PROMPT:interwikitableentry}%
*Alias:* <input type="text" size="20" name="interwikitableentry_alias" /> <br />
*URL:* <input type="text" size="40" name="interwikitableentry_url" /> <br />
*Tooltip:* <input type="text" size="40" name="interwikitableentry_tooltip" /> <br />
<input type="submit" value="%button|Add%" /> new InterWiki link entry 
%TMPL:END%
%TMPL:DEF{OUTPUT:interwikitableentry}%
%POS:BEFORE%| %URLPARAM{"interwikitableentry_alias"}% | %URLPARAM{"interwikitableentry_url"}% | %URLPARAM{"interwikitableentry_tooltip"}% |
%TMPL:END%


clocklink

%TMPL:DEF{PROMPT:clocklink}%
<embed src="http://www.clocklink.com/Clocks/%Clock|0001-Blue%.swf?TimeZone=%TimeZone|GMT%" width="%width|200%" height="%height|200%" wmode="transparent" type="application/x-shockwave-flash" />
%TMPL:END%
%TMPL:DEF{OUTPUT:clocklink}%
%TMPL:END%
No such template def TMPL:DEF{PROMPT:clocklink}


table3col

This is a generic template for adding rows to a 3-column table. Define your table headers and then you can make the labels that are listed before the three text input boxes match using the cell1="Custom label" format in the comment tag. For example,
%COMMENT{ type="table3col" cell1="1st custom label" cell2="2nd custom label" cell3="3rd custom label" }%
produces:
No such template def TMPL:DEF{PROMPT:table3col}

-- TWiki:Main.LynnwoodBrown - 10 Nov 2004

%TMPL:DEF{PROMPT:table3col}%
 *%cell1|Cell 1%:* <input type="text" size="40" name="cell1" /> <br />
 *%cell2|Cell 2%:* <input type="text" size="40" name="cell2" /> <br />
 *%cell3|Cell 3%:* <input type="text" size="40" name="cell3" /> <br />
<input type="submit" value="%button|Submit%" />
%TMPL:END%

%TMPL:DEF{OUTPUT:table3col}%
%POS:BEFORE%| %URLPARAM{"cell1"}% | %URLPARAM{"cell2"}% | %URLPARAM{"cell3"}% |
%TMPL:END%


scientificCalculator

%TMPL:DEF{PROMPT:scientificCalculator}%
<script type="text/javascript">
<!-- HIDE
/*****************************/
/*      openPopupWin         */
/*****************************/
var popupWin;
function openPopupWin(addr)
{ if(popupWin)
    popupWin.close();
  var chasm = screen.availWidth;
  var mount = screen.availHeight;
  var w = 240;
  var h = 410;
                                                                                                                                     popupWin=window.open(addr,'popupWin','status=no, width=' + w + ',height=' + h + ',left='
                           + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));
}
// -->
</script>
 
<A href="javascript:openPopupWin('%PUBURLPATH%/Plugins/ScientificCalculatorTemplate/popup.html')">calc</a>     


%TMPL:END%
No such template def TMPL:DEF{PROMPT:scientificCalculator}


freemind

A viewer for mind maps generated with FreeMind. For more info see the demo below and have a look at http://freemind.sourceforge.net.

Sorry, I can't upload the applet here. It exceeds the upload limit with about 350 kb. Plese see the demo at http://twikiplugins.sourceforge.net/cgi-bin/twiki/view/TWiki/UserTemplates#freemind. You can take the applet and the demo mind map from there. Thanks.

-- AlexanderStedile - 11 Nov 2004

This is also installed at http://wiki.conceptmapping.org/Sandbox/FreeMindTest

-- MartinCleaver - 05 Dec 2004

%TMPL:DEF{commentbox}%

%TMPL:END%

%TMPL:DEF{PROMPT:Agreementquestion}%
<table bgcolor="#FFD8AA" border="1"><tr><td>
<b>Question %qid|ERROR! no qid%: %question|%</b><br />
<input %DISABLED% type="hidden" name="agree_date" value="%DATE%"/><br />
<table width="100%" border="0" cellspacing="1"><tr><td><strong>I... </strong> </td>
<td valign="top" bgcolor="#FF0000"><input %DISABLED% type="radio" name="agree_score%qid|%" value="1" />%sd|1 - Strongly disagree% &nbsp;</td>
<td valign="top" bgcolor="#C02000"><input %DISABLED% type="radio" name="agree_score%qid|%" value="2" /><font color="white">%jd|2 - Disagree% &nbsp;</font></td>
<td valign="top" bgcolor="#FFFFFF"><input %DISABLED% type="radio" name="agree_score%qid|%" checked="checked" value="3" />%jn|3 - am Neutral% &nbsp;</td>
<td valign="top" bgcolor="#60A000"><input %DISABLED% type="radio" name="agree_score%qid|%" value="4" /><font color="white">%ja|4 - Agree% &nbsp;</font></td>
<td valign="top" bgcolor="#00FF00"><input %DISABLED% type="radio" name="agree_score%qid|%" value="5" />%sa|5 - Strongly Agree% &nbsp;</td>
<td>Please specify:%TMPL:P{commentbox}%</td>
</tr></table></table>
%TMPL:END%

%TMPL:DEF{OUTPUT:Agreementquestion}%
%POS:AFTER%
| %URLPARAM{"agree_score%qid|%"}% | %WIKIUSERNAME% | %URLPARAM{"agree_date%qid|%"}% | %URLPARAM{"comment%qid|%"}% |%TMPL:END%

%COMMENT{type="Agreementquestion" qid=1 question="Do you like eggs?"}%
%COMMENT{type="Agreementquestion" qid=2 question="Do you like ham?"}%
%COMMENT{type="Agreementquestion" qid=3 question="Do you like chips?"}%
No such template def TMPL:DEF{PROMPT:Agreementquestion} sounds like a good idea

-- TravisBarker - 31 Jul 2005

No such template def TMPL:DEF{PROMPT:Agreementquestion} No such template def TMPL:DEF{PROMPT:Agreementquestion}

-- MartinCleaver - 22 Nov 2004

mufat

%TMPL:DEF{PROMPT:mufat}%
<div class="muFatInput">
  <textarea %DISABLED% rows="%rows|5%" cols="%cols|90" name="comment" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea>
<div class="muFatSubmit">
  <input %DISABLED% type="submit" accesskey="t" value="%button|Submit%" />
</div>
</div>

<style type="text/css">
.muFatInput { width:80%; }
.muFatInput textarea { 
   width:100%;
   font:normal small sans-serif; 
}
.muFatSubmit { 
   text-align:right; 
   margin-top:5px;
}
.muFatSubmit input {color:blue; }
.muFatDatetime {}
.muFatAuthor {}
.muFatText { margin-bottom:1em; }
.muFatComment { 
  border-left:1ex solid %WEBBGCOLOR%;
  margin-left:2.5ex;
  padding-left:2.5ex; 
  margin-top:5px;
}
</style>
%TMPL:END%

%TMPL:DEF{OUTPUT:mufat}%
%POS:BEFORE%
%POS:BEFORE%<div class="muFatText">
%POS:BEFORE%<span class="muFatAuthor"> %WIKIUSERNAME% </span> -
%POS:BEFORE%<span class="muFatDatetime"> %DATE% </span>
%POS:BEFORE%<div class="muFatComment"> 
%POS:BEFORE%<!-- start comment -->
%POS:BEFORE% %URLPARAM{"comment"}% 
%POS:BEFORE%<!-- stop comment -->
%POS:BEFORE%</div></div>
%POS:BEFORE%
%TMPL:END%

-- MichaelDaum - 07 Apr 2005

submitnews

News Submission Form - TWiki:Main.TravisBarker

note this would go in the WebPreferences or TWikiPreferences [I suggest (& on this site) under TWikiPreferences#TWiki_Application_Settings -> TWikiPreferences#Plugins_CommentPlugin_TWiki_User - SH]

  • #Set ADVOCATEICON = advocate.gif
  • #Set DEVELOPMENTICON = develop.gif
  • #Set BUGSICON = bug.jpg
  • #Set DEPLOYICON = deploy.gif
  • #Set DOCSICON = docs.gif
  • #Set TOOLSICON = tools.jpg
  • #Set COMMUNITYICON = twiki_logo.gif
  • #Set OTHERICON = twiki_logo.gif

submitnews code:

This form is used in CoffeeBreakNewDiscussionForm
%TMPL:DEF{PROMPT:submitnews}%
<table  valign="top">
 <tr>
  <td><h3>Category:</h3><BR />Choose a Coffee<nop>Break Topic Category Icon.</td></tr><tr><td>
   <strong>
    <table width="100%">
     <tr>
      <td><input %DISABLED% type="radio" name="icon" value="ADVOCATE" />Advocacy</td>
      <td><input %DISABLED% type="radio" name="icon" value="DEVELOPMENT" />Development</td>
      <td><input %DISABLED% type="radio" name="icon" value="BUGS" />Bugs</td>
      <td><input %DISABLED% type="radio" name="icon" value="DEPLOY" />Deployment</td>
      <td><input %DISABLED% type="radio" name="icon" value="DOCS" />Docs</td>
      <td><input %DISABLED% type="radio" name="icon" value="TOOLS" />Tools</td>
      <td><input %DISABLED% type="radio" name="icon" value="COMMUNITY" />Community</td>
      <td><input %DISABLED% type="radio" name="icon" checked="checked" value="OTHER" />Other</td>
     </tr>
     <TR>
      <td><img border="0" src="%ADVOCATEICON%" alt="Advocacy"></td>
      <td><img border="0" src="%DEVELOPMENTICON%" alt="Development"></td>
      <td><img border="0" src="%BUGSICON%" alt="Bugs"></td>
      <td><img border="0" src="%DEPLOYICON%" alt="TWiki Deployment"></td>
      <td><img border="0" src="%DOCSICON%" alt="Documentation"></td>
      <td><img border="0" src="%TOOLSICON%" alt="Tools"></td>
      <td><img border="0" src="%COMMUNITYICON%" alt="Community"></td>
      <td><img border="0" src="%OTHERICON%" alt="Other"></td>
     </TR>
    </table>
   </strong>
  </td>
 </tr>
 <tr>
  <td><h3>Headline:</h3><br />Enter a brief Headline. (max: 30 chars)</td></tr>
 <tr>
  <td>
   <input %DISABLED% type="text" maxlength="30" size="31" name="submitnews_headline" />
  </td>
 </tr>
 <tr>
  <td><h3>Summary:</h3><br />Enter a Summary. (simple HTML and TML works)</td></tr>
 <tr>
  <td>
   <textarea %DISABLED% rows="%rows|10%" cols="%cols|80%" name="submitnews_summary" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea>
  </TD>
 </tr>
 <TR>
  <TD colspan="2" align="center">
   <input type="submit" value="Post" />
  </td>
 </tr>
</table>%TMPL:END%
%TMPL:DEF{OUTPUT:submitnews}%

%POS:BEFORE% 

---+++ %URLPARAM{"submitnews_headline"}% 
<img src="%%URLPARAM{"icon"}%ICON%" alt="%URLPARAM{"icon"}%" title="%URLPARAM{"icon"}%" class="twikisubmitnews" style="float: right; margin-top: -1.5em;" />
%URLPARAM{"submitnews_summary"}%

-- %WIKIUSERNAME% - %DATE% %TIME%

%COMMENT{type="above"}%
_<font size="-1">Your signature will be included automatically</font>_
---

%TMPL:END% 
<!-// END SUBMITNEWS OUTPUT FORMATTING TEMPLATE //-->

-- TravisBarker - 27 Apr 2005



Comment Box with Format Buttons

The butons bar are in development... coming soon... See: TWiki:Codev.ButtonsForFormatEditingText

%TMPL:DEF{PROMPT:comment_with_buttons}%
%INCLUDE{"Codev.BaseFormatBar"}%
<textarea %DISABLED% rows="%rows|5%" cols="80" style="width:99%" name="comment" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea>
<br/>
<input %DISABLED% type="submit" value="%button|Add comment%" />
%TMPL:END%

%TMPL:DEF{OUTPUT:comment_with_buttons}%%POS:BEFORE%%TMPL:P{outputstandard}%
%TMPL:END%



Example

No such template def TMPL:DEF{PROMPT:submitnews}

http://twiki.org/cgi-bin/viewfile/Codev/CoffeeBreakNewDiscussionForm?rev=1.1&filename=tools.jpg

Example Headline

This is an example Summary of the headline posted using the submitnews comment template

-- TravisBarker - 02 Apr 2005 08:21:52

As you can see, the News story is posted to the topic with a comment box. to provide users with a way to discuss the story after it has been posted.

-- TravisBarker - 02 Apr 2005 08:34:44

this is an example comments added in reference to the News topic

-- TravisBarker - 02 Apr 2005 22:47:49

Could the icon output be changed to %%URLPARAM{"icon"}%% and just the name of the variable be passed by the form? will that work? That would make it easier to change the icons at a later date.

-- SamHasler - 03 May 2005

*

  • one
Please use the Support forum if you have questions about TWiki features. This comment section is about the documentation of this topic.


simplereport

Simple bug reports
No such template def TMPL:DEF{PROMPT:simplereport}

%TMPL:DEF{PROMPT:simplereport}%<br />
|  *Reporter* | <input %DISABLED% type="text" size="80" name="simplereport_reporter" value="%WIKIUSERNAME%" /> |
| *Type* | <select %DISABLED% name="simplereport_type"><option>WIBNIF</option><option>Annoyance</option><option>Bug</option></select> |
|  *Headline* | <input %DISABLED% type="text" size="80" name="simplereport_headline" /> |
|  *Details* | <textarea %DISABLED% cols="80" rows="15" name="simplereport_details"></textarea> |
|  *Testcase* | <textarea %DISABLED% cols="80" rows="15" name="simplereport_testcase"/></textarea> |
| <input type="submit" value="Add report" /> ||
%TMPL:END%
%TMPL:DEF{OUTPUT:simplereport}%
%POS:AFTER%
---++ %URLPARAM{"simplereport_headline"}%
| Reported by | %URLPARAM{"simplereport_reporter"}% %DATE% |
| Type | %URLPARAM{"simplereport_type"}% |
---+++!! Details
%URLPARAM{"simplereport_details"}%
---+++!! Test Case
%URLPARAM{"simplereport_testcase"}%
---+++!! Response
-------------------------------------------------------------------------------------------------------------------------------------------
%TMPL:END%

WebNotify Sign Up Button

No such template def TMPL:DEF{PROMPT:webnotify}

%TMPL:DEF{PROMPT:webnotify}%<input %DISABLED% type="submit" value="Sign up for email notifications" />%TMPL:END%

%TMPL:DEF{OUTPUT:webnotify}%%POS:BEFORE%   * %WIKIUSERNAME%
%TMPL:END%

-- ChristopherHuhn - 26 Aug 2005


Risk database

risklink

  • This template is used for creating table entries with parent page on one cell and the child page on the other.
  • Ready for use, use from an included page (because of BASETOPIC-parameter on parent search) of child topic

%TMPL:DEF{PROMPT:risklink}%
 *%risk|Risk%:* <input type="text" size="40" name="Risk" value="%SEARCH{ "^%BASETOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%" />
 *%mitigation|Mitigation%:* <input type="text" size="40" name="Mitigation" value="%BASETOPIC%" /> <br />
<input type="submit" value="Submit" />
%TMPL:END%

%TMPL:DEF{OUTPUT:risklink}%
%POS:BOTTOM%| %URLPARAM{"Risk"}% | %URLPARAM{"Mitigation"}% | 
%TMPL:END%

Add Linking to Risk database

  • This template is used for creating links to certain point of page, defined by 'location'
  • Link is defined with URLPARAM, destination page is defined with 'target'
  • Note: Will still be changed

%TMPL:DEF{PROMPT:addlinking}%
 *%risk|Risk%:* <input type="text" size="40" name="risk" value="%URLPARAM{"risktopic"}%" />
 *%mitigation|Mitigation%:* <input disabled type="text" size="40" name="description" value="%URLPARAM{"mitigationtopic"}%" />
<input type="submit" value="Submit" />
%TMPL:END%

%TMPL:DEF{OUTPUT:addlinking}%
%POS:AFTER%
<!--record %URLPARAM{"risk"}% -->%TMPL:END%

-- MikkoLaakso - 14 Sep 2005

Create new topic

No such template def TMPL:DEF{PROMPT:createnewtopic}

%TMPL:DEF{PROMPT:createnewtopic}%
<form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%"}%/">
%COMMENT{type="TopicNameConstrainer" field="topic" noform="on"}%
     <input type="hidden" name="templatetopic" value="" />
     <input type="hidden" name="topicparent" value="%TOPIC%" />
     <input type="hidden" name="onlywikiname" value="on" />
     <input type="hidden" name="onlynewtopic" value="on" />
     <input type="submit" value="Create" />
</form>
%TMPL:END%

bullet

A simple bullet list for Support.HowToBrainstormFineGrain (multi-user bullet list for brainstorming during conference calls)

%TMPL:DEF{PROMPT:bullet}%<ul><li><input type="text" name="comment" size=50><input %DISABLED% type="submit" value="Add Bullet" /></li></ul>%TMPL:END%
%TMPL:DEF{OUTPUT:bullet}%%POS:BEFORE%   * %URLPARAM{"comment"}%
%TMPL:END%

No such template def TMPL:DEF{PROMPT:bullet}


Add action item

See Sandbox.EditActionItems for usage example

%TMPL:DEF{PROMPT:editaction_table}%
%TABLE{ valign="top" }%
| <b>Add new action item</b> ||||
|  Description: | <input %DISABLED% type="text" size="80" name="descr" value="" /> |||
|  Assigned to: | <input %DISABLED% type="text" size="30" name="assign" value="%MAINWEB%." /> | &nbsp; Due date: <input %DISABLED% type="text" size="12" name="due" value="%SERVERTIME{$year/$mo/$day}%" /> | &nbsp; <input type="hidden" name="state" value="open" /> <input %DISABLED% type="submit" value="%button|Add%" /> |
%TMPL:END%

%TMPL:DEF{OUTPUT:editaction_table}%
%POS:BEFORE%|<!--ACTIONITEM-->| %URLPARAM{"assign"}% | %URLPARAM{"due"}% | %URLPARAM{"descr"}% | %URLPARAM{"state"}% |
%TMPL:END%

-- PeterThoeny - 03 Dec 2005


Add action item 2

See Sandbox.EditActionItems for usage example

%TMPL:DEF{PROMPT:editaction_2_table}%
%TABLE{ valign="top" }%
| <b>Add new action item</b> ||||
| System: | <input %DISABLED% type="text" size="30" name="system" values="" /> |||
| Description: | <input %DISABLED% type="text" size="80" name="descr" value="" /> |||
|  Assigned to: | <input %DISABLED% type="text" size="30" name="assign" value="%MAINWEB%." /> | &nbsp; Due date: <input %DISABLED% type="text" size="12" name="due" value="%SERVERTIME{$year/$mo/$day}%" /> | &nbsp; <input type="hidden" name="state" value="open" /> <input %DISABLED% type="submit" value="%button|Add%" /> |
%TMPL:END%

%TMPL:DEF{OUTPUT:editaction_2_table}%
%POS:BEFORE%|<!--ACTIONITEM-->| %URLPARAM{"system"}% | %URLPARAM{"assign"}% | %URLPARAM{"due"}% | %URLPARAM{"descr"}% | %URLPARAM{"state"}% |
%TMPL:END%

-- WalterCache - 26 Feb 2006


Generic vote

See Sandbox.GenericVote for usage example

%TMPL:DEF{PROMPT:generic_vote}%
%TABLE{ valign="top" }%
<b>Add my vote:</b>
<noautolink>
<select name="myvote">
%CALC{$LISTMAP(<option>$item</option>, %GENERICVOTE%)}%
</select>
</noautolink>
<input %DISABLED% type="submit" value="%button|It is!%" /> |
%TMPL:END%

%TMPL:DEF{OUTPUT:generic_vote}%
%POS:BEFORE%| %WIKIUSERNAME% | %URLPARAM{"myvote"}% <!--VOTE--> |
%TMPL:END%

-- PeterThoeny - 02 Jan 2007

Edit | Attach | Watch | Print version | History: r71 < r70 < r69 < r68 < r67 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r71 - 2007-01-02 - PeterThoeny
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.