plugin:togglewrap
Table of Contents
togglewrap Plugin
Compatible with DokuWiki
Hrun
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to hidden, hide, sectiontoggle, spoiler
Installation
External requirements: This plugin requires the following additional components that must be installed separately:
Search and install the plugin using the 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}} <WRAP wrapname> This wrap is visible when checkbox is checked and is not visible when checkbox is unchecked. </WRAP> <WRAP not_wrapname> This wrap is not visible when checkbox is checked and is visible when checkbox is unchecked. </WRAP>
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
<wrap wrapname>...</wrap> <WRAP wrapname>...</WRAP>
- is visible when checkbox wrapname is checked
<wrap not_wrapname>...</wrap> <WRAP not_wrapname>...</WRAP>
- is visible when checkbox wrapname is unchecked
Change Log
- Fix section with upper case (2014-12-07 14:55)
- increase version (2014-12-07 14:01)
- FS#135 - hide link in TOC (2014-12-07 13:58)
- Close FS#134 - many togglewrap for one wrap name (2014-12-06 16:57)
- Initial commit (2014-10-11 22:50)
Known Bugs and Issues
plugin/togglewrap.txt · Last modified: 2018-06-06 00:11 by Klap-in