====== togglewrap Plugin ====== ---- plugin ---- description: Show/hide wraps with checkboxes author : Jonas Fourquier email : jonas@myhtvtv-fr.org type : syntax lastupdate : 2014-12-07 compatible : Hrun depends : wrap conflicts : similar : hide, hidden, spoiler, sectiontoggle tags : hide, wrap, spoiler downloadurl: https://gitlab.com/snouf/doku-togglewrap/repository/archive.zip?ref=master bugtracker : http://jonas.tuxfamily.org/bugs/index.php?project=7 sourcerepo : https://gitlab.com/snouf/doku-togglewrap/tree/master donationurl: screenshot_img : ---- ===== Installation ===== :!: **External requirements:** This plugin requires the following additional components that must be installed separately: * [[wrap]] Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. :!: **seems the plugin __don't save the checked-state__ after reloading the page it's default again:** ===== Examples/Usage ===== {{togglewrap>wrapname&checked|label for checkbox}} This wrap is visible when checkbox is checked and is not visible when checkbox is unchecked. This wrap is not visible when checkbox is checked and is visible when checkbox is unchecked. See the plugin in action http://jonas.tuxfamily.org/wiki/playground/playground/togglewrap, http://mythtv-fr.org/wiki/mythtv-setup. ===== Syntax ===== Syntax for a checkbox: {{togglewrap>wrapname[&checked][|label])}} * ** wrapname** the name of WRAP or wrap. * **checked** (optionnal) is checked by default * **label** (optonnal) the label of checkbox Syntax for [[wrap]] ... ... * is visible when checkbox **wrapname** is checked ... ... * is visible when checkbox **wrapname** is unchecked === Change Log === {{rss>https://gitlab.com/snouf/doku-togglewrap/commits/master?format=atom date}} === Known Bugs and Issues === {{rss>http://jonas.tuxfamily.org/bugs/feed.php?feed_type=rss2&project=7}}