Forum:Spoiler boxes

Hi im trying to create a spoiler box/template for a wiki i found the following code

 Spoiler:  test test   Can this be transform to work on wikis? or what modifications will be required to Help:Dynamic navigation so the same effect is achieve? --Cizagna (Talk) 13:00, 15 December 2008 (UTC)


 * Assuming you use the dynamic navigation code, I think you may only need to add class="collapsible" to the table or div, and it'll still do the hiding (e.g. see the last example on the help page). 14:56, 15 December 2008 (UTC)


 * But by doing that, you're forced to click on the "Hide" or "Show" buttons (what im trying to avoid). Compare to the code in the pre tag displaying that does not display a hide and show button, you just click on it --Cizagna (Talk) 16:42, 15 December 2008 (UTC)