System templates are stored in
CommentPluginTemplate -- look there for documentation.
Generic vote
See
Sandbox.GenericVote for usage example
Set GENERICVOTE = Foo , Bar
%TMPL:DEF{PROMPT:generic_vote}%
<b>Add my vote:</b>
<noautolink>
<select name="myvote">
%GENERICVOTE%
</select>
</noautolink>
<input %DISABLED% type="submit" value="%button|Go!%" />
%TMPL:END%
%TMPL:DEF{OUTPUT:generic_vote}%%POS:BEFORE%| %WIKIUSERNAME% | %URLPARAM{"myvote"}% <!--VOTE--> |
%TMPL:END%
--
PeterThoeny - 02 Jan 2007
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%
--
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%
--
CrawfordCurrie - 13 Sep 2004
TWiki table that collects results from a poll about satisfaction with a
TWikiExtension
%TMPL:DEF{PROMPT:ExtensionAppraisalPoll}%
%TABLE{ headeralign="left" }%
| Plugins.IdeaQuality: Never mind the implementation, how good is the basic *idea*? | <select %DISABLED% id="ideaQuality" name="ideaQuality" class="twikiSelect"> \
<option value="5">5 - Excellent</option> \
<option value="4">4 - Good</option> \
<option value="3" selected="selected">3 - Not rated</option> \
<option value="2">2 - Questionable</option> \
<option value="1">1 - Poor</option> \
</select> |
| Plugins.DesignQuality: How well designed is the extension from a *user* perspective? | <select %DISABLED% id="designQuality" name="designQuality" class="twikiSelect">\
<option value="5">5 - Excellent</option> \
<option value="4">4 - Good</option> \
<option value="3" selected="selected">3 - Not rated</option> \
<option value="2">2 - Questionable</option> \
<option value="1">1 - Poor</option> \
</select> |
| Plugins.DocumentationQuality: How good is the documentation? | <select %DISABLED% name="documentationQuality" id="documentationQuality" class="twikiSelect">\
<option value="5">5 - Excellent</option> \
<option value="4">4 - Good</option> \
<option value="3" selected="selected">3 - Not rated</option> \
<option value="2">2 - Questionable</option> \
<option value="1">1 - Poor</option> \
</select> |
| Plugins.ExampleUsefulness: How good are the examples? Did they help you understand the extension? |<select %DISABLED% name="examplesQuality" id="examplesQuality" class="twikiSelect">\
<option value="5">5 - Excellent</option> \
<option value="4">4 - Good</option> \
<option value="3" selected="selected">3 - Not rated</option> \
<option value="2">2 - Questionable</option> \
<option value="1">1 - Poor</option> \
</select> |
| Plugins.InstallationCleanliness: Was the installation easy? Was there an installer script? Was it easy to resolve dependencies? | <select %DISABLED% name="installationCleanliness" id="installationCleanliness" class="twikiSelect">\
<option value="5">5 - Excellent</option> \
<option value="4">4 - Good</option> \
<option value="3" selected="selected">3 - Not rated</option> \
<option value="2">2 - Questionable</option> \
<option value="1">1 - Poor</option> \
</select> |
| Plugins.ImplementationQuality: If you are not a programmer, you will probably want to set this as 'Not rated'. Programmers, please review the code before marking this! | <select %DISABLED% id="implementationQuality" name="implementationQuality" class="twikiSelect">\
<option value="5">5 - Excellent</option> \
<option value="4">4 - Good</option> \
<option value="3" selected="selected">3 - Not rated</option> \
<option value="2">2 - Questionable</option> \
<option value="1">1 - Poor</option> \
</select> |
| *About your install* ||
| How many TWiki installations have you installed this on? | <input %DISABLED% class="twikiInputField" type="text" name="sites" size="3" value="0"> |
| Did you have to change the extensions code (e.g. to get it working)? | <select %DISABLED% name="extensionhacked" class="twikiSelect"> \ <option>no</option> \
<option>yes</option> \
</select> |
| Did you have to change TWiki's code for this extension? | <select %DISABLED% name="twikihacked" class="twikiSelect"> \
<option>no</option> \
<option>yes</option> \
</select> |
| Comment | <input type="text" name="Comment" size="60" class="twikiInputField" /> |
<input type="submit" value="Submit" class="twikiSubmit" />
%TMPL:END%
%TMPL:DEF{OUTPUT:ExtensionAppraisalPoll}%%POS:BEFORE%| %WIKIUSERNAME% | %URLPARAM{"ideaQuality"}% | %URLPARAM{"designQuality"}% | %URLPARAM{"implementationQuality"}% | %URLPARAM{"documentationQuality"}% | %URLPARAM{"examplesQuality"}% | %URLPARAM{"installationCleanliness"}% | %URLPARAM{"sites"}% | %URLPARAM{"extensionhacked"}% | %URLPARAM{"twikihacked"}% | %URLPARAM{"Comment"}% |
%TMPL:END%
Comment box removed from appraisal since multiline entries break the appraisal tables:
| Comment | <textarea %DISABLED% type="text" rows="8" cols="40" name="Comment" class="twikiTextarea">%URLPARAM{"Comment"}%</textarea> |
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%" class="twikiInputField"/><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% </td>
<td bgcolor="#CC9900"><input %DISABLED% type="radio" name="agree_score" value="2" /><font color="white">%jd|2 - Disagree% </font></td>
<td bgcolor="#FFFFFF"><input %DISABLED% type="radio" name="agree_score" checked="checked" value="3" />%jn|3 - am Neutral% </td>
<td bgcolor="#60A000"><input %DISABLED% type="radio" name="agree_score" value="4" /><font color="white">%ja|4 - Agree% </font></td>
<td bgcolor="#66CC00"><input %DISABLED% type="radio" name="agree_score" value="5" />%sa|5 - Strongly Agree% </td>
</tr></table><br /> %TMPL:P{promptbox}%
<input %DISABLED% type="submit" value="Submit" class="twikiSubmit"/> <br /></td></tr></table>
%TMPL:END%
%TMPL:DEF{OUTPUT:Agreementscale}%
%POS:AFTER%
| %URLPARAM{"agree_score"}% | %WIKIUSERNAME% | %URLPARAM{"agree_date"}% | %URLPARAM{"comment"}% |%TMPL:END%
%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=='à')||(ch=='á')||(ch=='â')||(ch=='ã')||(ch=='å') ) { ch = 'a'; } if( (ch=='è')||(ch=='é')||(ch=='ê') ) { ch = 'e'; } if( ch=='ç') { ch = 'c'; } if( ch=='ñ') { ch = 'n'; } if( (ch=='ò')||(ch=='ó')||(ch=='ô') ) { ch = 'o'; } if( ch=='ä') { ch = 'a'; ch2 = 'e'; } if( ch=='ö') { ch = 'o'; ch2 = 'e'; } if( (ch=='ù')||(ch=='ú')||(ch=='û') ) { ch = 'o'; } if( ch=='ü') { ch = 'u'; ch2 = 'e'; } if( ch=='Ä') { ch = 'A'; ch2 = 'e'; } if( ch=='Ö') { ch = 'O'; ch2 = 'e'; } if( ch=='Ü') { ch = 'U'; ch2 = 'e'; } if( ch=='ß') { 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}%
interwikitableentry
Add new
InterWikis entry -
TWiki:Main.WillNorris
%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%
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:
--
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%
calc
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% </td>
<td valign="top" bgcolor="#C02000"><input %DISABLED% type="radio" name="agree_score%qid|%" value="2" /><font color="white">%jd|2 - Disagree% </font></td>
<td valign="top" bgcolor="#FFFFFF"><input %DISABLED% type="radio" name="agree_score%qid|%" checked="checked" value="3" />%jn|3 - am Neutral% </td>
<td valign="top" bgcolor="#60A000"><input %DISABLED% type="radio" name="agree_score%qid|%" value="4" /><font color="white">%ja|4 - Agree% </font></td>
<td valign="top" bgcolor="#00FF00"><input %DISABLED% type="radio" name="agree_score%qid|%" value="5" />%sa|5 - Strongly Agree% </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?"}%
sounds like a good idea
--
TravisBarker - 31 Jul 2005
Question 2: Do you like ham?
Question 3: Do you like chips?
--
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
#Set ADVOCATEICON =
#Set DEVELOPMENTICON =
#Set BUGSICON =
#Set DEPLOYICON =
#Set DOCSICON =
#Set TOOLSICON =
#Set COMMUNITYICON =
#Set OTHERICON =
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
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
*
simplereport
Simple bug reports
%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%
%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
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%
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
%COMMENT{type="TopicNameConstrainer" field="topic" noform="on"}%
%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%
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="%WIKIUSERNAME%" /> | Due date: <input %DISABLED% type="text" size="12" name="due" value="%SERVERTIME{$year-$mo-$day}%" /> | <input type="hidden" name="state" value="open" /> <input %DISABLED% type="submit" value="%button|Add%" class="twikiSubmit" /> |
%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%." /> | Due date: <input %DISABLED% type="text" size="12" name="due" value="%SERVERTIME{$year/$mo/$day}%" /> | <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
Add action items with ease
Action added to action table directly above comment box
(requires
TWiki:Plugins/ActionTrackerPlugin )
%TMPL:DEF{PROMPT:easy_action}%
<br />
<table width="90%" border="1" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td colspan="4" rowspan="1"><b>Add new action item</b></td>
</tr>
<tr>
<td align="right" width="30%">Description:</td>
<td colspan="4" rowspan="1"><input %DISABLED% type="text" size="80" name="action_comment" value="" /></td>
</tr>
<tr>
<td align="right" width="30%">Assigned to:</td>
<td width="25%"><select name="action_who"> <option>
%SEARCH{"%META:FORM.*[U]serForm" web="%MAINWEB%" regex="on" topic="Aa*" casesensitive="on" nosearch="on" format="<option>$topic</option>" sort="topic" excludetopic="Test*, TWiki*" separator=" "}%</option></select></td>
<td align="center" width="30%"> Due date: <input %DISABLED% type="text" size="12" name="action_due" value="%SERVERTIME{$mo/$day/$year}%" /></td>
<input type="hidden" name="state" value="proposed" /></td>
<td align="right"><input %DISABLED% type="submit" value="%button|Add action%" /></td>
</tr>
</tbody>
</table>
%TMPL:END%
%TMPL:DEF{OUTPUT:easy_action}%%POS:BEFORE%%AC%NOP%TION{who="%URLPARAM{"action_who"}%" due="%URLPARAM{"action_due"}%" notify="%WIKIUSERNAME%"}% %URLPARAM{"action_comment" newline="<br />"}%<br />- Created by %WIKIUSERNAME%, %SERVERTIME%
%TMPL:END%
--
AlokNarula
Query in Support web
Supports changing status on comment
%TMPL:DEF{PROMPT:supportquery}%%TMPL:P{promptbox}%Change status to: <select %DISABLED% name="SupportStatus">
<option %IF{"'%FORMFIELD{SupportStatus}%'='AskedQuestions'" then="selected='selected'"}%>AskedQuestions</option>
<option %IF{"'%FORMFIELD{SupportStatus}%'='AssignedQuestions'" then="selected='selected'"}%>AssignedQuestions</option>
<option %IF{"'%FORMFIELD{SupportStatus}%'='AnsweredQuestions'" then="selected='selected'"}%>AnsweredQuestions</option>
<option %IF{"'%FORMFIELD{SupportStatus}%'='ClosedUnanswered'" then="selected='selected'"}%>ClosedUnanswered</option>
</select>%TMPL:END%
%TMPL:DEF{OUTPUT:supportquery}%%TMPL:P{OUTPUT:threadmode}%%TMPL:END%
Add Ledger Entry
%TMPL:DEF{PROMPT:accountledger_table}%
%TABLE{ valign="top" }%
| <b>Add new ledger entry:</b> |||||
| Description: | <input %DISABLED% type="text" size="90" name="descr" value="" /> ||||
| Made By: | %WIKIUSERNAME% | Date: <input %DISABLED% type="text" size="12" name="date" value="%SERVERTIME{$mo/$day/$year}%" /> | Debit: <input type="text" size="6" name="debit" value="" /> | Credit: <input type="text" size="6" name="credit" value="" /> <input %DISABLED% type="submit" value="%button|Add Entry%" /> |
%TMPL:END%
%TMPL:DEF{OUTPUT:accountledger_table}%%POS:BEFORE%| <!--LEDGERITEM--> | <!-- %MAINWEB%.%USERNAME% --> | %URLPARAM{"date"}% | %URLPARAM{"descr"}% | %URLPARAM{"debit"}% | %URLPARAM{"credit"}% | %CALC{ %BALANCE% }% |
%TMPL:END%
--
KeithHelfrich - 25 Dec 2006
Add Checklist Item
%TMPL:DEF{PROMPT:checklist_table}%
%TABLE{ valign="top" }%
| Add Checklist Item ||||||||
| *Status* <br/> <input %DISABLED% type="hidden" size="16" name="clitem_id" value="%SERVERTIME{$year$month$day$hour$min$sec}%" />%N% | *To Do* <br /> <input type="text" size="30" name="to_do" value="" /> | *Comment* <br /> <input type="text" size="50" name="comment" value="" /> | <input %DISABLED% type="submit" value="%button|Add New Entry%" /> <br/> [[%TOPIC%ChecklistItemState][maintain states]] |
%TMPL:END%
%TMPL:DEF{OUTPUT:checklist_table}%%POS:BEFORE%| %CLI{id="%URLPARAM{"clitem_id"}%"}% | %URLPARAM{"to_do"}% | %URLPARAM{"comment"}% |
%TMPL:END%
--
KeithHelfrich - 15 Jul 2007
Issue list (German)
See
Sandbox.RandomTestTopic12976 for usage example
%TMPL:DEF{PROMPT:editaction_table_KF}%
%TABLE{ valign="top" }%
| <b>Neues Problem</b> ||||
| Beschreibung: | <textarea %DISABLED% cols="80" rows="4" name="descr" value="" ></textarea> |||
| erkannt am: | <input %DISABLED% type="text" size="12" name="date" value="%SERVERTIME{$day.$mo.$year}%" /> | <input type="hidden" name="state" value="offen" /> ||
| Hinweise: | <input %DISABLED% type="text" size="80" name="solution" value="keine" />|||
| <b><input %DISABLED% type="submit" value="%button|Hinzufügen%" /></b> |||
%TMPL:END%
%TMPL:DEF{OUTPUT:editaction_table_KF}%%POS:BEFORE%|<!--ACTIONITEM-->| %URLPARAM{"descr" newline="<br />" encode="off"}% | %URLPARAM{"date"}% | %URLPARAM{"state"}% | %URLPARAM{"solution" newline="<br />"}% |
%TMPL:END%
--
KarstenFestag - 2010-05-05