FANDOM


Forums: Index Help desk Category Tree... making collapsed default


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=0 if 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: {{#categorytree:Templates|depth=0}} resulting in
Hope this helps! ダイノガイ千?!? · Talk⇒Dinoguy1000 19:39, May 6, 2011 (UTC)
Perfect! Thank you!

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.