DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:togglewrap

This is an old revision of the document!


togglewrap Plugin

Compatible with DokuWiki

Hrun

plugin Show/hide wraps with checkboxes

Last updated on
2014-12-07
Provides
Syntax
Repository
Source
Requires
wrap

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

Tagged with hide, spoiler, wrap

Installation

:!: External requirements: This plugin requires the following additional components that must be installed separately:

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

{{togglewrap>wrapname&checked|laber 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

Known Bugs and Issues

plugin/togglewrap.1417963115.txt.gz · Last modified: 2014-12-07 15:38 by 78.199.134.89

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki