]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/toggle.mdwn
rename uuid to guid
[git.ikiwiki.info.git] / doc / plugins / toggle.mdwn
index b59004e6e578431cb751dce10f6d52bda4d7c3c2..b33575824e88f083bbec295b6b939f780c63cd14 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=toggle included=1 author="[[Joey]]"]]
+[[template id=plugin name=toggle author="[[Joey]]"]]
 [[tag type/chrome]]
 
 With this plugin you can create links on pages that, when clicked, toggle
 [[tag type/chrome]]
 
 With this plugin you can create links on pages that, when clicked, toggle
@@ -20,8 +20,6 @@ Example use:
        [[toggle id="ipsum" text="hide"]]
        """]]
 
        [[toggle id="ipsum" text="hide"]]
        """]]
 
-Clicking on "more" will toggle the display of the togglable text.
-
 Note that you can include wiki markup in the toggleable text,
 including even additional toggles, as shown in the above example.
 
 Note that you can include wiki markup in the toggleable text,
 including even additional toggles, as shown in the above example.
 
@@ -30,3 +28,6 @@ each other, but can be located anywhere on the page. There can also be
 mutiple toggles that all toggle a single togglable.
 
 The id has a default value of "default", so can be omitted in simple cases.
 mutiple toggles that all toggle a single togglable.
 
 The id has a default value of "default", so can be omitted in simple cases.
+
+If you'd like a toggleable to be displayed by default, and toggle to
+hidden, then pass a parameter "open=true" when setting up the toggleable.