Template:Toggleall/doc

Description
A template that puts a button toggling all collapsible tables on the page. It utilizes custom js, which doesn't work on mobile, so it has the Notice template type to be hidden on mobile.

Note toggle; meaning it doesn't collapse all open tables or uncollapse all closed tables. Specifically any closed tables will be opened and vice versa, because the creator of the template is too stupid to make the code do it the other way.

Syntax
Type toggleall somewhere.

Sample Output

 * Example
 * Example
 * }
 * }


 * Example
 * Example
 * }
 * }


 * Example
 * Example
 * }
 * }


 * Example
 * Example
 * }
 * }

TemplateData
{	"params": {}, "description": "Puts a button that toggles the collapsible toggles on all tables on the page.", "format": "inline" }