data/TWiki/TwistyPlugin.txt,v
changeset 0 414e01d06fd5
child 1 e2915a7cbdfa
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/TwistyPlugin.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,818 @@
     1.4 +head	1.2;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.2
    1.12 +date	2008.01.22.03.21.32;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	1.1;
    1.15 +
    1.16 +1.1
    1.17 +date	2007.01.16.04.12.00;	author TWikiContributor;	state Exp;
    1.18 +branches;
    1.19 +next	;
    1.20 +
    1.21 +
    1.22 +desc
    1.23 +@buildrelease
    1.24 +@
    1.25 +
    1.26 +
    1.27 +1.2
    1.28 +log
    1.29 +@buildrelease
    1.30 +@
    1.31 +text
    1.32 +@%META:TOPICINFO{author="BaseUserMapping_333" date="1195487956" format="1.1" version="2"}%
    1.33 +---+!! <nop>%TOPIC%
    1.34 +
    1.35 +*A "twisty" is an interface toggle control to show and hide content.*
    1.36 +
    1.37 +!TwistyPlugin gives you several options to control the appearance of a twisty:
    1.38 +   * use link text or buttons
    1.39 +   * position an icon left or right
    1.40 +   * remember the state at the next visit of the page
    1.41 +   * start the Twisty open or closed
    1.42 +   * start the Twisty open or closed for the first visit
    1.43 +   * use a span or div for the content
    1.44 +   * set a class for the content span or div
    1.45 +
    1.46 +Twisty has a fallback mechanism in case !JavaScript is not available: all content is displayed and the control buttons are hidden.
    1.47 +
    1.48 +%TOC{title="On this page:"}%
    1.49 +
    1.50 +---++ Usage examples
    1.51 +---+++ Triad
    1.52 +A Twisty consists of 3 elements:
    1.53 +   1 Show button
    1.54 +   1 Hide button
    1.55 +   1 Collapsing content ('Toggle')
    1.56 +   
    1.57 +The typical !TwistyPlugin triad will look like this (pseudo code):
    1.58 +
    1.59 +<verbatim>
    1.60 +%TWISTYSHOW{}% %TWISTYHIDE{}%
    1.61 +(there may be other things between buttons and content)
    1.62 +%TWISTYTOGGLE{}% my content %ENDTWISTYTOGGLE%
    1.63 +</verbatim>
    1.64 +
    1.65 +---+++ Shorthand
    1.66 +
    1.67 +The Twisty triad is conveniently packed into shorthand =%<nop>TWISTY{some parameters}% Collapsing content %<nop>ENDTWISTY%=:
    1.68 +
    1.69 +<verbatim>
    1.70 +%TWISTY{}%
    1.71 +my twisty content
    1.72 +%ENDTWISTY%
    1.73 +</verbatim>
    1.74 +
    1.75 +Will generate:
    1.76 +
    1.77 +%TWISTY{}%
    1.78 +%GREEN% my twisty content %ENDCOLOR%
    1.79 +%ENDTWISTY%
    1.80 +
    1.81 +You may have noticed that no parameters are passed to =%<nop>TWISTY{}%= but the show and hide links _do_ have text! The default values are fetched from plugin settings =TWISTYSHOWLINK= and =TWISTYHIDELINK=, see [[#PluginSettings][Plugin Settings]] below.
    1.82 +
    1.83 +
    1.84 +---+++ Twisty with icons
    1.85 +We will use =mode="div"= to put the collapsing content below the button (the default mode is ="span"=).
    1.86 +
    1.87 +<verbatim>
    1.88 +%TWISTY{
    1.89 +mode="div"
    1.90 +showlink="Show..."
    1.91 +hidelink="Hide"
    1.92 +showimgleft="%ICONURLPATH{toggleopen-small}%"
    1.93 +hideimgleft="%ICONURLPATH{toggleclose-small}%"
    1.94 +}%
    1.95 +my twisty content
    1.96 +%ENDTWISTY%
    1.97 +</verbatim>
    1.98 +
    1.99 +It will look like this:
   1.100 +
   1.101 +%TWISTY{
   1.102 +mode="div"
   1.103 +showlink="Show..."
   1.104 +hidelink="Hide"
   1.105 +showimgleft="%ICONURLPATH{toggleopen-small}%"
   1.106 +hideimgleft="%ICONURLPATH{toggleclose-small}%"
   1.107 +}%
   1.108 +%GREEN% my twisty content %ENDCOLOR%
   1.109 +%ENDTWISTY%
   1.110 +
   1.111 +To put icons at the right side, write
   1.112 +<verbatim>
   1.113 +%TWISTY{
   1.114 +mode="div"
   1.115 +showlink="Show&nbsp;"
   1.116 +hidelink="Hide&nbsp;"
   1.117 +showimgright="%ICONURLPATH{toggleopen-small}%"
   1.118 +hideimgright="%ICONURLPATH{toggleclose-small}%"
   1.119 +}%
   1.120 +my twisty content
   1.121 +%ENDTWISTY%
   1.122 +</verbatim>
   1.123 +
   1.124 +%TWISTY{
   1.125 +mode="div"
   1.126 +showlink="Show&nbsp;"
   1.127 +hidelink="Hide&nbsp;"
   1.128 +showimgright="%ICONURLPATH{toggleopen-small}%"
   1.129 +hideimgright="%ICONURLPATH{toggleclose-small}%"
   1.130 +}%
   1.131 +%GREEN% my twisty content %ENDCOLOR%
   1.132 +%ENDTWISTY%
   1.133 +
   1.134 +
   1.135 +
   1.136 +---+++ Make it remember
   1.137 +To store the last state in a TWIKIPREF cookie, add the parameter =remember="on"=.%BR%
   1.138 +To test this, reload the page after toggling.
   1.139 +
   1.140 +<verbatim>
   1.141 +%TWISTY{
   1.142 +showlink="Show..."
   1.143 +hidelink="Hide"
   1.144 +remember="on"
   1.145 +}%
   1.146 +my twisty content
   1.147 +%ENDTWISTY%
   1.148 +</verbatim>
   1.149 +
   1.150 +%TWISTY{
   1.151 +showlink="Show..."
   1.152 +hidelink="Hide"
   1.153 +remember="on"
   1.154 +}%
   1.155 +%GREEN% my twisty content %ENDCOLOR%
   1.156 +%ENDTWISTY%
   1.157 +
   1.158 +If a Twisty state has been stored in a TWIKIPREF cookie before, it can be cleared by using =remember="off"=:
   1.159 +
   1.160 +<verbatim>
   1.161 +%TWISTY{
   1.162 +showlink="Show..."
   1.163 +hidelink="Hide"
   1.164 +remember="off"
   1.165 +}%
   1.166 +my twisty content
   1.167 +%ENDTWISTY%
   1.168 +</verbatim>
   1.169 +
   1.170 +%TWISTY{
   1.171 +showlink="Show..."
   1.172 +hidelink="Hide"
   1.173 +remember="off"
   1.174 +}%
   1.175 +%GREEN% my twisty content %ENDCOLOR%
   1.176 +%ENDTWISTY%
   1.177 +
   1.178 +*NOTE:* Twisty ids are generated automatically. If you need control over exactly _which_ Twisty should be remembered, add the parameter =id=:
   1.179 +
   1.180 +<verbatim>
   1.181 +%TWISTY{
   1.182 +id="currentCustomerList"
   1.183 +showlink="Show..."
   1.184 +hidelink="Hide"
   1.185 +remember="on"
   1.186 +}%
   1.187 +my customer list
   1.188 +%ENDTWISTY%
   1.189 +</verbatim>
   1.190 +
   1.191 +Note that =id= sets a sitewide cookie. To create a unique id, add topic or web variables:
   1.192 +<verbatim>
   1.193 +id="%WEB%_%TOPIC%_currentCustomerList"
   1.194 +</verbatim>
   1.195 +
   1.196 +
   1.197 +
   1.198 +---+++ Make it obey
   1.199 +To let the Twisty start with its content folded open, add parameter =start="show"=. 
   1.200 +
   1.201 +<verbatim>
   1.202 +%TWISTY{
   1.203 +showlink="Show..."
   1.204 +hidelink="Hide"
   1.205 +start="show"
   1.206 +}%
   1.207 +my twisty content
   1.208 +%ENDTWISTY%
   1.209 +</verbatim>
   1.210 +
   1.211 +%TWISTY{
   1.212 +showlink="Show..."
   1.213 +hidelink="Hide"
   1.214 +start="show"
   1.215 +}%
   1.216 +%GREEN% my twisty content %ENDCOLOR%
   1.217 +%ENDTWISTY%
   1.218 +
   1.219 +Likewise use =start="hide"= to start with hidden content.
   1.220 +
   1.221 +<verbatim>
   1.222 +%TWISTY{
   1.223 +showlink="Show..."
   1.224 +hidelink="Hide
   1.225 +start="hide"
   1.226 +}%
   1.227 +my twisty content
   1.228 +%ENDTWISTY%
   1.229 +</verbatim>
   1.230 +
   1.231 +%TWISTY{
   1.232 +showlink="Show..."
   1.233 +hidelink="Hide
   1.234 +start="hide"
   1.235 +}%
   1.236 +%GREEN% my twisty content %ENDCOLOR%
   1.237 +%ENDTWISTY%
   1.238 +
   1.239 +
   1.240 +
   1.241 +---+++ Make it obey only the first time
   1.242 +To let the Twisty start with its content folded open the first time the visitor sees the Twisty, add the parameter =firststart="show"=.
   1.243 +If =remember="on"= is used, subsequential visits to the page will display the Twisty according the cookie setting.
   1.244 +
   1.245 +<verbatim>
   1.246 +%TWISTY{
   1.247 +showlink="Show..."
   1.248 +hidelink="Hide"
   1.249 +firststart="show"
   1.250 +}%
   1.251 +my twisty content
   1.252 +%ENDTWISTY%
   1.253 +</verbatim>
   1.254 +
   1.255 +%TWISTY{
   1.256 +showlink="Show..."
   1.257 +hidelink="Hide"
   1.258 +firststart="show"
   1.259 +}%
   1.260 +%GREEN% my twisty content %ENDCOLOR%
   1.261 +%ENDTWISTY%
   1.262 +
   1.263 +
   1.264 +---+++ Other use: hide interface parts in case of no !JavaScript
   1.265 +
   1.266 +You can use Twisty to show interface elements that should only be visible with !JavaScript enabled. For instance the textbox control buttons in the edit screen need !JavaScript to work. If a visitor does not have !JavaScript on it would not make sense to show these buttons.
   1.267 +
   1.268 +Put the "JavaScript content" in an almost bare bones Twisty. Write =showlink="" hidelink=""= to not display any default link texts.
   1.269 +
   1.270 +<verbatim>
   1.271 +%TWISTY{
   1.272 +link=""
   1.273 +noscript="hide"
   1.274 +start="show"
   1.275 +}%
   1.276 +<input type="submit" class="twikiButton" value="You surely have !JavaScript" />
   1.277 +%ENDTWISTY%
   1.278 +</verbatim>
   1.279 +
   1.280 +%TWISTY{
   1.281 +link=""
   1.282 +noscript="hide"
   1.283 +start="show"
   1.284 +}%
   1.285 +<input type="submit" class="twikiButton" value="You surely have !JavaScript" />
   1.286 +%ENDTWISTY%
   1.287 +
   1.288 +Do not forget to set =start="show"= to show the Twisty content at all. 
   1.289 +
   1.290 +When !JavaScript is off, the button should be invisible.
   1.291 +
   1.292 +This code will show the button when !JavaScript is off:
   1.293 +
   1.294 +<verbatim>
   1.295 +%TWISTY{
   1.296 +link=""
   1.297 +start="show"
   1.298 +}%
   1.299 +<input type="submit" class="twikiButton" value="You might have !JavaScript" />
   1.300 +%ENDTWISTY%
   1.301 +</verbatim>
   1.302 +
   1.303 +%TWISTY{
   1.304 +link=""
   1.305 +start="show"
   1.306 +}%
   1.307 +<input type="submit" class="twikiButton" value="You might have !JavaScript" />
   1.308 +%ENDTWISTY%
   1.309 +
   1.310 +
   1.311 +
   1.312 +---+++ Styling the Twisty
   1.313 +Use parameter =class= to style the content div or class:
   1.314 +
   1.315 +<verbatim>
   1.316 +%TWISTY{
   1.317 +mode="div"
   1.318 +showlink="Show..."
   1.319 +hidelink="Hide"
   1.320 +class="twikiHelp"
   1.321 +}%
   1.322 +my twisty content
   1.323 +%ENDTWISTY%
   1.324 +</verbatim>
   1.325 +
   1.326 +Generates: %BR%
   1.327 +%TWISTY{
   1.328 +mode="div"
   1.329 +showlink="Show..."
   1.330 +hidelink="Hide"
   1.331 +class="twikiHelp"
   1.332 +}%
   1.333 +%GREEN% my twisty content %ENDCOLOR%
   1.334 +%ENDTWISTY%
   1.335 +
   1.336 +
   1.337 +---+++ Twisty headers
   1.338 +To be able to use header tags like =&lt;h2>=, use the properties =prefix= and =suffix=. Because we have identical show and hide links we can use the shorthand property =link=.
   1.339 +
   1.340 +<verbatim>
   1.341 +%TWISTY{
   1.342 +prefix="<h4>!!"
   1.343 +mode="div"
   1.344 +link="Header"
   1.345 +showimgleft="%ICONURLPATH{toggleopen}%"
   1.346 +hideimgleft="%ICONURLPATH{toggleclose}%"
   1.347 +suffix="</h4>"
   1.348 +}%
   1.349 +my twisty content
   1.350 +%ENDTWISTY%
   1.351 +</verbatim>
   1.352 +
   1.353 +Add the =!!= to prevent the twisty header appear in the table of contents when you use =%<nop>TOC%=.
   1.354 +
   1.355 +Will create:
   1.356 +
   1.357 +%TWISTY{
   1.358 +prefix="<h4>!!"
   1.359 +link="Header"
   1.360 +showimgleft="%ICONURLPATH{toggleopen}%"
   1.361 +hideimgleft="%ICONURLPATH{toggleclose}%"
   1.362 +suffix="</h4>"
   1.363 +}%
   1.364 +%GREEN% my twisty content %ENDCOLOR%
   1.365 +%ENDTWISTY%
   1.366 +
   1.367 +---+++ All on, all off
   1.368 +
   1.369 +You can toggle all Twisties on or off at once by putting a link or button on the page with class =twistyExpandAll= or =twistyCollapseAll=.
   1.370 +
   1.371 +<verbatim>
   1.372 +<button class="twistyExpandAll twikiButton">Expand all</button> &nbsp; <button class="twistyCollapseAll twikiButton">Collapse all</button>
   1.373 +</verbatim>
   1.374 +
   1.375 +Creates these controls:
   1.376 +
   1.377 +<button class="twistyExpandAll twikiButton">Expand all</button> &nbsp; 
   1.378 +<button class="twistyCollapseAll twikiButton">Collapse all</button>
   1.379 +
   1.380 +When you want to use links, write:
   1.381 +
   1.382 +<verbatim>
   1.383 +#VarTOGGLE
   1.384 +
   1.385 +<a href="#TOGGLE" class="twistyExpandAll">Expand all</a> &nbsp; 
   1.386 +<a href="#TOGGLE" class="twistyCollapseAll">Collapse all</a>
   1.387 +</verbatim>
   1.388 +
   1.389 +
   1.390 +#VarTOGGLE
   1.391 +
   1.392 +<a href="#TOGGLE" class="twistyExpandAll">Expand all</a> &nbsp; 
   1.393 +<a href="#TOGGLE" class="twistyCollapseAll">Collapse all</a>
   1.394 +
   1.395 +
   1.396 +---++ Special syntax: format tokens
   1.397 +If you use TWiki variables inside TWISTY parameters chances are it will mess up the variable, or the rendered html. Use format tokens to 'delay' rendering of these variables until the Twisty parameters are parsed.
   1.398 +
   1.399 +The format tokens are the same as with %TWIKIWEB%.FormattedSearch:
   1.400 +
   1.401 +| *Escape:* | *Expands To:* |
   1.402 +| =$n= or =$n()= | New line. Use =$n()= if followed by alphanumeric character, e.g. write =Foo$n()Bar= instead of =Foo$nBar= |
   1.403 +| =$nop= or =$nop()= | Is a "no operation". |
   1.404 +| =$quot= | Double quote (="=) |
   1.405 +| =$percnt= | Percent sign (=%=) |
   1.406 +| =$dollar= | Dollar sign (=$=) |
   1.407 +
   1.408 +
   1.409 +For example, to show an icon inside the link, do not write:
   1.410 +<verbatim>
   1.411 +link="%Y%"
   1.412 +</verbatim>
   1.413 +
   1.414 +but use format tokens:
   1.415 +
   1.416 +<verbatim>
   1.417 +link="$percntY$percnt"
   1.418 +</verbatim>
   1.419 +
   1.420 +... to get:
   1.421 +
   1.422 +%TWISTY{
   1.423 +mode="div"
   1.424 +link="$percntY$percnt"
   1.425 +showimgleft="%ICONURLPATH{toggleopen-small}%"
   1.426 +hideimgleft="%ICONURLPATH{toggleclose-small}%"
   1.427 +}%
   1.428 +my twisty content
   1.429 +%ENDTWISTY%
   1.430 +
   1.431 +Or a more complex example using %TWIKIWEB%.SpreadsheetPlugin; do not write:
   1.432 +
   1.433 +<verbatim>
   1.434 +link="Count: (%CALC{"$GET(infoCount)"}%)"
   1.435 +</verbatim>
   1.436 +
   1.437 +but use format tokens:
   1.438 +
   1.439 +<verbatim>
   1.440 +link="Count: ($percntCALC{$quot$dollarGET(infoCount)$quot}$percnt)"
   1.441 +</verbatim>
   1.442 +
   1.443 +
   1.444 +---++ Syntax
   1.445 +
   1.446 +#VarTWISTY
   1.447 +---+++ TWISTY
   1.448 +This renders the button as well as the toggled content section contained within this and the closing ENDTWISTY tag. %BR%
   1.449 +Usage: =%<nop>TWISTY{ ... }% Toggable contents %<nop>ENDTWISTY%=
   1.450 +
   1.451 +    | *Parameter*    | *Value* | *Description* | *Remark* |
   1.452 +    | =id=           | Unique identifier | Used to link [[#VarTWISTYBUTTON][TWISTYBUTTON]] and [[#VarTWISTYTOGGLE][TWISTYTOGGLE]] | optional  |
   1.453 +    | =link=         | Link label | Link label for both show and hide links  | optional |
   1.454 +    | =hidelink=     | Link label | Hide link label  | optional |
   1.455 +    | =showlink=     | Link label | Show link label  | optional |
   1.456 +    | =mode=         | ="div"= or ="span"= | Specify if the Twisty Toggle section will use a =&lt;div&gt;= or a =&lt;span&gt;= tag.  | optional, defaults to =&lt;span&gt;= |
   1.457 +	| =showimgleft=  | Image url | Specify the url of an image that will be displayed with the show link at the left side of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.458 +	| =hideimgleft=  | Image url | Specify the url of an image that will be displayed with the hide link at the left side of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.459 +	| =showimgright= | Image url | Specify the url of an image that will be displayed with the show link at the right side of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.460 +	| =hideimgright= | Image url | Specify the url of an image that will be displayed with the hide link at the right side of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.461 +    | =remember=     | ="on"=, ="off"= | If ="on"=, the Twisty state is remembered the next time the page is shown. If ="off"=, the stored setting will be cleared.<br /> *Note:* when used, think carefully about a unique name (id) for the Twisty, otherwise the cookie that is set might affect other Twisties with the same name. Also note that only interaction is stored, not the state of the Twisty when left unclicked. | optional, no default |
   1.462 +    | =start=        | ="hide"= or ="show"= | Initial state of the Twisty; this will override any setting stored in a cookie (see =remember=).  | optional, default no initial state |
   1.463 +    | =firststart=   | ="hide"= or ="show"= | Initial state of the Twisty the first time the visitor gets to see the Twisty; this will NOT override cookie settings (see =remember=).  | optional, default no initial state |
   1.464 +    | =noscript=     | ="hide"= | Make content hidden in case use does not have !JavaScript on | optional, default content is shown in case !JavaScript if off |
   1.465 +    | =class=        | CSS class name | Class for Twisty div or span | optional, default none |
   1.466 +    | =prefix=       | Text      | Text to display before the show/hide links | optional, default none |
   1.467 +    | =suffix=       | Text      | Text to display after the show/hide links | optional, default none |
   1.468 +    | =img=          | Image url | %GREEN%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.469 +    | =imgleft=      | Image url | %GREEN%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.470 +    | =imgright=     | Image url | %GREEN%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.471 +    | =hideimg=      | Image url | %GREEN%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.472 +    | =showimg=      | Image url | %GREEN%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.473 +   * Related [[#VarTWISTYSHOW][TWISTYBUTTON]] and [[#VarTWISTYTOGGLE][TWISTYTOGGLE]]
   1.474 +
   1.475 +#VarENDTWISTY
   1.476 +---+++ ENDTWISTY
   1.477 +*Twisty closure, complements the opening TWISTY tag.*
   1.478 +   * Syntax: =%<nop>ENDTWISTY%=
   1.479 +
   1.480 +See [[#VarENDTWISTYTOGGLE][ENDTWISTYTOGGLE]].
   1.481 +
   1.482 +---++ Twisty components syntax
   1.483 +
   1.484 +<div style="background-color:#eee; padding:.5em; margin:-.5em;">
   1.485 +
   1.486 +Ocassionally you might need to create a custom set of individual Twisty components:
   1.487 +
   1.488 +#VarTWISTYBUTTON
   1.489 +---+++ TWISTYBUTTON
   1.490 +*Shorthand version for TWISTYSHOW &amp; TWISTYHIDE*
   1.491 +This is useful if both the show and the hide button take the same arguments.
   1.492 +   * Supported parameters: all parameters supported by [[#VarTWISTYSHOW][TWISTY]], except for =noscript= and =class= (only used for 'toggle' content)
   1.493 +   * Parameter differences:
   1.494 +      * =mode=: button mode defaults to span
   1.495 +   * Syntax: =%<nop>TWISTYBUTTON{id="myid" ... }%=
   1.496 +   * Supported parameters:
   1.497 +    | *Parameter* | *Value* | *Description* | *Remark* |
   1.498 +    | =mode= | ="div"= or ="span"= | Specify if the *Twisty button* will use a =&lt;div&gt;= or a =&lt;span&gt;= tag  | optional, defaults to =&lt;span&gt;= |
   1.499 +   * Related: [[#VarTWISTYSHOW][TWISTYSHOW]] and [[#VarTWISTYHIDE][TWISTYHIDE]]
   1.500 +
   1.501 +#VarTWISTYSHOW
   1.502 +---+++ TWISTYSHOW
   1.503 +*Show/open link*
   1.504 +   * Syntax: =%<nop>TWISTYSHOW{id="myid" ... }%=
   1.505 +   * Supported parameters:
   1.506 +    | *Parameter* | *Value* | *Description* | *Remark* |
   1.507 +    | =id= | Unique identifier | Used to link [[#VarTWISTYSHOW][TWISTYSHOW]], [[#VarTWISTYHIDE ][TWISTYHIDE ]] and [[#VarTWISTYTOGGLE][TWISTYTOGGLE]] | required  |
   1.508 +    | =link= | Link label | Show link label  | optional |
   1.509 +    | =mode= | ="div"= or ="span"= | Specify if the Twisty Show link will use a =&lt;div&gt;= or a =&lt;span&gt;= tag  | optional, defaults to =&lt;span&gt;= |
   1.510 +    | =img= | Image url | Specify the url of an image that will be displayed at the *right side* of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.511 +    | =imgleft=| Image url | Specify the url of an image that will be displayed at the left side of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.512 +    | =imgright= | Image url | Specify the url of an image that will be displayed at the right side of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.513 +    | =remember= | ="on"=, ="off"= | If ="on"=, the Twisty state is remembered the next time the page is shown. If ="off"=, the stored setting will be cleared.<br /> *Note:* when used, think carefully about a unique name (id) for the Twisty, otherwise the cookie that is set might affect other Twisties with the same name. Also note that only interaction is stored, not the state of the Twisty when left unclicked. | optional, no default |
   1.514 +    | =start= | ="hide"= or ="show"= | Initial state of the Twisty; this will override any setting stored in a cookie (see =remember=).  | optional, default no initial state |
   1.515 +    | =firststart= | ="hide"= or ="show"= | Initial state of the Twisty the first time the visitor gets to see the Twisty; this will NOT override cookie settings (see =remember=).  | optional, default no initial state |
   1.516 +   * Example: =%<nop>TWISTYSHOW{id="demo" link=" Click to Unfold " imgleft="%<nop>ICONURLPATH{toggleopen}%"}%=
   1.517 +   * Related: [[#VarTWISTYHIDE][TWISTYHIDE]] and [[#VarTWISTYTOGGLE][TWISTYTOGGLE]]
   1.518 +
   1.519 +#VarTWISTYHIDE
   1.520 +---+++ TWISTYHIDE
   1.521 +*Hide/close link*
   1.522 +   * Syntax: =%<nop>TWISTYHIDE{id="myid" ... }%=
   1.523 +   * Supported parameters:
   1.524 +    | *Parameter* | *Value* | *Description* | *Remark* |
   1.525 +    | =id= | Unique identifier | Used to link [[#VarTWISTYSHOW][TWISTYSHOW]], [[#VarTWISTYHIDE ][TWISTYHIDE ]] and [[#VarTWISTYTOGGLE][TWISTYTOGGLE]] | required  |
   1.526 +    | =link= | Link label | Hide link label | optional |
   1.527 +    | =mode= | ="div"= or ="span"= | Specify if the Twisty Hide link will use a =&lt;div&gt;= or a =&lt;span&gt;= tag  | optional, defaults to =&lt;span&gt;= |
   1.528 +    | =img= | Image url | Specify the url of an image that will be displayed at the *right side* of the link. <br />You may use [[%TWIKIWEB%.TWikiVariables#VarICONURLPATH][ICONURLPATH]] to display one of the %TWIKIWEB%.TWikiDocGraphics icons. Alternatively use an image attached to the topic. | optional, defaults to no image |
   1.529 +    | =remember= | ="on"=, ="off"= | If ="on"=, the Twisty state is remembered the next time the page is shown. If ="off"=, the stored setting will be cleared.<br /> *Note:* when used, think carefully about a unique name (id) for the Twisty, otherwise the cookie that is set might affect other Twisties with the same name. Also note that only interaction is stored, not the state of the Twisty when left unclicked. | optional, no default |
   1.530 +    | =start= | ="hide"= or ="show"= | Initial state of the Twisty; this will override any setting stored in a cookie (see =remember=).  | optional, default no initial state |
   1.531 +    | =firststart= | ="hide"= or ="show"= | Initial state of the Twisty the first time the visitor gets to see the Twisty; this will NOT override cookie settings (see =remember=).  | optional, default no initial state |
   1.532 +   * Example: =%<nop>TWISTYHIDE{id="demo" link=" Click to Fold " imgleft="%<nop>ICONURLPATH{toggleclose}%"}%=
   1.533 +   * Related: [[#VarTWISTYSHOW][TWISTYSHOW]] and [[#VarTWISTYTOGGLE][TWISTYTOGGLE]]
   1.534 +
   1.535 +#VarTWISTYTOGGLE
   1.536 +---+++ TWISTYTOGGLE
   1.537 +*Twisty Toggle contents section*
   1.538 +   * Syntax: =%<nop>TWISTYTOGGLE{id="myid"}%=
   1.539 +   * Supported parameters:
   1.540 +    | *Parameter* | *Value* | *Description* | *Remark* |
   1.541 +    | =id= | Unique identifier | Used to link [[#VarTWISTYSHOW][TWISTYSHOW]], [[#VarTWISTYHIDE ][TWISTYHIDE ]] and [[#VarTWISTYTOGGLE][TWISTYTOGGLE]].  | required  |
   1.542 +    | =mode= | ="div"= or ="span"= | Specify if the Twisty Toggle section will use a =&lt;div&gt;= or a =&lt;span&gt;= tag.  | optional, defaults to =&lt;span&gt;= |
   1.543 +    | =class= | CSS class name | Class for content div or span | optional, default none |
   1.544 +    | =remember= | ="on"=, ="off"= | If ="on"=, the Twisty state is remembered the next time the page is shown. If ="off"=, the stored setting will be cleared.<br /> *Note:* when used, think carefully about a unique name (id) for the Twisty, otherwise the cookie that is set might affect other Twisties with the same name. Also note that only interaction is stored, not the state of the Twisty when left unclicked. | optional, no default |
   1.545 +    | =start= | ="hide"= or ="show"= | Initial state of the Twisty; this will override any setting stored in a cookie (see =remember=).  | optional, default no initial state |
   1.546 +    | =firststart= | ="hide"= or ="show"= | Initial state of the Twisty the first time the visitor gets to see the Twisty; this will NOT override cookie settings (see =remember=).  | optional, default no initial state |
   1.547 +    | =noscript= | ="hide"= | Make content hidden in case use does not have !JavaScript on | optional, default content is shown with no !JavaScript |
   1.548 +   * Example: =%<nop>TWISTYTOGGLE{id="demo" mode="div" remember="on"}%My content%<nop>ENDTWISTYTOGGLE%=
   1.549 +   * Related: [[#VarTWISTYHIDE][TWISTYHIDE]], [[#VarTWISTYHIDE][TWISTYHIDE]] an [[#VarENDTWISTYTOGGLE][ENDTWISTYTOGGLE]]
   1.550 +
   1.551 +#VarENDTWISTYTOGGLE
   1.552 +---+++ ENDTWISTYTOGGLE
   1.553 +*The Twisty closure*
   1.554 +   * Syntax: =%<nop>ENDTWISTYTOGGLE%=
   1.555 +      * Will end the most inner unclosed Twisty Toggle section, using the proper tag
   1.556 +   * Example: =%<nop>ENDTWISTYTOGGLE%=
   1.557 +   * Related: [[#VarTWISTYTOGGLE][TWISTYTOGGLE]]
   1.558 +</div>
   1.559 +
   1.560 +---++ The Fine Print
   1.561 +
   1.562 +!TwistyPlugin is a convenience plugin for TWiki:Plugins.TwistyContrib.
   1.563 +
   1.564 +Major features are:
   1.565 +   * When active, the Twisty !JavaScript library is included in every topic
   1.566 +   * Provides a convenience syntax to define Twisty areas
   1.567 +   * Automatically generates ids
   1.568 +   * Automatically fills in default values
   1.569 +   * Global preference settings can be set in this topic or locally in individual topics
   1.570 +
   1.571 +#PluginSettings
   1.572 +---++ Plugin Settings
   1.573 +
   1.574 +Plugin settings are stored as preferences variables. To reference
   1.575 +a plugin setting write ==%<nop>&lt;plugin&gt;_&lt;setting&gt;%==, i.e. ==%<nop>TWISTYPLUGIN_SHORTDESCRIPTION%==
   1.576 +
   1.577 +   * Set TWISTYSHOWLINK = %MAKETEXT{"More..."}%
   1.578 +      * For example: =More...=
   1.579 +   * Set TWISTYHIDELINK = %MAKETEXT{"Close"}%
   1.580 +      * For example: =Close=
   1.581 +   * Set TWISTYMODE = 
   1.582 +      * Either =div= or =span=; =span= if nothing set
   1.583 +   * Set TWISTYREMEMBER = 
   1.584 +      * Either =on= or =off=; default is not specified. If set to =on= all Twisty states will be stored in a TWIKIPREF cookie; if set to =off= the TWIKIPREF cookie will be cleared
   1.585 +
   1.586 +   * Set SHORTDESCRIPTION = Twisty section !JavaScript library to open/close content dynamically
   1.587 +   * Set DEBUG = 0
   1.588 +   
   1.589 +---++ Plugin Installation Instructions
   1.590 +   * Download the ZIP file from the Plugin web (see below)
   1.591 +   * Unzip ==%TOPIC%.zip== in your root ($TWIKI_ROOT) directory. Content:
   1.592 +   | *File:* | *Description:* |
   1.593 +   | ==TwistyBundleTWiki04x02_installer== |  |
   1.594 +   | ==TwistyBundleTWiki04x02_installer.pl== |  |
   1.595 +   | ==data/TWiki/TwistyBundleTWiki04x02.txt== |  |
   1.596 +   | ==data/TWiki/BehaviourContrib.txt== |  |
   1.597 +   | ==data/TWiki/TwistyContrib.txt== |  |
   1.598 +   | ==data/TWiki/TwistyPlugin.txt== |  |
   1.599 +   | ==lib/TWiki/Contrib/BehaviourContrib.pm== |  |
   1.600 +   | ==lib/TWiki/Contrib/TwistyBundleTWiki04x02.pm== |  |
   1.601 +   | ==lib/TWiki/Contrib/TwistyContrib.pm== |  |
   1.602 +   | ==lib/TWiki/Plugins/TwistyPlugin.pm== |  |
   1.603 +   | ==pub/TWiki/BehaviourContrib/behaviour.compressed.js== |  |
   1.604 +   | ==pub/TWiki/BehaviourContrib/behaviour.compressed_src.js== |  |
   1.605 +   | ==pub/TWiki/BehaviourContrib/behaviour.js== |  |
   1.606 +   | ==pub/TWiki/BehaviourContrib/behaviour_src.js== |  |
   1.607 +   | ==pub/TWiki/BehaviourContrib/cssQuery/cssQuery-p.js== |  |
   1.608 +   | ==pub/TWiki/BehaviourContrib/cssQuery/src/cssQuery-level2.js== |  |
   1.609 +   | ==pub/TWiki/BehaviourContrib/cssQuery/src/cssQuery-level3.js== |  |
   1.610 +   | ==pub/TWiki/BehaviourContrib/cssQuery/src/cssQuery-standard.js== |  |
   1.611 +   | ==pub/TWiki/BehaviourContrib/cssQuery/src/cssQuery.js== |  |
   1.612 +   | ==pub/TWiki/BehaviourContrib/cssQuery/src/test.html== |  |
   1.613 +   | ==pub/TWiki/BehaviourContrib/cssQuery/test.html== |  |
   1.614 +   | ==pub/TWiki/TwistyContrib/twist.compressed.js== |  |
   1.615 +   | ==pub/TWiki/TwistyContrib/twist.compressed_src.js== |  |
   1.616 +   | ==pub/TWiki/TwistyContrib/twist.css== |  |
   1.617 +   | ==pub/TWiki/TwistyContrib/twist.js== |  |
   1.618 +   | ==pub/TWiki/TwistyContrib/twist_src.js== |  |
   1.619 +
   1.620 +   * Optionally, if it exists, run ==%TOPIC%_installer== to automatically check and install other TWiki modules that this module depends on. You can also do this step manually.
   1.621 +   * Alternatively, manually make sure the dependencies listed in the table below are resolved.
   1.622 +   None
   1.623 +   * Visit =configure= in your TWiki installation, and enable the plugin in the {Plugins} section.
   1.624 +
   1.625 +
   1.626 +---++ Plugin Info
   1.627 +
   1.628 +| Authors: | TWiki:Main.RafaelAlvarez, TWiki:Main.ArthurClemens |
   1.629 +| Copyright &copy;: | 2005 Rafael Alvarez; 2006, 2007 Arthur Clemens |
   1.630 +| License: | [[http://www.gnu.org/copyleft/gpl.html][GPL]] |
   1.631 +| Dependencies: | None |
   1.632 +| Plugin&nbsp;Version: | 24 Nov 2007 (version 1.4.8)  |
   1.633 +| Change&nbsp;History: | <!-- versions below in reverse order -->&nbsp; |
   1.634 +| 24 Nov 2007 | 1.4.6 - 1.4.8 Arthur Clemens - Added format tokens. |
   1.635 +| 07 Oct 2007 | 1.4.5 Arthur Clemens - Fix html tag with show/hide controls. |
   1.636 +| 25 Sep 2007 | 1.4.4 Arthur Clemens - Fix rendering of headers when =prefix= is used. |
   1.637 +| 11 Jul 2007 | 1.4.3 Arthur Clemens - Fix invalid html when =prefix= and =suffix= is used. |
   1.638 +| 23 Jun 2007 | 1.4.2 Arthur Clemens - Fixed bugs with parameters =firststart= and =noscript= (since version 1.4). |
   1.639 +| 20 Jun 2007 | 1.4 Arthur Clemens - Updated to work without ugly inserted javascript 'init' calls. This will change nothing to the functionality, but it will produce cleaner HTML, while at the same time the twisty is still set immediately (not at page onload) and graceful fallback in case of no javascript is maintained. |
   1.640 +| 19 Jun 2006 | 1.3 Arthur Clemens - Updated with TWiki 4 !JavaScript files. |
   1.641 +| 25 Oct 2006 | 1.2 New variables to set default values: =TWISTYSHOWLINK=, =TWISTYHIDELINK=, =TWISTYMODE=, =TWISTYREMEMBER=; property =id= is no longer required as this is automatically set (still recommended in some cases with =remember="on"=); property value =remember="off"= will clear a previously stored cookie; new properties =prefix= and =suffix=; !JavaScript to collapse or expand all Twisties on the page.  |
   1.642 +| 27 Sep 2006 | 1.101 Fixes !JavaScript handling when !AllowInlineScript in configure is not set |
   1.643 +| 11 June 2006 | 1.100 Added parameters =start=, =firststart=, =noscript= and =class=; complete !JavaScript rewrite for speed |
   1.644 +| 12 Sep 2005 | 1.000 First Version |
   1.645 +| Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
   1.646 +| Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |
   1.647 +| Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Appraisal |
   1.648 +@
   1.649 +
   1.650 +
   1.651 +1.1
   1.652 +log
   1.653 +@buildrelease
   1.654 +@
   1.655 +text
   1.656 +@d1 1
   1.657 +a1 1
   1.658 +%META:TOPICINFO{author="TWikiContributor" date="1130850299" format="1.1" version="1"}%
   1.659 +d15 1
   1.660 +a15 10
   1.661 +Twisty has a fallback mechanism in case !JavaScript is not available: all content is displayed and the control buttons are hidden. Unless parameter =noscript="hide"= is used to specifically set the content to hide.
   1.662 +
   1.663 +<div class="twikiHelp">
   1.664 +*What's new in version 1.2:*
   1.665 +   * New variables to set default values: =TWISTYSHOWLINK=, =TWISTYHIDELINK=, =TWISTYMODE=, =TWISTYREMEMBER= 
   1.666 +   * Property =id= is no longer required as this is automatically set (still recommended in some cases with =remember="on"=)
   1.667 +   * Property value =remember="off"= will clear a previously stored setting
   1.668 +   * New properties =prefix= and =suffix=
   1.669 +   * !JavaScript to collapse or expand all Twisties on the page
   1.670 +</div>
   1.671 +d34 1
   1.672 +a34 3
   1.673 +
   1.674 +
   1.675 +---+++ Working Twisty
   1.676 +d39 1
   1.677 +a39 1
   1.678 +%TWISTY{showlink="Show..." hidelink="Hide"}%
   1.679 +d44 1
   1.680 +a44 1
   1.681 +It will look like this:
   1.682 +d46 2
   1.683 +a47 2
   1.684 +%TWISTY{showlink="Show..." hidelink="Hide"}%
   1.685 +my twisty content
   1.686 +d50 1
   1.687 +d54 1
   1.688 +a54 1
   1.689 +We will use =mode="div"= to put the collapsing content below the button.
   1.690 +d57 7
   1.691 +a63 3
   1.692 +%TWISTY{mode="div" showlink="Show..." hidelink="Hide"
   1.693 +showimgleft="%ICONURLPATH{toggleopen-small}%" 
   1.694 +hideimgleft="%ICONURLPATH{toggleclose-small}%"}%
   1.695 +d70 8
   1.696 +a77 4
   1.697 +%TWISTY{mode="div" showlink="Show..." hidelink="Hide"
   1.698 +showimgleft="%ICONURLPATH{toggleopen-small}%" 
   1.699 +hideimgleft="%ICONURLPATH{toggleclose-small}%"}%
   1.700 +my twisty content
   1.701 +d82 7
   1.702 +a88 3
   1.703 +%TWISTY{mode="div" showlink="Show&nbsp;" hidelink="Hide&nbsp;"
   1.704 +showimgright="%ICONURLPATH{toggleopen-small}%" 
   1.705 +hideimgright="%ICONURLPATH{toggleclose-small}%"}%
   1.706 +d93 8
   1.707 +a100 4
   1.708 +%TWISTY{mode="div" showlink="Show&nbsp;" hidelink="Hide&nbsp;"
   1.709 +showimgright="%ICONURLPATH{toggleopen-small}%" 
   1.710 +hideimgright="%ICONURLPATH{toggleclose-small}%"}%
   1.711 +my twisty content
   1.712 +d110 5
   1.713 +a114 1
   1.714 +%TWISTY{showlink="Show..." hidelink="Hide" remember="on"}%
   1.715 +d119 6
   1.716 +a124 2
   1.717 +%TWISTY{showlink="Show..." hidelink="Hide" remember="on"}%
   1.718 +my twisty content
   1.719 +d130 5
   1.720 +a134 1
   1.721 +%TWISTY{showlink="Show..." hidelink="Hide" remember="off"}%
   1.722 +d139 6
   1.723 +a144 2
   1.724 +%TWISTY{showlink="Show..." hidelink="Hide" remember="off"}%
   1.725 +my twisty content
   1.726 +d150 6
   1.727 +a155 1
   1.728 +%TWISTY{id="currentCustomerList" showlink="Show..." hidelink="Hide" remember="on"}%
   1.729 +d160 5
   1.730 +d171 5
   1.731 +a175 1
   1.732 +%TWISTY{showlink="Show..." hidelink="Hide" start="show"}%
   1.733 +d180 6
   1.734 +a185 2
   1.735 +%TWISTY{showlink="Show..." hidelink="Hide" start="show"}%
   1.736 +my twisty content
   1.737 +d191 5
   1.738 +a195 1
   1.739 +%TWISTY{showlink="Show..." hidelink="Hide" start="hide"}%
   1.740 +d200 6
   1.741 +a205 2
   1.742 +%TWISTY{showlink="Show..." hidelink="Hide" start="hide"}%
   1.743 +my twisty content
   1.744 +d215 5
   1.745 +a219 1
   1.746 +%TWISTY{showlink="Show..." hidelink="Hide" firststart="show"}%
   1.747 +d224 6
   1.748 +a229 2
   1.749 +%TWISTY{showlink="Show..." hidelink="Hide" firststart="show"}%
   1.750 +my twisty content
   1.751 +d234 1
   1.752 +d240 5
   1.753 +a244 1
   1.754 +%TWISTY{link="" noscript="hide" start="show"}%
   1.755 +d249 5
   1.756 +a253 1
   1.757 +%TWISTY{link="" noscript="hide" start="show"}%
   1.758 +d264 5
   1.759 +a268 2
   1.760 +%TWISTY{link="" start="show"}%
   1.761 +<input type="submit" class="twikiButton" value="You surely have !JavaScript" />
   1.762 +d272 5
   1.763 +a276 2
   1.764 +%TWISTY{link="" start="show"}%
   1.765 +<input type="submit" class="twikiButton" value="You surely have !JavaScript" />
   1.766 +d285 6
   1.767 +a290 1
   1.768 +%TWISTY{mode="div" showlink="Show..." hidelink="Hide" class="twikiHelp"}%
   1.769 +d296 7
   1.770 +a302 2
   1.771 +%TWISTY{mode="div" showlink="Show..." hidelink="Hide" class="twikiHelp"}%
   1.772 +my twisty content
   1.773 +d310 4
   1.774 +a313 1
   1.775 +%TWISTY{prefix="<h4>!!" link="Header"
   1.776 +d315 3
   1.777 +a317 1
   1.778 +hideimgleft="%ICONURLPATH{toggleclose}%" suffix="</h4>"}%
   1.779 +d322 2
   1.780 +d326 3
   1.781 +a328 1
   1.782 +%TWISTY{prefix="<h4>!!" link="Header"
   1.783 +d330 4
   1.784 +a333 2
   1.785 +hideimgleft="%ICONURLPATH{toggleclose}%" suffix="</h4>"}%
   1.786 +my twisty content
   1.787 +d341 1
   1.788 +a341 2
   1.789 +<button class="twistyExpandAll twikiButton">Expand all</button> 
   1.790 +<button class="twistyCollapseAll twikiButton">Collapse all</button>
   1.791 +d346 1
   1.792 +a346 1
   1.793 +<button class="twistyExpandAll twikiButton">Expand all</button> 
   1.794 +d354 1
   1.795 +a354 1
   1.796 +<a href="#TOGGLE" class="twistyExpandAll">Expand all</a> 
   1.797 +d361 1
   1.798 +a361 1
   1.799 +<a href="#TOGGLE" class="twistyExpandAll">Expand all</a> 
   1.800 +d365 47
   1.801 +d437 5
   1.802 +a441 5
   1.803 +    | =img=          | Image url | %RED%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.804 +    | =imgleft=      | Image url | %RED%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.805 +    | =imgright=     | Image url | %RED%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.806 +    | =hideimg=      | Image url | %RED%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.807 +    | =showimg=      | Image url | %RED%Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright.%ENDCOLOR% | optional, defaults to no image |
   1.808 +d540 1
   1.809 +d562 5
   1.810 +d568 3
   1.811 +d572 16
   1.812 +d591 1
   1.813 +a591 1
   1.814 +   <table border="1"><tr><th>Name</th><th>Version</th><th>Description</th></tr><tr><td align="left">TWiki::Contrib::TwistyContrib</td><td align="left">&gt;=1.200</td><td align="left">Required. Twisty javascript library</td></tr></table>
   1.815 +d598 1
   1.816 +a598 1
   1.817 +| Copyright &copy;: | 2005 Rafael Alvarez, 2006 Arthur Clemens |
   1.818 +d600 10
   1.819 +a609 1
   1.820 +| Dependencies: | <table border="1"><tr><th>Name</th><th>Version</th><th>Description</th></tr><tr><td align="left">TWiki::Contrib::TwistyContrib</td><td align="left">&gt;=1.200</td><td align="left">Required. Twisty javascript library</td></tr></table> |
   1.821 +@