I am working with the categorytree and would like the natural state to be collapsed with the [+] next to it if the user wishes to open it. I can not figure out how to do it... Any help?
FireStarr 15:27, May 6, 2011 (UTC)
- Looking at the documentation, it looks like adding
depth=0if you're using the tag syntax will do what you're looking for. For example,
<categorytree depth=0>Templates</categorytree>results in
- If you're using the parserfunction, the syntax is largely the same:
Community content is available under CC-BY-SA unless otherwise noted.