Templates used in rest of file
Generic prompt box used by other templates
%TMPL:DEF{promptbox}%<div class="commentPlugin commentPluginPromptBox"><small><b>Laissez votre commentaire dans le champ de saisie ci-après</b></small><br /><textarea %DISABLED% rows="%rows|10%" cols="%cols|90%" name="comment" class="twikiInputField" 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|Ajouter ce commentaire%" class="twikiButton" /> <small><i>[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]] - %GMTIME{"$day $month $year"}%</i></small></div><!--/commentPlugin-->%TMPL:END%
Short comment, signed and dated
%TMPL:DEF{outputoneliner}%-----
%URLPARAM{"comment"}% -- [[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]] - %GMTIME{"$day $month $year"}%%TMPL:END%

See rendered template
Default?
Add user with ease
%TMPL:DEF{PROMPT:user}%
<table border="0"><tr><th><small>Qui ?</small></th><th><small>pourquoi ? comment ? infos...</small></th></tr>
<tr><td><select name="who"> <option>
%SEARCH{"%META:FORM.*[U]serForm" web="Accueil" regex="on" casesensitive="on" nosearch="on" format="<option>$topic</option>" sort="topic" excludetopic="Test*, TWiki*" separator=" "}%</option></select></td><td>
<input type="hidden" name="state" value="proposed" /><input type="text" size="40" name="infos" value="%URLPARAM{"infos"}%" /></td></tr><tr><td><input %DISABLED% type="submit" value="%button|M'ajouter %" /></td><td></td></tr></table>
%TMPL:END%
%TMPL:DEF{OUTPUT:user}%%POS:BEFORE% * %MAINWEB%.%URLPARAM{"who"}% %URLPARAM{"infos"}%
%TMPL:END%
Add bon plan
%TMPL:DEF{PROMPT:bon_plan}%
Ajouter un bon plan
titre
description rapide
%TMPL:END%
%TMPL:DEF{OUTPUT:bon_plan}%%POS:AFTER%
--
Wiki Guest - 25 May 2012
Intéressé(e)s :
%TMPL:END%